diff options
author | VirtualTam <virtualtam@flibidi.org> | 2015-01-20 02:35:52 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.org> | 2015-01-20 02:53:53 +0100 |
commit | 04751e044170c1dbc13fa51ee4ea9234ab541ab9 (patch) | |
tree | 09289e84bff2cb74680e3bd161615d655f653692 /index.php | |
parent | 486f25a5f4ab2a9191618edcb89ebb61350ff600 (diff) | |
download | Shaarli-04751e044170c1dbc13fa51ee4ea9234ab541ab9.tar.gz Shaarli-04751e044170c1dbc13fa51ee4ea9234ab541ab9.tar.zst Shaarli-04751e044170c1dbc13fa51ee4ea9234ab541ab9.zip |
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 <virtualtam@flibidi.org>
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2129,7 +2129,7 @@ function install() | |||
2129 | 2129 | ||
2130 | // Display config form: | 2130 | // Display config form: |
2131 | list($timezone_form,$timezone_js) = templateTZform(); | 2131 | list($timezone_form,$timezone_js) = templateTZform(); |
2132 | $timezone_html=''; if ($timezone_form!='') $timezone_html='<tr><td valign="top"><b>Timezone:</b></td><td>'.$timezone_form.'</td></tr>'; | 2132 | $timezone_html=''; if ($timezone_form!='') $timezone_html='<tr><td><b>Timezone:</b></td><td>'.$timezone_form.'</td></tr>'; |
2133 | 2133 | ||
2134 | $PAGE = new pageBuilder; | 2134 | $PAGE = new pageBuilder; |
2135 | $PAGE->assign('timezone_html',$timezone_html); | 2135 | $PAGE->assign('timezone_html',$timezone_html); |