2009-11-01 10:32:02 +00:00
|
|
|
<?php
|
2006-08-18 07:23:02 +00:00
|
|
|
|
|
|
|
// This file defines settingpages and externalpages under the "courses" category
|
|
|
|
|
2007-10-28 22:35:00 +00:00
|
|
|
if ($hassiteconfig
|
2010-02-19 17:50:14 +00:00
|
|
|
or has_capability('moodle/backup:backupcourse', $systemcontext)
|
course categories: Fix many bugs with category editing and permissions. Clean up code.
Bugs: MDL-17479, MDL-16426, MDL-16063, MDL-16013, MDL-15658, MDL-15556, MDL-15161, MDL-14925, MDL-13742, MDL-11557.
* Simplify category editing permissions to just moodle/category:manage and moodle/category:seehiddencategories.
* Enforce those correctly. (Note MDL 17502 is still outstanding.)
* Don't screw up category sort order when you just edit name or description.
* Niceties like where redirects go when you cancel or submit forms.
* Make sure a global course creator can see the site admin block.
* Don't allow a category to be made the child of one of its children!
* General code cleanup to bring key files more in line with best pracitice.
Apologies for the fact it is one big patch, rather than a series of smaller patches. However, categoryedit.php, category.php and index.php where in pretty bad shape and needed significant cleaning up. categoryedit.php, in particular, was almost completely rewritten.
Merged from MOODLE_19_STABLE.
2008-12-04 08:53:10 +00:00
|
|
|
or has_capability('moodle/category:manage', $systemcontext)
|
2008-12-05 08:56:54 +00:00
|
|
|
or has_capability('moodle/course:create', $systemcontext)
|
|
|
|
or has_capability('moodle/site:approvecourse', $systemcontext)) { // speedup for non-admins, add all caps used on this page
|
2007-10-28 22:35:00 +00:00
|
|
|
|
course categories: Fix many bugs with category editing and permissions. Clean up code.
Bugs: MDL-17479, MDL-16426, MDL-16063, MDL-16013, MDL-15658, MDL-15556, MDL-15161, MDL-14925, MDL-13742, MDL-11557.
* Simplify category editing permissions to just moodle/category:manage and moodle/category:seehiddencategories.
* Enforce those correctly. (Note MDL 17502 is still outstanding.)
* Don't screw up category sort order when you just edit name or description.
* Niceties like where redirects go when you cancel or submit forms.
* Make sure a global course creator can see the site admin block.
* Don't allow a category to be made the child of one of its children!
* General code cleanup to bring key files more in line with best pracitice.
Apologies for the fact it is one big patch, rather than a series of smaller patches. However, categoryedit.php, category.php and index.php where in pretty bad shape and needed significant cleaning up. categoryedit.php, in particular, was almost completely rewritten.
Merged from MOODLE_19_STABLE.
2008-12-04 08:53:10 +00:00
|
|
|
$ADMIN->add('courses', new admin_externalpage('coursemgmt', get_string('coursemgmt', 'admin'), $CFG->wwwroot . '/course/index.php?categoryedit=on',
|
|
|
|
array('moodle/category:manage', 'moodle/course:create')));
|
2007-12-19 17:35:20 +00:00
|
|
|
|
2008-09-25 02:31:26 +00:00
|
|
|
/// Course Default Settings Page
|
2008-11-28 18:24:47 +00:00
|
|
|
/// NOTE: these settings must be applied after all other settings because they depend on them
|
2009-01-11 09:41:48 +00:00
|
|
|
///main course settings
|
|
|
|
$temp = new admin_settingpage('coursesettings', get_string('coursesettings'));
|
2009-06-19 14:25:56 +00:00
|
|
|
$courseformats = get_plugin_list('format');
|
2009-01-11 09:41:48 +00:00
|
|
|
$formcourseformats = array();
|
2009-06-19 14:25:56 +00:00
|
|
|
foreach ($courseformats as $courseformat => $courseformatdir) {
|
MDL-22054 converting course formats to have own lang packs
AMOS START
MOV [formatscorm,core],[pluginname,format_scorm]
MOV [formatsocial,core],[pluginname,format_social]
MOV [formattopics,core],[pluginname,format_topics]
MOV [formatweeks,core],[pluginname,format_weeks]
AMOS END
2010-04-11 12:46:14 +00:00
|
|
|
$formcourseformats[$courseformat] = get_string('pluginname', "format_$courseformat");
|
2009-01-11 09:41:48 +00:00
|
|
|
}
|
|
|
|
$temp->add(new admin_setting_configselect('moodlecourse/format', get_string('format'), get_string('coursehelpformat'), 'weeks',$formcourseformats));
|
2011-03-07 18:08:04 +00:00
|
|
|
|
|
|
|
$temp->add(new admin_setting_configtext('moodlecourse/maxsections', get_string('maxnumberweeks'), get_string('maxnumberweeks_desc'), 52));
|
|
|
|
|
|
|
|
$temp->add(new admin_settings_num_course_sections('moodlecourse/numsections', get_string('numberweeks'), get_string('coursehelpnumberweeks'), 10));
|
|
|
|
|
2009-01-11 09:41:48 +00:00
|
|
|
$choices = array();
|
|
|
|
$choices['0'] = get_string('hiddensectionscollapsed');
|
|
|
|
$choices['1'] = get_string('hiddensectionsinvisible');
|
|
|
|
$temp->add(new admin_setting_configselect('moodlecourse/hiddensections', get_string('hiddensections'), get_string('coursehelphiddensections'), 0,$choices));
|
|
|
|
$options = range(0, 10);
|
|
|
|
$temp->add(new admin_setting_configselect('moodlecourse/newsitems', get_string('newsitemsnumber'), get_string('coursehelpnewsitemsnumber'), 5,$options));
|
|
|
|
$temp->add(new admin_setting_configselect('moodlecourse/showgrades', get_string('showgrades'), get_string('coursehelpshowgrades'), 1,array(0 => get_string('no'), 1 => get_string('yes'))));
|
|
|
|
$temp->add(new admin_setting_configselect('moodlecourse/showreports', get_string('showreports'), '', 0,array(0 => get_string('no'), 1 => get_string('yes'))));
|
2011-03-07 18:08:04 +00:00
|
|
|
|
2009-01-11 09:41:48 +00:00
|
|
|
if (isset($CFG->maxbytes)) {
|
2008-11-28 18:24:47 +00:00
|
|
|
$choices = get_max_upload_sizes($CFG->maxbytes);
|
2009-01-11 09:41:48 +00:00
|
|
|
} else {
|
|
|
|
$choices = get_max_upload_sizes();
|
|
|
|
}
|
|
|
|
$temp->add(new admin_setting_configselect('moodlecourse/maxbytes', get_string('maximumupload'), get_string('coursehelpmaximumupload'), key($choices), $choices));
|
|
|
|
|
2010-09-22 08:18:18 +00:00
|
|
|
if (!empty($CFG->legacyfilesinnewcourses)) {
|
|
|
|
$choices = array('0'=>get_string('no'), '2'=>get_string('yes'));
|
|
|
|
$temp->add(new admin_setting_configselect('moodlecourse/legacyfiles', get_string('courselegacyfiles'), get_string('courselegacyfiles_help'), key($choices), $choices));
|
|
|
|
}
|
2010-09-10 03:58:54 +00:00
|
|
|
|
2009-01-11 09:41:48 +00:00
|
|
|
$temp->add(new admin_setting_heading('groups', get_string('groups', 'group'), ''));
|
|
|
|
$choices = array();
|
|
|
|
$choices[NOGROUPS] = get_string('groupsnone', 'group');
|
|
|
|
$choices[SEPARATEGROUPS] = get_string('groupsseparate', 'group');
|
|
|
|
$choices[VISIBLEGROUPS] = get_string('groupsvisible', 'group');
|
|
|
|
$temp->add(new admin_setting_configselect('moodlecourse/groupmode', get_string('groupmode'), '', key($choices),$choices));
|
|
|
|
$temp->add(new admin_setting_configselect('moodlecourse/groupmodeforce', get_string('force'), get_string('coursehelpforce'), 0,array(0 => get_string('no'), 1 => get_string('yes'))));
|
|
|
|
|
|
|
|
|
|
|
|
$temp->add(new admin_setting_heading('availability', get_string('availability'), ''));
|
|
|
|
$choices = array();
|
|
|
|
$choices['0'] = get_string('courseavailablenot');
|
|
|
|
$choices['1'] = get_string('courseavailable');
|
|
|
|
$temp->add(new admin_setting_configselect('moodlecourse/visible', get_string('visible'), '', 1,$choices));
|
|
|
|
|
|
|
|
|
|
|
|
$temp->add(new admin_setting_heading('language', get_string('language'), ''));
|
|
|
|
$languages=array();
|
|
|
|
$languages[''] = get_string('forceno');
|
2010-04-14 09:45:49 +00:00
|
|
|
$languages += get_string_manager()->get_list_of_translations();
|
2009-01-11 09:41:48 +00:00
|
|
|
$temp->add(new admin_setting_configselect('moodlecourse/lang', get_string('forcelanguage'), '',key($languages),$languages));
|
|
|
|
|
2010-04-30 03:06:22 +00:00
|
|
|
$temp->add(new admin_setting_heading('progress', get_string('progress','completion'), ''));
|
|
|
|
$temp->add(new admin_setting_configselect('moodlecourse/enablecompletion', get_string('completion','completion'), '',
|
2010-08-09 09:17:32 +00:00
|
|
|
0, array(0 => get_string('completiondisabled','completion'), 1 => get_string('completionenabled','completion'))));
|
2010-04-30 03:06:22 +00:00
|
|
|
|
2010-08-09 09:17:32 +00:00
|
|
|
$temp->add(new admin_setting_configcheckbox('moodlecourse/completionstartonenrol', get_string('completionstartonenrol','completion'), get_string('completionstartonenrolhelp', 'completion'), 0));
|
2009-01-11 09:41:48 +00:00
|
|
|
$ADMIN->add('courses', $temp);
|
2008-09-25 02:31:26 +00:00
|
|
|
|
|
|
|
/// "courserequests" settingpage
|
2007-12-19 17:35:20 +00:00
|
|
|
$temp = new admin_settingpage('courserequest', get_string('courserequest'));
|
|
|
|
$temp->add(new admin_setting_configcheckbox('enablecourserequests', get_string('enablecourserequests', 'admin'), get_string('configenablecourserequests', 'admin'), 0));
|
|
|
|
$temp->add(new admin_settings_coursecat_select('defaultrequestcategory', get_string('defaultrequestcategory', 'admin'), get_string('configdefaultrequestcategory', 'admin'), 1));
|
2009-01-08 07:07:00 +00:00
|
|
|
$temp->add(new admin_setting_users_with_capability('courserequestnotify', get_string('courserequestnotify', 'admin'), get_string('configcourserequestnotify2', 'admin'), array(), 'moodle/site:approvecourse'));
|
2007-12-19 17:35:20 +00:00
|
|
|
$ADMIN->add('courses', $temp);
|
|
|
|
|
2008-12-05 08:56:54 +00:00
|
|
|
/// Pending course requests.
|
|
|
|
if (!empty($CFG->enablecourserequests)) {
|
|
|
|
$ADMIN->add('courses', new admin_externalpage('coursespending', get_string('pendingrequests'),
|
|
|
|
$CFG->wwwroot . '/course/pending.php', array('moodle/site:approvecourse')));
|
|
|
|
}
|
|
|
|
|
2010-06-17 08:57:00 +00:00
|
|
|
// Add a category for backups
|
|
|
|
$ADMIN->add('courses', new admin_category('backups', get_string('backups','admin')));
|
|
|
|
|
|
|
|
// Create a page for general backup defaults
|
|
|
|
$temp = new admin_settingpage('backupgeneralsettings', get_string('generalbackdefaults', 'backup'), 'moodle/backup:backupcourse');
|
|
|
|
$temp->add(new admin_setting_configcheckbox_with_lock('backup/backup_general_users', get_string('generalusers','backup'), get_string('configgeneralusers','backup'), array('value'=>1, 'locked'=>0)));
|
2010-06-17 09:52:41 +00:00
|
|
|
$temp->add(new admin_setting_configcheckbox_with_lock('backup/backup_general_anonymize', get_string('generalanonymize','backup'), get_string('configgeneralanonymize','backup'), array('value'=>0, 'locked'=>0)));
|
2010-06-17 08:57:00 +00:00
|
|
|
$temp->add(new admin_setting_configcheckbox_with_lock('backup/backup_general_role_assignments', get_string('generalroleassignments','backup'), get_string('configgeneralroleassignments','backup'), array('value'=>1, 'locked'=>0)));
|
|
|
|
$temp->add(new admin_setting_configcheckbox_with_lock('backup/backup_general_user_files', get_string('generaluserfiles','backup'), get_string('configgeneraluserfiles','backup'), array('value'=>1, 'locked'=>0)));
|
|
|
|
$temp->add(new admin_setting_configcheckbox_with_lock('backup/backup_general_activities', get_string('generalactivities','backup'), get_string('configgeneralactivities','backup'), array('value'=>1, 'locked'=>0)));
|
|
|
|
$temp->add(new admin_setting_configcheckbox_with_lock('backup/backup_general_blocks', get_string('generalblocks','backup'), get_string('configgeneralblocks','backup'), array('value'=>1, 'locked'=>0)));
|
|
|
|
$temp->add(new admin_setting_configcheckbox_with_lock('backup/backup_general_filters', get_string('generalfilters','backup'), get_string('configgeneralfilters','backup'), array('value'=>1, 'locked'=>0)));
|
|
|
|
$temp->add(new admin_setting_configcheckbox_with_lock('backup/backup_general_comments', get_string('generalcomments','backup'), get_string('configgeneralcomments','backup'), array('value'=>1, 'locked'=>0)));
|
|
|
|
$temp->add(new admin_setting_configcheckbox_with_lock('backup/backup_general_userscompletion', get_string('generaluserscompletion','backup'), get_string('configgeneraluserscompletion','backup'), array('value'=>1, 'locked'=>0)));
|
|
|
|
$temp->add(new admin_setting_configcheckbox_with_lock('backup/backup_general_logs', get_string('generallogs','backup'), get_string('configgenerallogs','backup'), array('value'=>0, 'locked'=>0)));
|
|
|
|
$temp->add(new admin_setting_configcheckbox_with_lock('backup/backup_general_histories', get_string('generalhistories','backup'), get_string('configgeneralhistories','backup'), array('value'=>0, 'locked'=>0)));
|
|
|
|
$ADMIN->add('backups', $temp);
|
|
|
|
|
2008-09-25 02:31:26 +00:00
|
|
|
/// "backups" settingpage
|
backup MDL-22184 Scheduled backups are now possible again through cron.
AMOS BEGIN
MOV [move scheduledsetup,core_backup],[automatedsetup,core_backup]
MOV [scheduledsettings,core_backup],[automatedsettings,core_backup]
MOV [scheduledstorage,core_backup],[automatedstorage,core_backup]
MOV [scheduledstoragehelp,core_backup],[automatedstoragehelp,core_backup]
MOV [scheduledbackupsinactive,core],[automatedbackupsinactive,core_backup]
MOV [scheduledbackupstatus,core],[automatedbackupstatus,core_backup]
CPY [schedule,core],[automatedbackupschedule,core_backup]
MOV [backupschedulehelp,core],[automatedbackupschedulehelp,core_backup]
AMOS END
2010-11-10 06:07:43 +00:00
|
|
|
$temp = new admin_settingpage('automated', get_string('automatedsetup','backup'), 'moodle/backup:backupcourse');
|
2010-11-12 07:05:18 +00:00
|
|
|
$temp->add(new admin_setting_configselect('backup/backup_auto_active', get_string('active'), get_string('autoactivedescription', 'backup'), 0, array(
|
|
|
|
0 => get_string('autoactivedisabled', 'backup'),
|
|
|
|
1 => get_string('autoactiveenabled', 'backup'),
|
|
|
|
2 => get_string('autoactivemanual', 'backup')
|
|
|
|
)));
|
backup MDL-22184 Scheduled backups are now possible again through cron.
AMOS BEGIN
MOV [move scheduledsetup,core_backup],[automatedsetup,core_backup]
MOV [scheduledsettings,core_backup],[automatedsettings,core_backup]
MOV [scheduledstorage,core_backup],[automatedstorage,core_backup]
MOV [scheduledstoragehelp,core_backup],[automatedstoragehelp,core_backup]
MOV [scheduledbackupsinactive,core],[automatedbackupsinactive,core_backup]
MOV [scheduledbackupstatus,core],[automatedbackupstatus,core_backup]
CPY [schedule,core],[automatedbackupschedule,core_backup]
MOV [backupschedulehelp,core],[automatedbackupschedulehelp,core_backup]
AMOS END
2010-11-10 06:07:43 +00:00
|
|
|
$temp->add(new admin_setting_special_backupdays());
|
|
|
|
$temp->add(new admin_setting_configtime('backup/backup_auto_hour', 'backup_auto_minute', get_string('executeat'),
|
|
|
|
get_string('backupexecuteathelp'), array('h' => 0, 'm' => 0)));
|
|
|
|
$storageoptions = array(
|
|
|
|
0 => get_string('storagecourseonly', 'backup'),
|
|
|
|
1 => get_string('storageexternalonly', 'backup'),
|
|
|
|
2 => get_string('storagecourseandexternal', 'backup')
|
|
|
|
);
|
|
|
|
$temp->add(new admin_setting_configselect('backup/backup_auto_storage', get_string('automatedstorage', 'backup'), get_string('automatedstoragehelp', 'backup'), 0, $storageoptions));
|
|
|
|
$temp->add(new admin_setting_configdirectory('backup/backup_auto_destination', get_string('saveto'), get_string('backupsavetohelp'), ''));
|
2009-01-10 20:03:08 +00:00
|
|
|
$keepoptoins = array(
|
|
|
|
0 => get_string('all'), 1 => '1',
|
|
|
|
2 => '2',
|
|
|
|
5 => '5',
|
|
|
|
10 => '10',
|
|
|
|
20 => '20',
|
|
|
|
30 => '30',
|
|
|
|
40 => '40',
|
|
|
|
50 => '50',
|
|
|
|
100 => '100',
|
|
|
|
200 => '200',
|
|
|
|
300 => '300',
|
|
|
|
400 => '400',
|
|
|
|
500 => '500');
|
backup MDL-22184 Scheduled backups are now possible again through cron.
AMOS BEGIN
MOV [move scheduledsetup,core_backup],[automatedsetup,core_backup]
MOV [scheduledsettings,core_backup],[automatedsettings,core_backup]
MOV [scheduledstorage,core_backup],[automatedstorage,core_backup]
MOV [scheduledstoragehelp,core_backup],[automatedstoragehelp,core_backup]
MOV [scheduledbackupsinactive,core],[automatedbackupsinactive,core_backup]
MOV [scheduledbackupstatus,core],[automatedbackupstatus,core_backup]
CPY [schedule,core],[automatedbackupschedule,core_backup]
MOV [backupschedulehelp,core],[automatedbackupschedulehelp,core_backup]
AMOS END
2010-11-10 06:07:43 +00:00
|
|
|
$temp->add(new admin_setting_configselect('backup/backup_auto_keep', get_string('keep'), get_string('backupkeephelp'), 1, $keepoptoins));
|
2011-06-05 19:34:12 +02:00
|
|
|
|
backup MDL-22184 Scheduled backups are now possible again through cron.
AMOS BEGIN
MOV [move scheduledsetup,core_backup],[automatedsetup,core_backup]
MOV [scheduledsettings,core_backup],[automatedsettings,core_backup]
MOV [scheduledstorage,core_backup],[automatedstorage,core_backup]
MOV [scheduledstoragehelp,core_backup],[automatedstoragehelp,core_backup]
MOV [scheduledbackupsinactive,core],[automatedbackupsinactive,core_backup]
MOV [scheduledbackupstatus,core],[automatedbackupstatus,core_backup]
CPY [schedule,core],[automatedbackupschedule,core_backup]
MOV [backupschedulehelp,core],[automatedbackupschedulehelp,core_backup]
AMOS END
2010-11-10 06:07:43 +00:00
|
|
|
|
|
|
|
$temp->add(new admin_setting_heading('automatedsettings', get_string('automatedsettings','backup'), ''));
|
2011-09-11 12:03:11 +02:00
|
|
|
$temp->add(new admin_setting_configcheckbox('backup/backup_auto_users', get_string('generalusers', 'backup'), get_string('configgeneralusers', 'backup'), 1));
|
backup MDL-22184 Scheduled backups are now possible again through cron.
AMOS BEGIN
MOV [move scheduledsetup,core_backup],[automatedsetup,core_backup]
MOV [scheduledsettings,core_backup],[automatedsettings,core_backup]
MOV [scheduledstorage,core_backup],[automatedstorage,core_backup]
MOV [scheduledstoragehelp,core_backup],[automatedstoragehelp,core_backup]
MOV [scheduledbackupsinactive,core],[automatedbackupsinactive,core_backup]
MOV [scheduledbackupstatus,core],[automatedbackupstatus,core_backup]
CPY [schedule,core],[automatedbackupschedule,core_backup]
MOV [backupschedulehelp,core],[automatedbackupschedulehelp,core_backup]
AMOS END
2010-11-10 06:07:43 +00:00
|
|
|
$temp->add(new admin_setting_configcheckbox('backup/backup_auto_role_assignments', get_string('generalroleassignments','backup'), get_string('configgeneralroleassignments','backup'), 1));
|
|
|
|
$temp->add(new admin_setting_configcheckbox('backup/backup_auto_user_files', get_string('generaluserfiles', 'backup'), get_string('configgeneraluserfiles','backup'), 1));
|
|
|
|
$temp->add(new admin_setting_configcheckbox('backup/backup_auto_activities', get_string('generalactivities','backup'), get_string('configgeneralactivities','backup'), 1));
|
|
|
|
$temp->add(new admin_setting_configcheckbox('backup/backup_auto_blocks', get_string('generalblocks','backup'), get_string('configgeneralblocks','backup'), 1));
|
|
|
|
$temp->add(new admin_setting_configcheckbox('backup/backup_auto_filters', get_string('generalfilters','backup'), get_string('configgeneralfilters','backup'), 1));
|
|
|
|
$temp->add(new admin_setting_configcheckbox('backup/backup_auto_comments', get_string('generalcomments','backup'), get_string('configgeneralcomments','backup'), 1));
|
|
|
|
$temp->add(new admin_setting_configcheckbox('backup/backup_auto_userscompletion', get_string('generaluserscompletion','backup'), get_string('configgeneraluserscompletion','backup'), 1));
|
2011-09-11 12:03:11 +02:00
|
|
|
$temp->add(new admin_setting_configcheckbox('backup/backup_auto_logs', get_string('generallogs', 'backup'), get_string('configgenerallogs', 'backup'), 0));
|
backup MDL-22184 Scheduled backups are now possible again through cron.
AMOS BEGIN
MOV [move scheduledsetup,core_backup],[automatedsetup,core_backup]
MOV [scheduledsettings,core_backup],[automatedsettings,core_backup]
MOV [scheduledstorage,core_backup],[automatedstorage,core_backup]
MOV [scheduledstoragehelp,core_backup],[automatedstoragehelp,core_backup]
MOV [scheduledbackupsinactive,core],[automatedbackupsinactive,core_backup]
MOV [scheduledbackupstatus,core],[automatedbackupstatus,core_backup]
CPY [schedule,core],[automatedbackupschedule,core_backup]
MOV [backupschedulehelp,core],[automatedbackupschedulehelp,core_backup]
AMOS END
2010-11-10 06:07:43 +00:00
|
|
|
$temp->add(new admin_setting_configcheckbox('backup/backup_auto_histories', get_string('generalhistories','backup'), get_string('configgeneralhistories','backup'), 0));
|
2011-06-05 19:34:12 +02:00
|
|
|
|
|
|
|
|
backup MDL-22184 Scheduled backups are now possible again through cron.
AMOS BEGIN
MOV [move scheduledsetup,core_backup],[automatedsetup,core_backup]
MOV [scheduledsettings,core_backup],[automatedsettings,core_backup]
MOV [scheduledstorage,core_backup],[automatedstorage,core_backup]
MOV [scheduledstoragehelp,core_backup],[automatedstoragehelp,core_backup]
MOV [scheduledbackupsinactive,core],[automatedbackupsinactive,core_backup]
MOV [scheduledbackupstatus,core],[automatedbackupstatus,core_backup]
CPY [schedule,core],[automatedbackupschedule,core_backup]
MOV [backupschedulehelp,core],[automatedbackupschedulehelp,core_backup]
AMOS END
2010-11-10 06:07:43 +00:00
|
|
|
//$temp->add(new admin_setting_configcheckbox('backup/backup_auto_messages', get_string('messages', 'message'), get_string('backupmessageshelp','message'), 0));
|
|
|
|
//$temp->add(new admin_setting_configcheckbox('backup/backup_auto_blogs', get_string('blogs', 'blog'), get_string('backupblogshelp','blog'), 0));
|
2008-09-18 09:55:04 +00:00
|
|
|
|
2010-06-17 08:57:00 +00:00
|
|
|
$ADMIN->add('backups', $temp);
|
2006-08-18 07:23:02 +00:00
|
|
|
|
2007-10-28 22:35:00 +00:00
|
|
|
} // end of speedup
|