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 177 by matthys, Tue Dec 24 10:05:32 2013 UTC vs.
Revision 227 by matthys, Tue Jan 14 14:24:08 2014 UTC

# 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