# HG changeset patch # User Aleksej Bobylev # Date 1421500834 -7200 # Node ID fd82e00c58db1215fcc249f3dc85b6b8a69cafcf # Parent f3da7ce92a0815a29a1805931128c9e8959625ed mirror/root/dir-generator.php: ISO-8859-1 -> UTF-8; white here already implemented link to the WebArchive (remove line breaks); remove unwanted letters from regexp. mirror/root/static/slitaz.css: white links on light-grey background -> brown links; searchbox with type="search" (it adds "clean" button on the right side when typing). diff -r f3da7ce92a08 -r fd82e00c58db mirror/root/dir-generator.php --- a/mirror/root/dir-generator.php Fri Jan 16 18:53:41 2015 +0100 +++ b/mirror/root/dir-generator.php Sat Jan 17 15:20:34 2015 +0200 @@ -7,7 +7,7 @@ SliTaz mirror redirection - + @@ -163,8 +163,8 @@ Index of /$vpath - - + + @@ -254,7 +254,8 @@
-[ Mirrors ] +[ Mirrors ] EOT; // Mirror list @@ -485,7 +486,7 @@ ".count($folderlist)." folders and ".count($filelist)." files.
"; if (filesize($path."/README")) { echo "
\n";
-	echo preg_replace('!(((f|ht)tp(s)?://)[-a-zA-Zа-яА-Я()0-9@:%_+.~#?&;//=]+)!i',
+	echo preg_replace('!(((f|ht)tp(s)?://)[-a-zA-Z()0-9@:%_+.~#?&;//=]+)!i',
 		 '$1', file_get_contents($path."/README"));
 	echo "
\n"; } @@ -518,7 +519,7 @@

Valid XHTML 1.0

diff -r f3da7ce92a08 -r fd82e00c58db mirror/root/static/slitaz.css --- a/mirror/root/static/slitaz.css Fri Jan 16 18:53:41 2015 +0100 +++ b/mirror/root/static/slitaz.css Sat Jan 17 15:20:34 2015 +0200 @@ -112,7 +112,9 @@ } #block_info p { margin: 6px 0; padding: 0 12px 0 0; } -#block_info a { font-weight: normal; } +#block_info a { font-weight: normal; color: #B51; } +#block_info a:hover { color: #000; } + #block ul { list-style-type: square; } #block a:hover { color: #afafaf; } @@ -265,7 +267,7 @@ /* Form */ form { display: inline; } -input[type="submit"], input[type="text"], textarea, select { +input[type="submit"], input[type="text"], input[type="search"], textarea, select { color: #444444; border: 1px solid #cccccc; padding: 4px; @@ -279,7 +281,7 @@ -webkit-padding-start: 6px; } -input[type="text"], textarea { background: #fefefe; border: 2px solid #ccc; +input[type="text"], input[type="search"], textarea { background: #fefefe; border: 2px solid #ccc; width: 460px; } /*input[type="file"] { border: 2px solid #ddd; }*/ /*input[type="checkbox"] { background: #fefefe; }*/ @@ -322,7 +324,7 @@ .searchbox input[type=submit]:hover { background-color: #444; } -.searchbox input[type=text] { +.searchbox input[type=text], input[type=search] { border: 1px solid #333333; padding: 4px; height: 17px;