2004-11-20 19:06:29 +00:00
|
|
|
<?php // $Id$
|
2003-08-18 17:22:22 +00:00
|
|
|
|
2004-11-20 19:06:29 +00:00
|
|
|
require_once('../config.php');
|
2003-08-18 17:22:22 +00:00
|
|
|
|
|
|
|
require_login();
|
|
|
|
|
2003-09-08 12:57:39 +00:00
|
|
|
if (!isadmin()) {
|
2004-11-20 19:06:29 +00:00
|
|
|
error('Only admins can access this page');
|
2003-08-18 17:22:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if (!$site = get_site()) {
|
2004-11-20 19:06:29 +00:00
|
|
|
redirect('index.php');
|
2003-08-18 17:22:22 +00:00
|
|
|
}
|
|
|
|
|
2004-11-20 19:06:29 +00:00
|
|
|
$stradministration = get_string('administration');
|
|
|
|
$strconfiguration = get_string('configuration');
|
2003-08-18 17:22:22 +00:00
|
|
|
|
|
|
|
print_header("$site->shortname: $stradministration: $strconfiguration", "$site->fullname",
|
2004-11-20 19:06:29 +00:00
|
|
|
'<a href="index.php">'. "$stradministration</a> -> $strconfiguration");
|
2003-08-18 17:22:22 +00:00
|
|
|
|
|
|
|
print_heading($strconfiguration);
|
|
|
|
|
2004-11-20 19:06:29 +00:00
|
|
|
$table->align = array ('right', 'left');
|
|
|
|
|
|
|
|
$table->data[] = array("<strong><a href=\"config.php\">". get_string('configvariables') .'</a></strong>',
|
|
|
|
get_string('adminhelpconfigvariables'));
|
|
|
|
$table->data[] = array("<strong><a href=\"site.php\">". get_string('sitesettings') .'</a></strong>',
|
|
|
|
get_string('adminhelpsitesettings'));
|
|
|
|
$table->data[] = array("<strong><a href=\"../theme/index.php\">". get_string('themes') .'</a></strong>',
|
|
|
|
get_string('adminhelpthemes'));
|
|
|
|
$table->data[] = array("<strong><a href=\"lang.php\">". get_string('language') .'</a></strong>',
|
|
|
|
get_string('adminhelplanguage'));
|
|
|
|
$table->data[] = array("<strong><a href=\"modules.php\">".get_string('managemodules'). ' </a></strong>',
|
|
|
|
get_string('adminhelpmanagemodules'));
|
|
|
|
$table->data[] = array("<strong><a href=\"blocks.php\">". get_string('manageblocks') .'</a></strong>',
|
|
|
|
get_string('adminhelpmanageblocks'));
|
2005-01-22 20:53:28 +00:00
|
|
|
$table->data[] = array("<strong><a href=\"filters.php\">". get_string('managefilters') .'</a></strong>',
|
2004-11-20 19:06:29 +00:00
|
|
|
get_string('adminhelpmanagefilters'));
|
2004-03-20 09:50:52 +00:00
|
|
|
if (!isset($CFG->disablescheduledbackups)) {
|
2005-01-22 21:02:12 +00:00
|
|
|
$table->data[] = array("<strong><a href=\"backup.php\">".get_string("backup")."</a></strong>",
|
2004-11-20 19:06:29 +00:00
|
|
|
get_string('adminhelpbackup'));
|
2004-03-20 09:50:52 +00:00
|
|
|
}
|
2003-08-18 17:22:22 +00:00
|
|
|
|
2005-01-23 11:26:00 +00:00
|
|
|
$table->data[]= array("<strong><a href=\"editor.php\">". get_string('editorsettings') ."</a></strong>",
|
2004-11-20 19:06:29 +00:00
|
|
|
get_string('adminhelpeditorsettings'));
|
2004-12-15 07:14:41 +00:00
|
|
|
$table->data[]= array("<strong><a href=\"calendar.php?sesskey=$USER->sesskey\">". get_string('calendarsettings', 'admin') ."</a></strong>",
|
|
|
|
get_string('helpcalendarsettings', 'admin'));
|
2004-08-21 10:12:09 +00:00
|
|
|
|
2003-08-18 17:22:22 +00:00
|
|
|
print_table($table);
|
|
|
|
|
|
|
|
print_footer($site);
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|