ÿØÿà JFIF    ÿÛ „  ( %!1"%)+...383-7(-.+  -%%--------+------------/----------------------------ÿÀ  ¶" ÿÄ     ÿÄ @    !1AQaq‘¡"±ÁÑð2’BRráS‚ñ3b¢CT²Ò #cÿÄ    ÿÄ '   1!AQ2a"‘±#ÿÚ   ? ò(/p‘—–¢·,M|¯G»R£üešT. ôŸEoCFñ‡ 4ÔkåóxR|µÁ¨ÓDà!Ç´µ˜‡p ÍQ‹§!þž^õWsŒy  åÁ§$á«%ºq˜™JyyË0y«^Ϗ -3ÃÏËÈ£Æ\P’ä„s&•‹Üs üô'àWt¹pñCp$bÚF`·7.^)¾!)ÒÙ˜–ÅÏš^h¾ø³·ìe±ŒaeÖ—Í,e=B}Jéߦ$$½—šÙÜCC¯¶è8β–Åkèwx LÉngT±æ¹£Ócœ¿Í/©Éÿ ‰ÚCÒ­mq;Tt¶–}0"zÖPcd1š­¤tˆ„ÐÓâqú[™öUCŠ2޿د­É(¸ßúçšmW,Ò ºf‹Ån™ÄLêÁ8üÁkÁ€L¥ÍuJ1œôrÂSŒÓöt!7EUíïb)AËi¬â-ÙHk8òÁiXYwÅ)O^"ÇØriÛô{»wRUKÙÏÚlÓ¬€‚’שT ] ªb—ÊîKC^×M“xùäñz¬zJ× {4[¹M'IÆeH1LCWÕ]œûº WDæà°OÅ‚¹c²ÞuA–rL`HšpCez‡V’— Ž‚Ë„–ñ­'µR0ÕÖ=À:±G»C\nÆÉ5*¢ †3šhQ4ýÒi$Õ1"Ü]¢p-q3zcQ$ªö¨¥æf›‘»´ÝÚHá„e²JÇ–iÊ:·à¬Øc5Åk»Laª*wi [0Ówk ¦a¦0Õ²ÅÅ‚T¸’³q:Æ<¹ú Ò˜Æ}2VE•Ѐp¡Ô3Úº …h³^LJºçì¥Ánó|˜ÖˆÎˆ+« ¦dø‘Mº–d\ªDðÛ„Ì×LÝ——Ð9Ç|•FèçVm™¨€™3õS–9Äå¢<̉Ìm¢±`·º˜&Z²ž Ë®D«¶»6™‰©­HÈ Àá«h­i³04æ’hxœi3ï¨(ÓL·†‹¶ËpŒ ƒÜÒ? :õdsÀ –3æÓ·Üjâ¬9—]8n¼&]I F£¼…ì–—Œ0v°LǐÅfÛ2TÖ’aµ˜N@ÖBSÏ^à´4-±°b×nÈÈœÆD=KdŒø…ÄÈK,›ÖR§fjü$^ÔÎ!„6^ s:Üun\ôkCÞò÷<—Lúl Í›G¹ÀPá¼Nc¡šÒ…ÙWͳœ±vÊáЄ×9‹P‰cEØ‘™›µŸP<×g1 º©Ø¬wiÁ^l5× I/';Ë+´Z‡ÓÄFÕp[Èð’ HÄ ó 9¬Dl4“é±Ï”V=^Hð;žLädÉa‚°Ë,#/Ž~²BÔÛ QãñQtIeórVB,ÏÂf‹4#Μc‹É3ZIÖ Œ¢¥·üxa‡Ãçè„jŠ[5 Ä!U?,3žÎ×…ðdÓ÷háŠA‰ìÄ4÷ÃÜZÃE{‰®+W\ZÍE[‰»µk»MÝ­`¢©†˜ÃV‹-f¢¡†¢a«eŠ%«Y¨©q%jâd,Ôq`) ¤¦…šˆ ¦E>0Ùb²t–Ÿ  ÷jsςҒKÈcø(é›;k(’#ôŒQ ™C> õ³M9óºÆµ¤çâ;uÀ)5>RÔ¸fÓ~Ȧ—’-$fe«"FâUˆÊwµPÏu w+"åÉó¨6s™Û9(À¨ù©hE°½†n`m~“@©›p!Vkhµ Á1šbEqqÊ@ºèl›2 –Yã%‘‚hÛ{a¶‡ÅÞM²¬çL34®Çl]®‹ŽØŒm'RÜe35æöˆ­Á­ cP9šeÁköo´L³Ì=p8]”‡B¶,šº|ɏdzXˆØk*ÇÚ{#ñ‰pã(€¶‡9ý'šÜ³½¯kƒ†Â’ëSOƒ•Å®H6+a¢µˆ‹Y¨b˜b+XˆÖ!°u!¢"µˆˆn2ˆ Å0Ä`Å Ô®c(ÓÜGº•Ä»Œ âWî%q.áÐÄ÷î%umÍ£+ÜQ,Vn¦-GphU¸¢X­&,Gt ·K¢ÅÅ·¥RÄÊÉbKn N­R2g$VµÕó Qr#–ÓZUÏð0ÎtÙÀœz ëöo“Îk¯n„T°"SÞ+³/…€½"ižãO%Í%&Δâ‘ËØ´IˆÓ°Ë‰ÞM3.™yçÁzit›`4C`k¢¼á!álÄï sÂ[×!¤l¾æo"ƒIÔ'@ªu)3›ô®“@Z à¾] üœ'‡4¸PÞkÁ-qÄH‰ÓÍBd´ÿ —¹°ÄA&ÊUC„öz‚‚RæŠtf¬>˜ÑidšEçÑL÷áý¡V±h§­c¿¥¨ƒ@g¼…Ýö^ÞËc.ž„æ“I[ ª+·zÐÒÚ,½Ð»¶€C›7jk$๖€Ž¾ÅÙpp¶ÍþéΤ ½ØÎŒq ñpæžÅ¥#Øâ49ÃÂK^MYV“,¶Éz_òæ:…;Õ«¦I3âJ£¤û5$7Èxün\â]Êe¯(Ÿ&Ž‹¶2<6Ćf× æ¢ƱqWı[(ÙÂŽç‚T7¨@ÈÉÍß‚ïÙ"&3TYlGށ†)†#5ŠA©^T2ÆÁ†)©†©†¤yGXÁ†©"†)©¼ÅV WS†#©]R–r‹q5ÕbâWþBh¯u+ªÅÄ×ü„nÑ^êkªÁj‰jeœWˆÕÕ`µDµ2Ì+Ä µDµµ5Ô{¤Þ0RF’H÷AÛ<ÊÁ§ ƈæ0Ñ£ê4 öÚµ[¬/1²€â<-¬šö²r×0o×w ´xÐÒË„ g01¬„åEM蛇Ã\6µE›‘fÙO k÷CºnÓ1`iîÒ² áÂ!ÑLÄÿ ³¬\õ*:M=Ç»c‹2[‰ØsÕLò\ŒK L^™üÄN\¶#» Ç\……ßïIœÉ$¸ÎñÍ®ÔHÇ Ûí/´>Li”„†g^$ 7NÍÑÑ2M2ªNg=k½Ð}Ÿl6‡ —JWˆ”ÞéT·+µ¦üÂFè¢Vs6ýÆ4»2+2IÝ9ô9®ÇGÙÇ1+Ä8;*Õ§ž½D*îÑWÚçá3Ma¤·ˆ¥t}š²Ü…Q+Æüµ8HíS”üxGéÁˆ¦Ël„éÈ 5 µÄƒ6äÜ(kIš¯S†fÖ&¸®×v|Äyˆ*禌Éù@7-®Ä[]ÎÖ¿ê`º…=:…žJVnݳvðÖKE¼‚ »mà ÷f®:Ë ™–4rð¡4` ܹçž~‹C=œ…¾Ïj|VDtK.ƒ"9 Ï ­–éXá³6WÒïIL-Ї Ç home/smkb8269/public_html/lms.smk-almanshuriyah.sch.id/mod/forum/deprecatedlib.php000064400000002511152267106350024076 0ustar00. /** * @package mod_forum * @copyright 2014 Andrew Robert Nicols * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); /** * This function prints the overview of a discussion in the forum listing. * It needs some discussion information and some post information, these * happen to be combined for efficiency in the $post parameter by the function * that calls this one: forum_print_latest_discussions() * * @deprecated since Moodle 4.3 */ function forum_print_discussion_header() { throw new \coding_exception('forum_print_discussion_header has been deprecated'); } home/smkb8269/public_html/lms.smk-almanshuriyah.sch.id/mod/data/deprecatedlib.php000064400000031234152267106730023665 0ustar00. /** * List of deprecated mod_data functions. * * @package mod_data * @copyright 2021 Jun Pataleta * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ /** * @deprecated since Moodle 4.1 MDL-75146 - please do not use this function any more. */ #[\core\attribute\deprecated( 'mod_data\manager::get_template and mod_data\template::parse_entries', since: '4.1', mdl: 'MDL-75146', final: true, )] function data_print_template(): void { \core\deprecation::emit_deprecation(__FUNCTION__); } /** * @deprecated since Moodle 4.1 MDL-75148 - please, use the preset::get_name_from_plugin() function instead. */ #[\core\attribute\deprecated('mod_data\preset::get_name_from_plugin()', since: '4.1', mdl: 'MDL-75148', final: true)] function data_preset_name(): void { \core\deprecation::emit_deprecation(__FUNCTION__); } /** * @deprecated since Moodle 4.1 MDL-75148 - please, use the manager::get_available_presets() function instead. */ #[\core\attribute\deprecated('mod_data\manager::get_available_presets()', since: '4.1', mdl: 'MDL-75148', final: true)] function data_get_available_presets(): void { \core\deprecation::emit_deprecation(__FUNCTION__); } /** * @deprecated since Moodle 4.1 MDL-75148 - please, use the manager::get_available_saved_presets() function instead. */ #[\core\attribute\deprecated('mod_data\manager::get_available_saved_presets()', since: '4.1', mdl: 'MDL-75148', final: true)] function data_get_available_site_presets(): void { \core\deprecation::emit_deprecation(__FUNCTION__); } /** * @deprecated since Moodle 4.1 MDL-75187 - please, use the preset::delete() function instead. */ #[\core\attribute\deprecated('mod_data\preset::delete()', since: '4.1', mdl: 'MDL-75187', final: true)] function data_delete_site_preset(): void { \core\deprecation::emit_deprecation(__FUNCTION__); } /** * @deprecated since Moodle 4.1 MDL-75142 - please, use the preset::save() function instead. */ #[\core\attribute\deprecated('mod_data\preset::save()', since: '4.1', mdl: 'MDL-75142', final: true)] function data_presets_save(): void { \core\deprecation::emit_deprecation(__FUNCTION__); } /** * @deprecated since Moodle 4.1 MDL-75142 - please, use the protected preset::generate_preset_xml() function instead. */ #[\core\attribute\deprecated('mod_data\preset::generate_preset_xml()', since: '4.1', mdl: 'MDL-75142', final: true)] function data_presets_generate_xml(): void { \core\deprecation::emit_deprecation(__FUNCTION__); } /** * @deprecated since Moodle 4.1 MDL-75142 - please, use the preset::export() function instead. */ #[\core\attribute\deprecated('mod_data\preset::export()', since: '4.1', mdl: 'MDL-75142', final: true)] function data_presets_export(): void { \core\deprecation::emit_deprecation(__FUNCTION__); } /** * @deprecated since Moodle 4.1 MDL-75187 - please, use the preset::can_manage() function instead. */ #[\core\attribute\deprecated('mod_data\preset::can_manage()', since: '4.1', mdl: 'MDL-75187', final: true)] function data_user_can_delete_preset(): void { \core\deprecation::emit_deprecation(__FUNCTION__); } /** * @deprecated since Moodle 4.1 MDL-75146 - please do not use this function any more. */ #[\core\attribute\deprecated('mod_data\manager::set_module_viewed', since: '4.1', mdl: 'MDL-75146', final: true)] function data_view(): void { \core\deprecation::emit_deprecation(__FUNCTION__); } /** * @deprecated since Moodle 4.1 MDL-75148 - please, use the preset::is_directory_a_preset() function instead. */ #[\core\attribute\deprecated('mod_data\preset::is_directory_a_preset()', since: '4.1', mdl: 'MDL-75148', final: true)] function is_directory_a_preset(): void { \core\deprecation::emit_deprecation(__FUNCTION__); } /** * @deprecated since Moodle 4.3. * @global object * @param array $export * @param string $dataname * @param int $count * @return string */ function data_export_xls($export, $dataname, $count) { global $CFG; debugging('Function data_export_xls() has been deprecated, because xls export has been dropped.', DEBUG_DEVELOPER); require_once("$CFG->libdir/excellib.class.php"); $filename = clean_filename("{$dataname}-{$count}_record"); if ($count > 1) { $filename .= 's'; } $filename .= clean_filename('-' . gmdate("Ymd_Hi")); $filename .= '.xls'; $filearg = '-'; $workbook = new MoodleExcelWorkbook($filearg); $workbook->send($filename); $worksheet = array(); $worksheet[0] = $workbook->add_worksheet(''); $rowno = 0; foreach ($export as $row) { $colno = 0; foreach($row as $col) { $worksheet[0]->write($rowno, $colno, $col); $colno++; } $rowno++; } $workbook->close(); return $filename; } /** * @deprecated since Moodle 4.3, exporting is now being done by \mod_data\local\exporter\csv_entries_exporter * @global object * @param array $export * @param string $delimiter_name * @param object $database * @param int $count * @param bool $return * @return string|void */ function data_export_csv($export, $delimiter_name, $database, $count, $return=false) { global $CFG; debugging('Function data_export_csv has been deprecated. Exporting is now being done by ' . '\mod_data\local\csv_exporter.', DEBUG_DEVELOPER); require_once($CFG->libdir . '/csvlib.class.php'); $filename = $database . '-' . $count . '-record'; if ($count > 1) { $filename .= 's'; } if ($return) { return csv_export_writer::print_array($export, $delimiter_name, '"', true); } else { csv_export_writer::download_array($filename, $export, $delimiter_name); } } /** * @deprecated since Moodle 4.3, exporting is now being done by \mod_data\local\exporter\ods_entries_exporter * @global object * @param array $export * @param string $dataname * @param int $count * @param string */ function data_export_ods($export, $dataname, $count) { global $CFG; debugging('Function data_export_ods has been deprecated. Exporting is now being done by ' . '\mod_data\local\ods_exporter.', DEBUG_DEVELOPER); require_once("$CFG->libdir/odslib.class.php"); $filename = clean_filename("{$dataname}-{$count}_record"); if ($count > 1) { $filename .= 's'; } $filename .= clean_filename('-' . gmdate("Ymd_Hi")); $filename .= '.ods'; $filearg = '-'; $workbook = new MoodleODSWorkbook($filearg); $workbook->send($filename); $worksheet = array(); $worksheet[0] = $workbook->add_worksheet(''); $rowno = 0; foreach ($export as $row) { $colno = 0; foreach($row as $col) { $worksheet[0]->write($rowno, $colno, $col); $colno++; } $rowno++; } $workbook->close(); return $filename; } /** * @deprecated since Moodle 4.3, use \mod_data\local\exporter\utils::data_exportdata with a \mod_data\local\exporter\entries_exporter object * @global object * @param int $dataid * @param array $fields * @param array $selectedfields * @param int $currentgroup group ID of the current group. This is used for * exporting data while maintaining group divisions. * @param object $context the context in which the operation is performed (for capability checks) * @param bool $userdetails whether to include the details of the record author * @param bool $time whether to include time created/modified * @param bool $approval whether to include approval status * @param bool $tags whether to include tags * @return array */ function data_get_exportdata($dataid, $fields, $selectedfields, $currentgroup=0, $context=null, $userdetails=false, $time=false, $approval=false, $tags = false) { global $DB; debugging('Function data_get_exportdata has been deprecated. Use ' . '\mod_data\local\exporter_utils::data_exportdata with a \mod_data\local\exporter object instead', DEBUG_DEVELOPER); if (is_null($context)) { $context = context_system::instance(); } // exporting user data needs special permission $userdetails = $userdetails && has_capability('mod/data:exportuserinfo', $context); $exportdata = array(); // populate the header in first row of export foreach($fields as $key => $field) { if (!in_array($field->field->id, $selectedfields)) { // ignore values we aren't exporting unset($fields[$key]); } else { $exportdata[0][] = $field->field->name; } } if ($tags) { $exportdata[0][] = get_string('tags', 'data'); } if ($userdetails) { $exportdata[0][] = get_string('user'); $exportdata[0][] = get_string('username'); $exportdata[0][] = get_string('email'); } if ($time) { $exportdata[0][] = get_string('timeadded', 'data'); $exportdata[0][] = get_string('timemodified', 'data'); } if ($approval) { $exportdata[0][] = get_string('approved', 'data'); } $datarecords = $DB->get_records('data_records', array('dataid'=>$dataid)); ksort($datarecords); $line = 1; foreach($datarecords as $record) { // get content indexed by fieldid if ($currentgroup) { $select = 'SELECT c.fieldid, c.content, c.content1, c.content2, c.content3, c.content4 FROM {data_content} c, {data_records} r WHERE c.recordid = ? AND r.id = c.recordid AND r.groupid = ?'; $where = array($record->id, $currentgroup); } else { $select = 'SELECT fieldid, content, content1, content2, content3, content4 FROM {data_content} WHERE recordid = ?'; $where = array($record->id); } if( $content = $DB->get_records_sql($select, $where) ) { foreach($fields as $field) { $contents = ''; if(isset($content[$field->field->id])) { $contents = $field->export_text_value($content[$field->field->id]); } $exportdata[$line][] = $contents; } if ($tags) { $itemtags = \core_tag_tag::get_item_tags_array('mod_data', 'data_records', $record->id); $exportdata[$line][] = implode(', ', $itemtags); } if ($userdetails) { // Add user details to the export data $userdata = get_complete_user_data('id', $record->userid); $exportdata[$line][] = fullname($userdata); $exportdata[$line][] = $userdata->username; $exportdata[$line][] = $userdata->email; } if ($time) { // Add time added / modified $exportdata[$line][] = userdate($record->timecreated); $exportdata[$line][] = userdate($record->timemodified); } if ($approval) { // Add approval status $exportdata[$line][] = (int) $record->approved; } } $line++; } $line--; return $exportdata; } /** * @deprecated since Moodle 4.3, importing is now being done by \mod_data\local\importer\csv_importer::import_csv * Import records for a data instance from csv data. * * @param object $cm Course module of the data instance. * @param object $data The data instance. * @param string $csvdata The csv data to be imported. * @param string $encoding The encoding of csv data. * @param string $fielddelimiter The delimiter of the csv data. * @return int Number of records added. */ function data_import_csv($cm, $data, &$csvdata, $encoding, $fielddelimiter) { debugging('Function data_import_csv has been deprecated. ' . 'Importing is now being done by \mod_data\local\csv_importer::import_csv.', DEBUG_DEVELOPER); // New function needs a file, not the file content, so we have to temporarily put the content into a file. $tmpdir = make_request_directory(); $tmpfilename = 'tmpfile.csv'; $tmpfilepath = $tmpdir . '/tmpfile.csv'; file_put_contents($tmpfilepath, $csvdata); $importer = new \mod_data\local\importer\csv_entries_importer($tmpfilepath, $tmpfilename); $importer->import_csv($cm, $data, $encoding, $fielddelimiter); return 0; } home/smkb8269/public_html/lms.smk-almanshuriyah.sch.id/mod/url/deprecatedlib.php000064400000003553152267116470023563 0ustar00. /** * List of deprecated mod_url functions. * * @package mod_url * @copyright 2021 Peter D * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ /** * Print url heading. * * @deprecated since 4.0 * @param object $url * @param object $cm * @param object $course * @param bool $notused This variable is no longer used. * @return void */ function url_print_heading($url, $cm, $course, $notused = false) { global $OUTPUT; debugging('url_print_heading is deprecated. Handled by activity_header now.', DEBUG_DEVELOPER); echo $OUTPUT->heading(format_string($url->name), 2); } /** * Print url introduction. * * @deprecated since 4.0 * @param object $url * @param object $cm * @param object $course * @param bool $ignoresettings print even if not specified in modedit * @return void */ function url_print_intro($url, $cm, $course, $ignoresettings=false) { global $OUTPUT; debugging('url_print_intro is deprecated. Handled by activity_header now.', DEBUG_DEVELOPER); if ($intro = url_get_intro($url, $cm, $ignoresettings)) { echo $OUTPUT->box_start('mod_introbox', 'urlintro'); echo $intro; echo $OUTPUT->box_end(); } } home/smkb8269/public_html/lms.smk-almanshuriyah.sch.id/mod/lti/deprecatedlib.php000064400000002173152267121170023537 0ustar00. /** * List of deprecated mod_lti functions. * * @package mod_lti * @copyright 2022 Mihail Geshoski * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ /** * @deprecated since Moodle 4.3 */ #[\core\attribute\deprecated(null, reason: 'It is no longer used', since: '4.3', mdl: 'MDL-76953', final: true)] function lti_libxml_disable_entity_loader() { \core\deprecation::emit_deprecation(__FUNCTION__); } home/smkb8269/public_html/lms.smk-almanshuriyah.sch.id/mod/imscp/deprecatedlib.php000064400000002203152267125220024054 0ustar00. /** * Callback methods for mod_imscp component * * @package mod_imscp * @copyright 2024 Paul Holden * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ /** * @deprecated since Moodle 4.3 */ #[\core\attribute\deprecated(null, reason: 'It is no longer used', since: '4.3', mdl: 'MDL-76953', final: true)] function imscp_libxml_disable_entity_loader() { \core\deprecation::emit_deprecation(__FUNCTION__); } home/smkb8269/public_html/lms.smk-almanshuriyah.sch.id/mod/book/deprecatedlib.php000064400000002122152267160450023677 0ustar00. /** * List of deprecated mod_book functions * * @package mod_book * @copyright 2024 Paul Holden * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ /** * @deprecated since Moodle 4.4. */ #[\core\attribute\deprecated('book_get_nav_classes', since: '4.4', final: true)] function book_get_nav_classes() { \core\deprecation::emit_deprecation(__FUNCTION__); }