From 04751e044170c1dbc13fa51ee4ea9234ab541ab9 Mon Sep 17 00:00:00 2001 From: VirtualTam Date: Tue, 20 Jan 2015 02:35:52 +0100 Subject: w3c: fix HTML syntax errors Fixes #64 All pages: - add `urlencode` when passing the version to a custom stylesheet; - set meaningful values of `alt` and `title` for QR-Code images. Install page: - the form's `action` attribute must be non-empty; - the `valign` attribute is deprecated. Signed-off-by: VirtualTam --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 4cb25ab7..4a91220f 100644 --- a/index.php +++ b/index.php @@ -2129,7 +2129,7 @@ function install() // Display config form: list($timezone_form,$timezone_js) = templateTZform(); - $timezone_html=''; if ($timezone_form!='') $timezone_html='Timezone:'.$timezone_form.''; + $timezone_html=''; if ($timezone_form!='') $timezone_html='Timezone:'.$timezone_form.''; $PAGE = new pageBuilder; $PAGE->assign('timezone_html',$timezone_html); -- cgit v1.2.3