Changeset 125
- Timestamp:
- 2006-09-03T04:20:24+02:00 (7 years ago)
- Location:
- trunk/admin
- Files:
-
- 6 edited
-
common-en.lang.php (modified) (1 diff)
-
common.php (modified) (2 diffs)
-
config.php.example (modified) (1 diff)
-
help.php (modified) (1 diff)
-
xcache.css (modified) (1 diff)
-
xcache.tpl.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/common-en.lang.php
r123 r125 1 1 <?php 2 2 3 // empty 3 $GLOBALS['show_todo_strings'] = false; 4 4 5 5 ?> -
trunk/admin/common.php
r123 r125 33 33 $file = get_language_file_ex($name, $l, $s); 34 34 if (isset($file)) { 35 $lang = $l; 35 36 break; 36 37 } 37 38 if (strpos($l, '-') !== false) { 38 $l = strtok($l, '-');39 $file = get_language_file_ex($name, $l , $s);39 $ll = strtok($l, '-'); 40 $file = get_language_file_ex($name, $ll, $s); 40 41 if (isset($file)) { 42 $lang = $l; 41 43 break; 42 44 } … … 67 69 68 70 include(get_language_file("common")); 71 if (!isset($lang)) { 72 $lang = 'en-us'; 73 } 69 74 70 75 ?> -
trunk/admin/config.php.example
r123 r125 17 17 { 18 18 $o = str_replace($_SERVER['DOCUMENT_ROOT'], "{DOCROOT}/", $o); 19 $xcachedir = realpath(dirname(__FILE__) . "/../"); 20 $o = str_replace($xcachedir . "/", "{XCache}/", $o); 19 21 $o = str_replace("/home/", "{H}/", $o); 20 22 return $o; -
trunk/admin/help.php
r123 r125 5 5 <html xmlns="http://www.w3.org/1999/xhtml"> 6 6 <head> 7 <meta http-equiv="Content-Language" content="en-us" />8 7 <?php 9 8 echo <<<HEAD 10 9 <meta http-equiv="Content-Type" content="text/html; charset=$charset" /> 11 <meta http-equiv="Content-Language" content="$lang" />10 <meta http-equiv="Content-Language" content="$lang" /> 12 11 <script type="text/javascript" src="tablesort.js" charset="$charset"></script> 13 12 HEAD; -
trunk/admin/xcache.css
r123 r125 4 4 table.cycles .col2 { background-color: #e0e0e0; } 5 5 table.cycles th, table.cycles td { border-top: 1px solid white; border-left: 1px solid white; } 6 table.cycles th { background-color: #707090; color: white; font-weight: bold; height: 20px; line-height: 16px; font-family: serif; }6 table.cycles th { background-color: #707090; color: white; font-weight: bold; height: 20px; line-height: 20px; font-family: serif; } 7 7 th a { color: white; font-weight: bold; display: block; width: 100%; height: 100%; } 8 8 .button { } -
trunk/admin/xcache.tpl.php
r123 r125 2 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 3 <head> 4 <meta http-equiv="Content-Language" content="en-us" />5 4 <?php 6 5 echo <<<HEAD 7 6 <meta http-equiv="Content-Type" content="text/html; charset=$charset" /> 7 <meta http-equiv="Content-Language" content="$lang" /> 8 8 <script type="text/javascript" src="tablesort.js" charset="$charset"></script> 9 9 HEAD;
Note: See TracChangeset
for help on using the changeset viewer.

