Skip to content

Commit

Permalink
spacing and quotes cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dhawes committed Nov 20, 2004
1 parent 3088137 commit 7e8dc20
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions admin/configure.php
@@ -1,48 +1,48 @@
<?PHP // $Id$ <?php // $Id$


require_once("../config.php"); require_once('../config.php');


require_login(); require_login();


if (!isadmin()) { if (!isadmin()) {
error("Only admins can access this page"); error('Only admins can access this page');
} }


if (!$site = get_site()) { if (!$site = get_site()) {
redirect("index.php"); redirect('index.php');
} }


$stradministration = get_string("administration"); $stradministration = get_string('administration');
$strconfiguration = get_string("configuration"); $strconfiguration = get_string('configuration');


print_header("$site->shortname: $stradministration: $strconfiguration", "$site->fullname", print_header("$site->shortname: $stradministration: $strconfiguration", "$site->fullname",
"<a href=\"index.php\">$stradministration</a> -> $strconfiguration"); '<a href="index.php">'. "$stradministration</a> -> $strconfiguration");


print_heading($strconfiguration); print_heading($strconfiguration);


$table->align = array ("right", "left"); $table->align = array ('right', 'left');


$table->data[] = array("<b><a href=\"config.php\">".get_string("configvariables")."</a></b>", $table->data[] = array("<strong><a href=\"config.php\">". get_string('configvariables') .'</a></strong>',
get_string("adminhelpconfigvariables")); get_string('adminhelpconfigvariables'));
$table->data[] = array("<b><a href=\"site.php\">".get_string("sitesettings")."</a></b>", $table->data[] = array("<strong><a href=\"site.php\">". get_string('sitesettings') .'</a></strong>',
get_string("adminhelpsitesettings")); get_string('adminhelpsitesettings'));
$table->data[] = array("<b><a href=\"../theme/index.php\">".get_string("themes")."</a></b>", $table->data[] = array("<strong><a href=\"../theme/index.php\">". get_string('themes') .'</a></strong>',
get_string("adminhelpthemes")); get_string('adminhelpthemes'));
$table->data[] = array("<b><a href=\"lang.php\">".get_string("language")."</a></b>", $table->data[] = array("<strong><a href=\"lang.php\">". get_string('language') .'</a></strong>',
get_string("adminhelplanguage")); get_string('adminhelplanguage'));
$table->data[] = array("<b><a href=\"modules.php\">".get_string("managemodules")."</a></b>", $table->data[] = array("<strong><a href=\"modules.php\">".get_string('managemodules'). ' </a></strong>',
get_string("adminhelpmanagemodules")); get_string('adminhelpmanagemodules'));
$table->data[] = array("<b><a href=\"blocks.php\">".get_string("manageblocks")."</a></b>", $table->data[] = array("<strong><a href=\"blocks.php\">". get_string('manageblocks') .'</a></strong>',
get_string("adminhelpmanageblocks")); get_string('adminhelpmanageblocks'));
$table->data[] = array("<b><a href=\"filters.php?sesskey=$USER->sesskey\">".get_string("managefilters")."</a></b>", $table->data[] = array("<strong><a href=\"filters.php?sesskey=$USER->sesskey\">". get_string('managefilters') .'</a></strong>',
get_string("adminhelpmanagefilters")); get_string('adminhelpmanagefilters'));
if (!isset($CFG->disablescheduledbackups)) { if (!isset($CFG->disablescheduledbackups)) {
$table->data[] = array("<b><a href=\"backup.php?sesskey=$USER->sesskey\">".get_string("backup")."</a></b>", $table->data[] = array("<strong><a href=\"backup.php?sesskey=$USER->sesskey\">".get_string("backup")."</a></strong>",
get_string("adminhelpbackup")); get_string('adminhelpbackup'));
} }


$table->data[]= array("<b><a href=\"editor.php?sesskey=$USER->sesskey\">". get_string("editorsettings") ."</a></b>", $table->data[]= array("<strong><a href=\"editor.php?sesskey=$USER->sesskey\">". get_string('editorsettings') ."</a></strong>",
get_string("adminhelpeditorsettings")); get_string('adminhelpeditorsettings'));


print_table($table); print_table($table);


Expand Down

0 comments on commit 7e8dc20

Please sign in to comment.