diff options
author | Andrew Dolgov <[email protected]> | 2008-09-21 14:39:02 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-09-21 14:39:02 +0100 |
commit | 74d5c8fa154edb205f35fa8a22764b1b73b8d2ec (patch) | |
tree | d94e37c0553811841ef931f8f9f62635062d8667 /prefs.php | |
parent | f7f939b29c44fbc13e567c855bcb2a35e1083030 (diff) |
some basic w3c compliance for static code
Diffstat (limited to 'prefs.php')
-rw-r--r-- | prefs.php | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -22,11 +22,11 @@ <html> <head> <title>Tiny Tiny RSS : Preferences</title> - <link rel="stylesheet" type="text/css" href="tt-rss.css?<?php echo $dt_add ?>"> + <link rel="stylesheet" type="text/css" href="tt-rss.css?<?php echo $dt_add ?>"/> <?php $user_theme = $_SESSION["theme"]; if ($user_theme) { ?> - <link rel="stylesheet" type="text/css" href="themes/<?php echo $user_theme ?>/theme.css"> + <link rel="stylesheet" type="text/css" href="themes/<?php echo $user_theme ?>/theme.css"/> <?php } ?> <?php if ($user_theme) { $theme_image_path = "themes/$user_theme/"; } ?> @@ -36,7 +36,7 @@ <link type="text/css" href="<?php echo $user_css_url ?>"/> <?php } ?> - <link rel="shortcut icon" type="image/png" href="images/favicon.png"> + <link rel="shortcut icon" type="image/png" href="images/favicon.png"/> <script type="text/javascript" src="prototype.js"></script> <script type="text/javascript" src="scriptaculous/scriptaculous.js?load=effects,dragdrop,controls"></script> @@ -46,15 +46,17 @@ <script type="text/javascript" src="functions.js?<?php echo $dt_add ?>"></script> <script type="text/javascript" src="prefs.js?<?php echo $dt_add ?>"></script> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <script type="text/javascript"> + //<![CDATA[ if (navigator.userAgent.match("Opera")) { document.write('<link rel="stylesheet" type="text/css" href="opera.css">'); } if (navigator.userAgent.match("Gecko") && !navigator.userAgent.match("KHTML")) { document.write('<link rel="stylesheet" type="text/css" href="gecko.css">'); } + //]]> </script> </head> @@ -84,7 +86,7 @@ <?php rounded_table_end(); ?> </div> -<img id="piggie" src="images/piggie.png" style="display : none" alt="piggie"> +<img id="piggie" src="images/piggie.png" style="display : none" alt="piggie"/> <script type="text/javascript"> if (document.addEventListener) { @@ -93,7 +95,7 @@ if (document.addEventListener) { window.onload = init; </script> -<ul id="debug_output" style='display : none'></ul> +<ul id="debug_output" style='display : none'><li> </li></ul> <div id="fatal_error"><div id="fatal_error_inner"> <h1>Fatal Error</h1> @@ -119,7 +121,7 @@ window.onload = init; </div> --> <div class='prefKbdHelp'> - <img src="images/small_question.png" alt="?"> <a href='#' onclick="Effect.Appear('hotkey_help_overlay', {duration: 0.3})">Keyboard shortcuts</a> + <img src="images/small_question.png" alt="?"/> <a href='#' onclick="Effect.Appear('hotkey_help_overlay', {duration: 0.3})">Keyboard shortcuts</a> </div> <div class="firstTab"> </div> |