aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/shells
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-21 20:29:17 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-21 20:29:17 +0000
commit2aae26964b28be8281a75cf97034c90b8c8d736e (patch)
treedb4b90883392853a65a44d3c334e16932ac31ac6 /views/default/page/shells
parenteb1f78b48658b9ffaac228652a390102ab886dea (diff)
downloadelgg-2aae26964b28be8281a75cf97034c90b8c8d736e.tar.gz
elgg-2aae26964b28be8281a75cf97034c90b8c8d736e.tar.bz2
Refs #2950: Move page/shells/ directly under /page/ since nowhere else in views do we use a shells directory.
git-svn-id: http://code.elgg.org/elgg/trunk@8387 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page/shells')
-rw-r--r--views/default/page/shells/admin.php28
-rw-r--r--views/default/page/shells/default.php65
-rw-r--r--views/default/page/shells/upgrade.php22
-rw-r--r--views/default/page/shells/walled_garden.php78
4 files changed, 0 insertions, 193 deletions
diff --git a/views/default/page/shells/admin.php b/views/default/page/shells/admin.php
deleted file mode 100644
index 211bd4037..000000000
--- a/views/default/page/shells/admin.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-/**
- * Elgg pageshell for the admin area
- *
- * @package Elgg
- * @subpackage Core
- *
- * @uses $vars['title'] The page title
- * @uses $vars['body'] The main content of the page
- * @uses $vars['sysmessages'] A 2d array of various message registers, passed from system_messages()
- */
-
-// Set the content type
-header("Content-type: text/html; charset=UTF-8");
-?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-<?php echo elgg_view('page/elements/head', $vars); ?>
-</head>
-<body>
- <div class="elgg-page elgg-page-admin">
- <?php echo $vars['body']; ?>
- </div>
- <?php echo elgg_view('footer/analytics'); ?>
-</body>
-
-</html> \ No newline at end of file
diff --git a/views/default/page/shells/default.php b/views/default/page/shells/default.php
deleted file mode 100644
index ba11fd69b..000000000
--- a/views/default/page/shells/default.php
+++ /dev/null
@@ -1,65 +0,0 @@
-<?php
-/**
- * Elgg pageshell
- * The standard HTML page shell that everything else fits into
- *
- * @package Elgg
- * @subpackage Core
- *
- * @uses $vars['title'] The page title
- * @uses $vars['body'] The main content of the page
- * @uses $vars['sysmessages'] A 2d array of various message registers, passed from system_messages()
- */
-
-// backward compatability support for plugins that are not using the new approach
-// of routing through pg/admin. See reportedcontent plugin for a simple example.
-if (elgg_get_context() == 'admin') {
- elgg_deprecated_notice("admin plugins should route through pg/admin.", 1.8);
- elgg_admin_add_plugin_settings_menu();
- elgg_unregister_css('elgg');
- echo elgg_view('page/shells/admin', $vars);
- return true;
-}
-
-// Set the content type
-header("Content-type: text/html; charset=UTF-8");
-
-?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-<?php echo elgg_view('page/elements/head', $vars); ?>
-</head>
-<body>
-<div class="elgg-page elgg-page-classic">
- <div class="elgg-page-messages">
- <?php echo elgg_view('page/elements/messages', array('object' => $vars['sysmessages'])); ?>
- </div>
-
- <?php if (elgg_is_logged_in()): ?>
- <div class="elgg-page-topbar">
- <div class="elgg-inner">
- <?php echo elgg_view('page/elements/topbar', $vars); ?>
- </div>
- </div>
- <?php endif; ?>
-
- <div class="elgg-page-header">
- <div class="elgg-inner">
- <?php echo elgg_view('page/elements/header', $vars); ?>
- </div>
- </div>
- <div class="elgg-page-body">
- <div class="elgg-inner">
- <?php echo elgg_view('page/elements/body', $vars); ?>
- </div>
- </div>
- <div class="elgg-page-footer">
- <div class="elgg-inner">
- <?php echo elgg_view('page/elements/footer', $vars); ?>
- </div>
- </div>
-</div>
-<?php echo elgg_view('footer/analytics'); ?>
-</body>
-</html> \ No newline at end of file
diff --git a/views/default/page/shells/upgrade.php b/views/default/page/shells/upgrade.php
deleted file mode 100644
index b598c3c6a..000000000
--- a/views/default/page/shells/upgrade.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-/**
- * Page shell for upgrade script
- *
- * Displays an ajax loader until upgrade is complete
- */
-?>
-<html>
- <head>
- <title><?php echo elgg_echo('upgrading'); ?></title>
- <meta http-equiv="refresh" content="1;url=<?php echo elgg_get_site_url(); ?>upgrade.php?upgrade=upgrade"/>
- </head>
- <body bgcolor="white">
- <table width="100%" height="100%" border="0" style="margin: 0px; padding: 0px">
- <tr>
- <td width="100%" height="100%" valign="middle" align="center">
- <img src="<?php echo elgg_get_site_url(); ?>_graphics/ajax_loader_bw.gif" alt="upgrading" />
- </td>
- </tr>
- </table>
- </body>
-</html> \ No newline at end of file
diff --git a/views/default/page/shells/walled_garden.php b/views/default/page/shells/walled_garden.php
deleted file mode 100644
index 74b4f3029..000000000
--- a/views/default/page/shells/walled_garden.php
+++ /dev/null
@@ -1,78 +0,0 @@
-<?php
-/**
- *
- */
-
-// Set the content type
-header("Content-type: text/html; charset=UTF-8");
-
-// Set title
-$site_title = elgg_get_config('sitename');
-if (empty($vars['title'])) {
- $title = $site_title;
-} else if (empty($site_title)) {
- $title = $vars['title'];
-} else {
- $title = $site_title . ": " . $vars['title'];
-}
-
-// @todo - move the css below into it's own style-sheet
-// that is called when running as a private network
-?>
-<html>
-<head>
-<?php echo elgg_view('page/elements/head', $vars); ?>
- <style type="text/css">
- /* ***************************************
- WalledGarden
- *************************************** */
- .elgg-grid-walledgarden {
- margin:100px auto 0 auto;
- padding:0;
- width:600px;
- text-align: left;
- word-wrap:break-word;
- background: gray;
- }
-
- .elgg-grid-walledgarden > .elgg-col {
- background: white;
- }
-
- .elgg-heading-walledgarden {
- color:#666666;
- margin-top:80px;
- line-height: 1.1em;
- }
-
- .walledgardenlogin h2 {
- color:#666666;
- border-bottom:1px solid #CCCCCC;
- margin-bottom:5px;
- padding-bottom:5px;
- }
-
-
- </style>
-</head>
-<body>
-<div class="elgg-page elgg-page-walledgarden">
- <div class="elgg-page-messages">
- <?php echo elgg_view('page/elements/messages', array('object' => $vars['sysmessages'])); ?>
- </div>
- <div class="elgg-page-body">
- <div class="elgg-inner">
- <div class="elgg-grid elgg-grid-walledgarden">
- <div class="elgg-col elgg-col-1of2">
- <h1 class="elgg-heading-walledgarden">Welcome to:<br /><?php echo $title; ?></h1>
- </div>
- <div class="elgg-col elgg-col-1of2">
- <?php echo $vars['body']; ?>
- </div>
- </div>
- </div>
- </div>
-</div>
-<?php echo elgg_view('footer/analytics'); ?>
-</body>
-</html> \ No newline at end of file