Slight tweaking
[moodle.git] / admin / configure.php
blob1097ae04ee9231cf08a7da752ba44c9f133dae29
1 <?PHP // $Id$
3 require_once("../config.php");
5 require_login();
7 if (!isadmin()) {
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("<b><a href=\"config.php\">".get_string("configvariables")."</a></b>",
26 get_string("adminhelpconfigvariables"));
27 $table->data[] = array("<b><a href=\"site.php\">".get_string("sitesettings")."</a></b>",
28 get_string("adminhelpsitesettings"));
29 $table->data[] = array("<b><a href=\"../theme/index.php\">".get_string("themes")."</a></b>",
30 get_string("adminhelpthemes"));
31 $table->data[] = array("<b><a href=\"lang.php\">".get_string("language")."</a></b>",
32 get_string("adminhelplanguage"));
33 $table->data[] = array("<b><a href=\"modules.php\">".get_string("managemodules")."</a></b>",
34 get_string("adminhelpmanagemodules"));
35 $table->data[] = array("<b><a href=\"filters.php\">".get_string("managefilters")."</a></b>",
36 get_string("adminhelpmanagefilters"));
37 if (!isset($CFG->disablescheduledbackups)) {
38 $table->data[] = array("<b><a href=\"backup.php\">".get_string("backup")."</a></b>",
39 get_string("adminhelpbackup"));
42 print_table($table);
44 print_footer($site);