From 3dec9f77a5449a73b61bc4522e17e1069c827f89 Mon Sep 17 00:00:00 2001 From: Franck VILLAUME Date: Thu, 18 Nov 2010 17:11:26 +0000 Subject: [PATCH] cleanup and remove deprecated imgroot --- src/www/include/Layout.class.php | 45 +++++++++++--------------------- 1 file changed, 15 insertions(+), 30 deletions(-) diff --git a/src/www/include/Layout.class.php b/src/www/include/Layout.class.php index 2785347ea4..673ae3ac5c 100644 --- a/src/www/include/Layout.class.php +++ b/src/www/include/Layout.class.php @@ -51,64 +51,52 @@ class Layout extends Error { /** * The default main page content - * @var string $rootindex + * @var string $rootindex */ var $rootindex = 'index_std.php'; /** * The base directory of the theme in the servers file system - * @var string $themedir + * @var string $themedir */ var $themedir; /** * The base url of the theme - * @var string $themeurl + * @var string $themeurl */ var $themeurl; /** * The base directory of the image files in the servers file system - * @var string $imgdir + * @var string $imgdir */ var $imgdir; /** * The base url of the image files - * @var string $imgbaseurl + * @var string $imgbaseurl */ var $imgbaseurl; /** * The base directory of the js files in the servers file system - * @var string $jsdir + * @var string $jsdir */ var $jsdir; /** * The base url of the js files - * @var string $jsbaseurl + * @var string $jsbaseurl */ var $jsbaseurl; - /* - * kept for backwards compatibility - */ - /** - * The base directory of the theme - * @var string $themeroot - * @todo: remove in 5.0 - * @deprecated deprecated since 4.9 - */ - var $imgroot; - /** * The navigation object that provides the basic links. Should * not be modified. */ var $navigation; - /** * The color bars in pm reporting */ @@ -165,8 +153,6 @@ class Layout extends Error { $this->addStylesheet('/themes/css/fusionforge.css'); - // for backward compatibility - $this->imgroot = $this->imgbaseurl; } function addJavascript($js) { @@ -238,7 +224,6 @@ class Layout extends Error { $this->bodyHeader($params); } - /** * headerStart() - generates the header code for all themes up to the * closing . @@ -333,13 +318,13 @@ class Layout extends Error { */ function headerJS() { echo ' - - - - - - - + + + + + + +