87 |
|
global $translation; |
88 |
|
|
89 |
|
$this->lang_tab = array( |
90 |
< |
"ar" => "العربية", // Arabic |
90 |
> |
"ar" => "العربية", // Arabic |
91 |
|
"bs" => "Bosanski", // Bosnian |
92 |
|
"bg" => "български", // Bulgarian |
93 |
|
"ca" => "Català", // Catalan |
94 |
|
"cs" => "Čeština", // Czech |
95 |
– |
"zh-cn" => "Chinese Simp", |
96 |
– |
"zh-tw" => "Chinese Trad", |
95 |
|
"da" => "Dansk", // Danish |
98 |
– |
"en" => "English", // English << DEFAULT |
99 |
– |
"nl" => "Nederlands", // Dutch |
96 |
|
"de" => "Deutsch", // German |
97 |
+ |
"en" => "English", // English << DEFAULT |
98 |
|
"fr" => "Français", // French |
99 |
|
"fi" => "Suomi", // Finnish |
100 |
|
"el" => "Ελληνικά", // Greek |
101 |
+ |
"es" => "Español", // Spanish |
102 |
|
"et" => "Eesti keel", // Estonian |
103 |
|
"hu" => "Magyar", // Hungarian |
104 |
|
"id" => "Bahasa Indonésia", // Indonesian |
105 |
|
"it" => "Italiano", // Italian |
106 |
|
"ja" => "日本語", // Japanese |
107 |
< |
"ko" => "한국어", // Korean |
107 |
> |
"ko" => "한국어", // Korean |
108 |
|
"lt" => "Lietuvių", // Lithuanian |
109 |
|
"mk" => "Македонски", // Macedonian |
110 |
|
"nb" => "Norsk Bokmål", // Norwegian Bokmål |
111 |
+ |
"nl" => "Nederlands", // Dutch |
112 |
|
"pl" => "Polski", // Polish |
113 |
|
"pt" => "Português", // Portuguese |
114 |
< |
"pt-br" => "Português Brasil", // Portuguese Br |
115 |
< |
"ro" => "Romanian", |
114 |
> |
"pt-br" => "Português Brasil", // Brazilian Portuguese |
115 |
> |
"ro" => "Română", // Romanian |
116 |
|
"ru" => "Русский", // Russian |
117 |
< |
"sk" => "Slovak", |
118 |
< |
"sl" => "Slovenian", |
119 |
< |
"es" => "Español", // Spanish |
120 |
< |
"sv" => "Swedish", |
121 |
< |
"th" => "Thai", |
122 |
< |
"tr" => "Turkish", |
123 |
< |
"uk" => "Ukrainian" |
117 |
> |
"sk" => "Slovenčina", // Slovak |
118 |
> |
"sl" => "Slovenski", // Slovenian |
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'])) ? |
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> © ".$translation['global_bbclone_copyright'] |
289 |
> |
return "<p><a href=\"http://www.bbclone.de/\">BBClone ".$BBC_VERSION.$BBC_BUILD." ".$BBC_EXT_LOOKUP."</a> © ".$translation['global_bbclone_copyright'] |
290 |
|
." <a href=\"http://www.gnu.org/copyleft/gpl.html\">GPL</a>\n" |
291 |
|
." <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" |