diff --git a/include/Controller.php b/include/Controller.php index cff0a748..191c94cd 100644 --- a/include/Controller.php +++ b/include/Controller.php @@ -1,4 +1,6 @@ _smarty->configLoad($fname); } - + setlocale(LC_TIME, $Smarty->getConfigVars('locale')); /** diff --git a/include/ExceptionHandler.php b/include/ExceptionHandler.php index 816762b9..f77b36fa 100644 --- a/include/ExceptionHandler.php +++ b/include/ExceptionHandler.php @@ -1,9 +1,11 @@ _title; } - + /* Get the anchor. */ public function getAnchor() { diff --git a/include/Objects/CompatGame.php b/include/Objects/CompatGame.php index d5bf6f5a..b204f213 100644 --- a/include/Objects/CompatGame.php +++ b/include/Objects/CompatGame.php @@ -1,4 +1,6 @@ _target; } - + /* Get the category for the demo. */ public function getCategory() { diff --git a/include/Objects/MenuItem.php b/include/Objects/MenuItem.php index c835e47b..2a40fa61 100644 --- a/include/Objects/MenuItem.php +++ b/include/Objects/MenuItem.php @@ -1,4 +1,6 @@ _description; } - + /* Get the user-agent. */ public function getUserAgent() { diff --git a/include/Pages/CompatibilityPage.php b/include/Pages/CompatibilityPage.php index c1113f80..3eac48df 100644 --- a/include/Pages/CompatibilityPage.php +++ b/include/Pages/CompatibilityPage.php @@ -1,4 +1,6 @@ renderPage( array( 'title' => preg_replace('/{version}/', $version, $Smarty->getConfigVars('compatibilityTitle')), @@ -94,7 +96,7 @@ class CompatibilityPage extends Controller $compat_data = CompatibilityModel::getAllData($version); global $Smarty; - + return $this->renderPage( array( 'title' => preg_replace('/{version}/', $version, $Smarty->getConfigVars('compatibilityTitle')), diff --git a/include/Pages/ContactPage.php b/include/Pages/ContactPage.php index 2b9794c2..4495e21c 100644 --- a/include/Pages/ContactPage.php +++ b/include/Pages/ContactPage.php @@ -1,4 +1,6 @@ renderPage( array( 'title' => $Smarty->getConfigVars('creditsTitle'), diff --git a/include/Pages/DemosPage.php b/include/Pages/DemosPage.php index 52e8ed92..9bd7758c 100644 --- a/include/Pages/DemosPage.php +++ b/include/Pages/DemosPage.php @@ -1,4 +1,6 @@ getRecommendedDownloadsJS($downloads); global $Smarty; - + return $this->renderPage( array( 'title' => $Smarty->getConfigVars('downloadsTitle'), diff --git a/include/Pages/ExceptionsPage.php b/include/Pages/ExceptionsPage.php index b9172522..15bdfb00 100644 --- a/include/Pages/ExceptionsPage.php +++ b/include/Pages/ExceptionsPage.php @@ -1,4 +1,6 @@ renderPage( array( 'title' => $Smarty->getConfigVars('linksTitle'), diff --git a/include/Pages/NewsPage.php b/include/Pages/NewsPage.php index 2d864d84..d48c02f7 100644 --- a/include/Pages/NewsPage.php +++ b/include/Pages/NewsPage.php @@ -1,4 +1,6 @@