1
0
Fork 0

htdocs: more links, translate, remove debug code.

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1069 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 11 years ago
parent 1761854eb5
commit 36cd5dd935

@ -1,6 +1,6 @@
<?php
$strings = array(
$strings += array(
'XCache Help'
=> 'XCache 帮助信息',
'Help'

@ -1,6 +1,6 @@
<?php
$strings = array(
$strings += array(
'XCache Help'
=> 'XCache 說明訊息',
'Help'

@ -23,5 +23,6 @@ dl { overflow: hidden; }
dt { font-weight: bold; clear: both; float: left; width: 100px; text-align: right; margin: 0; }
dd { margin: 0; }
.blockarea { overflow: hidden; width: 400px; }
.legends { padding-bottom: 8px; }
div.legend { float: left; border: 1px solid gray; font: 12px/12px monospace; }
div.legendtitle { float: left; padding: 2px; padding-right: 10px; font: 12px/12px monospace; }

@ -34,9 +34,6 @@ function freeblock_to_graph($freeblocks, $size)
if ($config['percent_graph_type'] != 'free') {
$v = 1 - $v;
}
if ($k % 30 == 0) {
$v = 1;
}
$v = (int) ($v * $c);
$r = $g = $c - $v;
$b = $c;

@ -1,10 +1,16 @@
<?php
$strings = array(
$strings += array(
'Cacher'
=> '缓存器',
'Coverager'
=> '代码覆盖查看器',
'Document'
=> '帮助文档',
'Get Support'
=> '获取支持',
'Discusson'
=> '讨论',
''
=> '',
);

@ -1,10 +1,16 @@
<?php
$strings = array(
$strings += array(
'Cacher'
=> '快取器',
'Coverager'
=> '代码覆盖查看器',
'Document'
=> '幫助文檔',
'Get Support'
=> '獲取支持',
'Discusson'
=> '討論',
''
=> '',
);

@ -70,6 +70,9 @@ h1, h2, h3, h4, h5, h6 {
#header #mainnav a:active, #header #mainnav a:hover {
color: red;
}
#header #mainnav a {
padding: 0 8px 0 8px;
}
#headerbase {
background: #1163BC;
border: 1px solid #334C66;

@ -44,8 +44,11 @@ function mainnav()
{
foreach (array(
"http://xcache.lighttpd.net/" => "XCache",
"http://xcache.lighttpd.net/wiki/DocTOC" => _("Document"),
"http://xcache.lighttpd.net/wiki/GetSupport" => _("Get Support"),
"https://groups.google.com/group/xcache/" => _("Discusson"),
"http://www.php.net/" => "PHP",
"http://www.lighttpd.net/" => "LIGHTTPD",
"http://www.lighttpd.net/" => "Lighttpd",
) as $url => $title) {
$html[] = sprintf('<a href="%s" target="_blank">%s</a>', $url, $title);
}
@ -254,6 +257,7 @@ if (file_exists("./config.php")) {
include("./config.php");
}
$strings = array();
include(get_language_file("../common/common"));
$modules = array();

Loading…
Cancel
Save