ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/BBClone/trunk/lib/html.php
(Generate patch)

Comparing trunk/lib/html.php (file contents):
Revision 154 by joku, Thu Dec 19 17:16:49 2013 UTC vs.
Revision 227 by matthys, Tue Jan 14 14:24:08 2014 UTC

# Line 116 | Line 116 | class bbc_html {
116        "ru"    => "Русский",          // Russian
117        "sk"    => "Slovenčina",       // Slovak
118        "sl"    => "Slovenski",        // Slovenian
119 <      "sv"    => "Swedish",
120 <      "th"    => "Thai",
121 <      "tr"    => "Turkish",
122 <      "uk"    => "Ukrainian",
123 <      "zh-cn" => "Chinese Simp",
124 <      "zh-tw" => "Chinese Trad"
119 >      "sv"    => "Svenska",          // Swedish
120 >      "th"    => "ภาษาไทย",             // Thai
121 >      "tr"    => "Türkçe",           // Turkish
122 >      "uk"    => "українська",       // Ukrainian
123 >      "zh-cn" => "中文(简体)",          // Simplified Chinese
124 >      "zh-tw" => "中文(繁體)"          // Traditional Chinese
125      );
126      $this->lng = $this->get_lng();
127      $this->server = ((_BBC_PHP < 410) ? !empty($HTTP_SERVER_VARS['SERVER_NAME']) : !empty($_SERVER['SERVER_NAME'])) ?
# Line 275 | Line 275 | class bbc_html {
275  
276    // BBClone copyright notice
277    function copyright() {
278 <  global $BBC_IMAGES_PATH, $BBC_VERSION, $BBC_EXT_LOOKUP, $translation;
278 >  global $BBC_CONF_PATH, $BBC_IMAGES_PATH, $BBC_VERSION, $BBC_EXT_LOOKUP, $translation;
279  
280    // Get Build No
281 <  if (is_readable("build.inc")) $BBC_BUILDNO = file_get_contents("build.inc");
282 <  else $BBC_BUILDNO = "";
281 >  if (is_readable($BBC_CONF_PATH."build_version.inc")) {
282 >    $BBC_BUILD_NO = trim(file_get_contents($BBC_CONF_PATH."build_version.inc"));
283 >    if ($BBC_BUILD_NO !='') $BBC_BUILD = " (build ".$BBC_BUILD_NO.")";
284 >  } else {
285 >    $BBC_BUILD = "";
286 >  }
287 >  
288  
289 <  return "<p><a href=\"http://www.bbclone.de/\">BBClone ".$BBC_VERSION." ".$BBC_EXT_LOOKUP."</a>&nbsp;&copy;&nbsp;".$translation['global_bbclone_copyright']
289 >  return "<p><a href=\"http://www.bbclone.de/\">BBClone ".$BBC_VERSION.$BBC_BUILD." ".$BBC_EXT_LOOKUP."</a>&nbsp;&copy;&nbsp;".$translation['global_bbclone_copyright']
290          ."&nbsp;<a href=\"http://www.gnu.org/copyleft/gpl.html\">GPL</a>\n"
291          ."&nbsp;<a href=\"http://validator.w3.org/check?url=referer\">"
292          ."<img src=\"".$BBC_IMAGES_PATH."valid-xhtml10.png\" class=\"validicon\" alt=\"Valid XHTML 1.0!\" title=\"Valid XHTML 1.0!\" /></a>\n"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines