Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

spacing and quotes cleanup

  • Loading branch information...
commit 7e8dc20869a42246cb8c3e93dbcc816695a35d84 1 parent 3088137
dhawes authored
Showing with 27 additions and 27 deletions.
  1. +27 −27 admin/configure.php
View
54 admin/configure.php
@@ -1,48 +1,48 @@
-<?PHP // $Id$
+<?php // $Id$
- require_once("../config.php");
+ require_once('../config.php');
require_login();
if (!isadmin()) {
- error("Only admins can access this page");
+ error('Only admins can access this page');
}
if (!$site = get_site()) {
- redirect("index.php");
+ redirect('index.php');
}
- $stradministration = get_string("administration");
- $strconfiguration = get_string("configuration");
+ $stradministration = get_string('administration');
+ $strconfiguration = get_string('configuration');
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);
- $table->align = array ("right", "left");
-
- $table->data[] = array("<b><a href=\"config.php\">".get_string("configvariables")."</a></b>",
- get_string("adminhelpconfigvariables"));
- $table->data[] = array("<b><a href=\"site.php\">".get_string("sitesettings")."</a></b>",
- get_string("adminhelpsitesettings"));
- $table->data[] = array("<b><a href=\"../theme/index.php\">".get_string("themes")."</a></b>",
- get_string("adminhelpthemes"));
- $table->data[] = array("<b><a href=\"lang.php\">".get_string("language")."</a></b>",
- get_string("adminhelplanguage"));
- $table->data[] = array("<b><a href=\"modules.php\">".get_string("managemodules")."</a></b>",
- get_string("adminhelpmanagemodules"));
- $table->data[] = array("<b><a href=\"blocks.php\">".get_string("manageblocks")."</a></b>",
- get_string("adminhelpmanageblocks"));
- $table->data[] = array("<b><a href=\"filters.php?sesskey=$USER->sesskey\">".get_string("managefilters")."</a></b>",
- get_string("adminhelpmanagefilters"));
+ $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'));
+ $table->data[] = array("<strong><a href=\"filters.php?sesskey=$USER->sesskey\">". get_string('managefilters') .'</a></strong>',
+ get_string('adminhelpmanagefilters'));
if (!isset($CFG->disablescheduledbackups)) {
- $table->data[] = array("<b><a href=\"backup.php?sesskey=$USER->sesskey\">".get_string("backup")."</a></b>",
- get_string("adminhelpbackup"));
+ $table->data[] = array("<strong><a href=\"backup.php?sesskey=$USER->sesskey\">".get_string("backup")."</a></strong>",
+ get_string('adminhelpbackup'));
}
- $table->data[]= array("<b><a href=\"editor.php?sesskey=$USER->sesskey\">". get_string("editorsettings") ."</a></b>",
- get_string("adminhelpeditorsettings"));
+ $table->data[]= array("<strong><a href=\"editor.php?sesskey=$USER->sesskey\">". get_string('editorsettings') ."</a></strong>",
+ get_string('adminhelpeditorsettings'));
print_table($table);
Please sign in to comment.
Something went wrong with that request. Please try again.