From 80a3d602b80f86104528180ed0a50c9605cbb868 Mon Sep 17 00:00:00 2001 From: soranzo Date: Tue, 24 Apr 2007 15:00:02 +0000 Subject: [PATCH] XHTML compliance. Use coherently 'select' instead of 'check'. --- classes/Misc.php | 22 +++++++++++----------- lang/english.php | 8 ++++---- lang/recoded/english.php | 8 ++++---- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/classes/Misc.php b/classes/Misc.php index 3916210c..b53b590c 100644 --- a/classes/Misc.php +++ b/classes/Misc.php @@ -2,7 +2,7 @@ /** * Class to hold various commonly used functions * - * $Id: Misc.php,v 1.145 2007/04/22 00:41:58 mr-russ Exp $ + * $Id: Misc.php,v 1.146 2007/04/24 15:00:02 soranzo Exp $ */ class Misc { @@ -234,7 +234,7 @@ if (!isset($tag) && (isset($class) || isset($align))) $tag = 'div'; if (isset($tag)) { - $alignattr = isset($align) ? " style=\"text-align: {$align};\"" : ''; + $alignattr = isset($align) ? " style=\"text-align: {$align}\"" : ''; $classattr = isset($class) ? " class=\"{$class}\"" : ''; $out = "<{$tag}{$alignattr}{$classattr}>{$out}"; } @@ -1322,7 +1322,7 @@ if ($max_width <= 0) return; if ($pages > 1) { - echo "

\n"; + echo "

\n"; if ($page != 1) { $temp = str_replace('%s', 1, $url); echo "{$lang['strfirst']}\n"; @@ -1359,7 +1359,7 @@ $temp = str_replace('%s', $pages, $url); echo "{$lang['strlast']}\n"; } - echo "

\n"; + echo "

\n"; } } @@ -1385,9 +1385,7 @@ */ function setFocus($object) { echo "\n"; } @@ -1398,9 +1396,11 @@ * attached to the name. */ function setWindowName($name, $addServer = true) { - echo "\n"; + echo "//]]>\n"; + echo "\n"; } /** @@ -1643,7 +1643,7 @@ } } break; - default; + default: echo ""; if (array_key_exists($column['field'], $tabledata->fields)) { if (isset($column['url'])) { @@ -1678,8 +1678,8 @@ echo "\n"; echo "\n"; echo ""; - echo "{$lang['strcheckall']} / "; - echo "{$lang['struncheckall']}\n"; + echo "{$lang['strselectall']} / "; + echo "{$lang['strunselectall']}\n"; echo " ---> \n"; echo "\n"; echo "\t