3 require_once('../config.php');
8 error('Only admins can access this page');
11 if (!$site = get_site()) {
12 redirect('index.php');
15 $stradministration = get_string('administration');
16 $strconfiguration = get_string('configuration');
18 print_header("$site->shortname: $stradministration: $strconfiguration", "$site->fullname",
19 '<a href="index.php">'. "$stradministration</a> -> $strconfiguration");
21 print_heading($strconfiguration);
23 $table->align
= array ('right', 'left');
25 $table->data
[] = array("<strong><a href=\"config.php\">". get_string('configvariables', 'admin') .'</a></strong>',
26 get_string('adminhelpconfigvariables'));
27 $table->data
[] = array("<strong><a href=\"site.php\">". get_string('sitesettings') .'</a></strong>',
28 get_string('adminhelpsitesettings'));
29 $table->data
[] = array("<strong><a href=\"../theme/index.php\">". get_string('themes') .'</a></strong>',
30 get_string('adminhelpthemes'));
31 $table->data
[] = array("<strong><a href=\"lang.php\">". get_string('language') .'</a></strong>',
32 get_string('adminhelplanguage'));
33 $table->data
[] = array("<strong><a href=\"modules.php\">".get_string('managemodules'). ' </a></strong>',
34 get_string('adminhelpmanagemodules'));
35 $table->data
[] = array("<strong><a href=\"blocks.php\">". get_string('manageblocks') .'</a></strong>',
36 get_string('adminhelpmanageblocks'));
37 $table->data
[] = array("<strong><a href=\"filters.php\">". get_string('managefilters') .'</a></strong>',
38 get_string('adminhelpmanagefilters'));
39 if (!isset($CFG->disablescheduledbackups
)) {
40 $table->data
[] = array("<strong><a href=\"backup.php\">".get_string("backup")."</a></strong>",
41 get_string('adminhelpbackup'));
44 $table->data
[]= array("<strong><a href=\"editor.php\">". get_string('editorsettings') ."</a></strong>",
45 get_string('adminhelpeditorsettings'));
46 $table->data
[]= array("<strong><a href=\"calendar.php\">". get_string('calendarsettings', 'admin') ."</a></strong>",
47 get_string('helpcalendarsettings', 'admin'));
48 $table->data
[]= array("<strong><a href=\"maintenance.php\">". get_string('sitemaintenancemode', 'admin') ."</a></strong>",
49 get_string('helpsitemaintenance', 'admin'));