Index: aether/footer.php
===================================================================
--- aether/footer.php
+++ aether/footer.php
@@ -5,12 +5,12 @@
Index: aether/header.php
===================================================================
--- aether/header.php
+++ aether/header.php
@@ -5,118 +5,100 @@
-
= htmlspecialchars($pageConfig['title']); ?> - KDE.org
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
- ');
- }
+
+
+
+
+
+
+
+
+ ');
+ }
- if(@include_once ("functions.inc")) {
- setup_site();
-
- if (!isset($site_locale))
- {
- if (isset($_GET['site_locale']))
+ if(@include_once ("functions.inc")) {
+ setup_site();
+
+ if (!isset($site_locale))
{
- $site_locale = htmlentities($_GET['site_locale']);
- setcookie('site_locale', $site_locale, time()+31536000, '/', "." . $_SERVER['SERVER_NAME']);
- }
- else
- {
- if (isset($_COOKIE['site_locale']))
+ if (isset($_GET['site_locale']))
{
- $site_locale = htmlentities($_COOKIE['site_locale']);
+ $site_locale = htmlentities($_GET['site_locale']);
+ setcookie('site_locale', $site_locale, time()+31536000, '/', "." . $_SERVER['SERVER_NAME']);
}
else
{
- if (!isset($default_site_locale))
+ if (isset($_COOKIE['site_locale']))
{
- $site_locale = "en";
+ $site_locale = htmlentities($_COOKIE['site_locale']);
}
else
{
- $site_locale = $default_site_locale;
+ if (!isset($default_site_locale))
+ {
+ $site_locale = "en";
+ }
+ else
+ {
+ $site_locale = $default_site_locale;
+ }
}
}
}
+
+ // set php locale
+ setlocale(LC_ALL, $site_locale);
+
+ // start up our i18n stuff
+ startTranslation($site_locale);
}
-
- // set php locale
- setlocale(LC_ALL, $site_locale);
-
- // start up our i18n stuff
- startTranslation($site_locale);
- }
- ?>
-
-
-
-
-
-
-
-
-
-
+ ?>
+
+
+
+
+
+
+
-
-
-