87 |
|
global $translation; |
88 |
|
|
89 |
|
$this->lang_tab = array( |
90 |
< |
"ar" => "Arabic", |
91 |
< |
"bs" => "Bosnian", |
92 |
< |
"bg" => "Bulgarian", |
93 |
< |
"ca" => "Catalan", |
94 |
< |
"cs" => "Czech", |
95 |
< |
"zh-cn" => "Chinese Simp", |
96 |
< |
"zh-tw" => "Chinese Trad", |
97 |
< |
"da" => "Danish", |
98 |
< |
"en" => "English", |
99 |
< |
"nl" => "Nederlands", |
100 |
< |
"de" => "Deutsch", |
101 |
< |
"fr" => "Français", |
102 |
< |
"fi" => "Finnish", |
103 |
< |
"el" => "Greek", |
104 |
< |
"et" => "Estonian", |
105 |
< |
"hu" => "Hungarian", |
106 |
< |
"id" => "Indonesian", |
107 |
< |
"it" => "Italian", |
108 |
< |
"ja" => "Japanese", |
109 |
< |
"ko" => "Korean", |
110 |
< |
"lt" => "Lithuanian", |
111 |
< |
"mk" => "Macedonian", |
112 |
< |
"nb" => "Norwegian Bkm", |
113 |
< |
"pl" => "Polish", |
114 |
< |
"pt" => "Portuguese", |
115 |
< |
"pt-br" => "Portuguese Br", |
116 |
< |
"ro" => "Romanian", |
117 |
< |
"ru" => "Russian", |
118 |
< |
"sk" => "Slovak", |
119 |
< |
"sl" => "Slovenian", |
120 |
< |
"es" => "Spanish", |
121 |
< |
"sv" => "Swedish", |
122 |
< |
"th" => "Thai", |
123 |
< |
"tr" => "Turkish", |
124 |
< |
"uk" => "Ukrainian" |
90 |
> |
"ar" => "العربية", // Arabic |
91 |
> |
"bs" => "Bosanski", // Bosnian |
92 |
> |
"bg" => "български", // Bulgarian |
93 |
> |
"ca" => "Català", // Catalan |
94 |
> |
"cs" => "Čeština", // Czech |
95 |
> |
"da" => "Dansk", // Danish |
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 |
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", // Brazilian Portuguese |
115 |
> |
"ro" => "Română", // Romanian |
116 |
> |
"ru" => "Русский", // Russian |
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" |