Changeset 1087
- Timestamp:
- 2012-07-30T09:40:17+02:00 (10 months ago)
- Location:
- trunk/htdocs
- Files:
-
- 6 edited
-
cacher/cacher.css (modified) (1 diff)
-
cacher/index.php (modified) (1 diff)
-
common/common.css (modified) (1 diff)
-
common/common.php (modified) (2 diffs)
-
common/footer.tpl.php (modified) (1 diff)
-
common/header.tpl.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htdocs/cacher/cacher.css
r1085 r1087 12 12 .hitsgraph { margin: auto; } 13 13 .hitsgraph a { display: block; float: left; border: 0 solid gray; } 14 .hitsgraph a { width: 2px; height: 20px; border-top-width: 1px; border-bottom-width: 1px; } /* update this along with index.php */ 14 15 .hitsgraph a * { display: block; } 15 16 .hitsgraph a.active { border-top-color: yellow; } -
trunk/htdocs/cacher/index.php
r1086 r1087 112 112 113 113 $html = array(); 114 static $cssOut = false;115 if (!$cssOut) {116 $cssOut = true;117 $html[] = '<style type="text/css">';118 $html[] = '.hitsgraph a { width: 2px; height: 20px; border-top-width: 1px; border-bottom-width: 1px; }';119 $html[] = '</style>';120 }121 122 114 $width = count($ci[$key]) * 2; 123 115 $html[] = '<div class="hitsgraph" style="width: ' . $width . 'px">'; -
trunk/htdocs/common/common.css
r1082 r1087 37 37 } 38 38 #header #banner { 39 font: 32px/51px serif;39 font: 32px/51px "arial", serif; 40 40 color: white; 41 font-family: "arial", serif;42 41 } 43 42 #header #banner a { -
trunk/htdocs/common/common.php
r1086 r1087 52 52 "http://www.lighttpd.net/" => "Lighttpd", 53 53 ) as $url => $title) { 54 $html[] = sprintf('<a href="%s" target="_blank">%s</a>', $url, $title);54 $html[] = sprintf('<a href="%s" rel="external">%s</a>', $url, $title); 55 55 } 56 56 return implode('|', $html); … … 119 119 } 120 120 } 121 else if (!empty($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { 122 foreach (explode(',', str_replace(' ', '', $_SERVER['HTTP_ACCEPT_LANGUAGE'])) as $lang) { 123 $lang = strtok($lang, ':;'); 124 $file = get_language_file_ex($name, $lang); 125 if (isset($file)) { 126 $config['lang'] = $lang; 127 break; 128 } 129 if (strpos($lang, '-') !== false) { 130 $file = get_language_file_ex($name, strtok($lang, ':-')); 121 else { 122 $config['lang'] = 'en'; 123 124 if (!empty($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { 125 foreach (explode(',', str_replace(' ', '', $_SERVER['HTTP_ACCEPT_LANGUAGE'])) as $lang) { 126 $lang = strtok($lang, ':;'); 127 $file = get_language_file_ex($name, $lang); 131 128 if (isset($file)) { 132 129 $config['lang'] = $lang; 133 130 break; 131 } 132 if (strpos($lang, '-') !== false) { 133 $file = get_language_file_ex($name, strtok($lang, ':-')); 134 if (isset($file)) { 135 $config['lang'] = $lang; 136 break; 137 } 134 138 } 135 139 } -
trunk/htdocs/common/footer.tpl.php
r1068 r1087 4 4 <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /> 5 5 </a> 6 <a href="http:// feed.w3.org/check.cgi?url=http://<?php echo $_SERVER["HTTP_HOST"], $_SERVER["REQUEST_URI"]; ?>">7 <img s rc="http://validator.w3.org/feed/images/valid-rss-rogers.png" alt="Valid RSS" title="Validate my RSS feed" />6 <a href="http://jigsaw.w3.org/css-validator/check/referer"> 7 <img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!" /> 8 8 </a> 9 9 <div id="poweredBy"> -
trunk/htdocs/common/header.tpl.php
r1085 r1087 14 14 <div id="header"> 15 15 <div id="banner"> 16 <a href="http://xcache.lighttpd.net/" target="_blank"><img src="../common/xcache.png" id="logo" width="175" height="51" />16 <a href="http://xcache.lighttpd.net/" rel="external"><img src="../common/xcache.png" id="logo" alt="XCache logo" width="175" height="51" /> 17 17 <?php echo $xcache_version; ?> - <?php echo ucfirst($GLOBALS['module']); ?> 18 18 </a>
Note: See TracChangeset
for help on using the changeset viewer.

