summaryrefslogtreecommitdiff
path: root/themes/_administration/theme.php
diff options
context:
space:
mode:
Diffstat (limited to 'themes/_administration/theme.php')
-rw-r--r--themes/_administration/theme.php30
1 files changed, 2 insertions, 28 deletions
diff --git a/themes/_administration/theme.php b/themes/_administration/theme.php
index 48e96d06c9..72440131fe 100644
--- a/themes/_administration/theme.php
+++ b/themes/_administration/theme.php
@@ -2,10 +2,7 @@
// Administration theme
//
// webtrees: Web based Family History software
-// Copyright (C) 2014 webtrees development team.
-//
-// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team.
+// Copyright (C) 2015 webtrees development team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -21,27 +18,4 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-if (!defined('WT_WEBTREES')) {
- header('HTTP/1.0 403 Forbidden');
- exit;
-}
-
-// Theme name - this needs double quotes, as file is scanned/parsed by script
-$theme_name = "_administration";
-
-// A version number in the path prevents browser-cache problems during upgrade
-define('WT_CSS_URL', WT_THEME_URL . 'css-1.6.2/');
-
-$headerfile = WT_THEME_DIR . 'header.php';
-$footerfile = WT_THEME_DIR . 'footer.php';
-
-// Main icons
-$WT_IMAGES=array(
- // Lightbox module uses this in manage media links, and also admin_media.php for delete folder.
- 'remove' => WT_CSS_URL . 'images/delete.png',
-
- // Need different sizes before moving to CSS
- 'default_image_F' => WT_CSS_URL . 'images/silhouette_female.png',
- 'default_image_M' => WT_CSS_URL . 'images/silhouette_male.png',
- 'default_image_U' => WT_CSS_URL . 'images/silhouette_unknown.png',
-);
+return new WT\Theme\Administration();