aboutsummaryrefslogtreecommitdiff
path: root/mod/walledgarden/views
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-18 21:01:02 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-18 21:01:02 +0000
commitadf88a67474f751abe283d72dcbda3cc126ed67b (patch)
treef30fb4b483c6c1e4e07dc29c01e13c20c25758f0 /mod/walledgarden/views
parent9edaa3c385610ebb45a9e8282a002e666d7d8c91 (diff)
downloadelgg-adf88a67474f751abe283d72dcbda3cc126ed67b.tar.gz
elgg-adf88a67474f751abe283d72dcbda3cc126ed67b.tar.bz2
Removing Walled Garden plugin from trunk.
git-svn-id: http://code.elgg.org/elgg/trunk@6088 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/walledgarden/views')
-rw-r--r--mod/walledgarden/views/default/account/forms/login.php59
-rw-r--r--mod/walledgarden/views/default/page_shells/walled_garden_index.php39
-rw-r--r--mod/walledgarden/views/default/walledgarden/css.php83
-rw-r--r--mod/walledgarden/views/default/walledgarden/walledgarden.php15
4 files changed, 0 insertions, 196 deletions
diff --git a/mod/walledgarden/views/default/account/forms/login.php b/mod/walledgarden/views/default/account/forms/login.php
deleted file mode 100644
index 3b638a2f5..000000000
--- a/mod/walledgarden/views/default/account/forms/login.php
+++ /dev/null
@@ -1,59 +0,0 @@
-<?php
-/**
-* Walled Garden Login Form
-*/
-
-global $CONFIG;
-
-$form_body = "<label>" . elgg_echo('username') . "<br />" . elgg_view('input/text', array('internalname' => 'username', 'class' => 'login_textarea username')) . "</label>";
-$form_body .= "<br />";
-$form_body .= "<label>" . elgg_echo('password') . "<br />" . elgg_view('input/password', array('internalname' => 'password', 'class' => 'login_textarea')) . "</label><br />";
-$form_body .= elgg_view('input/hidden', array('internalname' => 'returntoreferer', 'value' => 'true'));
-$form_body .= elgg_view('input/submit', array('value' => elgg_echo('login')));
-$form_body .= "<div class='remember_me'><label><input type='checkbox' name='persistent' checked value='true' />".elgg_echo('user:persistent')."</label></div>";
-$form_body .= "<p class='lost_password'><a class='forgotten_password_link' href=\"{$login_url}account/forgotten_password.php\">" . elgg_echo('user:password:lost') . "</a></p>";
-
-$login_url = $vars['url'];
-if ((isset($CONFIG->https_login)) && ($CONFIG->https_login)) {
- $login_url = str_replace("http", "https", $vars['url']);
-}
-?>
-<style type="text/css">
- body {background:white !important; text-align: center !important;}
-</style>
-<h2><?php echo elgg_echo('login'); ?></h2>
-<?php
- echo elgg_view('input/form', array('body' => $form_body, 'action' => "{$login_url}action/login"));
- echo elgg_view('login/extend'); // view for plugins to extend
-?>
-
-<div class="lostpassword_form margin_top hidden">
- <?php
- $lostpassword_form_body = "<p>" . elgg_echo('user:password:text') . "</p>";
- $lostpassword_form_body .= "<p class='margin_none'><label>". elgg_echo('username') . " "
- . elgg_view('input/text', array('internalname' => 'username', 'class' => 'login_textarea lostusername')) . "</label></p>";
- $lostpassword_form_body .= elgg_view('input/captcha');
- $lostpassword_form_body .= "<p>" . elgg_view('input/submit', array('value' => elgg_echo('request'))) . "</p>";
-
- ?>
- <h2><?php echo elgg_echo('user:password:lost'); ?></h2>
- <?php
- echo elgg_view('input/form', array(
- 'action' => "{$vars['url']}action/user/requestnewpassword",
- 'body' => $lostpassword_form_body,
- 'class' => "margin_top"
- ));
- ?>
-</div>
-
-<script type="text/javascript">
-$(document).ready(function() {
- $('input.username').focus();
-
- $('a.forgotten_password_link').click(function(e) {
- e.preventDefault();
- elgg_slide_toggle(this, '.walledgardenlogin', '.lostpassword_form');
- $('input.lostusername').focus();
- });
-});
-</script> \ No newline at end of file
diff --git a/mod/walledgarden/views/default/page_shells/walled_garden_index.php b/mod/walledgarden/views/default/page_shells/walled_garden_index.php
deleted file mode 100644
index 3be9a1e45..000000000
--- a/mod/walledgarden/views/default/page_shells/walled_garden_index.php
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-/**
- * Elgg pageshell
- * The standard HTML page shell that everything else fits into
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- *
- * @uses $vars['config'] The site configuration settings, imported
- * @uses $vars['title'] The page title
- * @uses $vars['body'] The main content of the page
- * @uses $vars['messages'] A 2d array of various message registers, passed from system_messages()
- */
-
-// Set the content type
-header("Content-type: text/html; charset=UTF-8");
-
-// Set title
-if (empty($vars['title'])) {
- $title = $vars['config']->sitename;
-} else if (empty($vars['config']->sitename)) {
- $title = $vars['title'];
-} else {
- $title = $vars['config']->sitename . ": " . $vars['title'];
-}
-echo elgg_view('page_elements/html_begin', $vars);
-echo "<div id='walledgarden_sysmessages'>".elgg_view('messages/list', array('object' => $vars['sysmessages']))."</div>";
-
-echo "<div id='walledgarden_container'><div id='walledgarden' class='clearfloat'>";
- echo "<div class='walledgardenintro clearfloat'><h1>Welcome to:<br />" . $title . "</h1></div>";
- echo "<div class='walledgardenlogin clearfloat'>".$vars['body']."</div>";
-echo "</div>";
-echo "<div id='walledgarden_bottom'></div>";
-echo "</div>";
-echo elgg_view('page_elements/html_end', $vars);
-?>
-
diff --git a/mod/walledgarden/views/default/walledgarden/css.php b/mod/walledgarden/views/default/walledgarden/css.php
deleted file mode 100644
index a648b33aa..000000000
--- a/mod/walledgarden/views/default/walledgarden/css.php
+++ /dev/null
@@ -1,83 +0,0 @@
-<?php
-/**
-* Elgg WalledGarden CSS
-*/
-?>
-#walledgarden_container {
- margin:100px auto 0 auto;
- position:relative;
- padding:0;
- width:563px;
- background: url(<?php echo $vars['url']; ?>mod/walledgarden/graphics/background_extend.gif) repeat-y left top;
- text-align: left;
-}
-#walledgarden {
- position: relative;
- padding:0;
- width:563px;
- min-height:230px;
- background: url(<?php echo $vars['url']; ?>mod/walledgarden/graphics/background_top.gif) no-repeat left top;
-}
-#walledgarden_bottom {
- margin:0 auto;
- background: url(<?php echo $vars['url']; ?>mod/walledgarden/graphics/background_bottom.gif) no-repeat left bottom;
- width:563px;
- height:54px;
- position: relative;
-}
-.walledgardenintro {
- float:left;
- min-height:200px;
- width:223px;
- padding:15px;
- margin:19px 0 0 23px;
-}
-.walledgardenlogin {
- float:left;
- min-height:200px;
- width:223px;
- padding:15px 15px 0 15px;
- margin:19px 0 0 11px;
-}
-.walledgardenintro h1 {
- color:#666666;
- margin-top:80px;
- line-height: 1.1em;
-}
-.walledgardenlogin h2 {
- color:#666666;
- border-bottom:1px solid #CCCCCC;
- margin-bottom:5px;
- padding-bottom:5px;
-}
-.walledgardenlogin form input.login_textarea {
- margin:0 0 10px 0;
- width:210px;
-}
-.walledgardenlogin form label {
- color:#666666;
-}
-.walledgardenlogin .remember_me label {
- font-size:1em;
- font-weight:normal;
-}
-.walledgardenlogin .remember_me {
- display:block;
- float:right;
- margin-left:0;
- margin-top:-34px;
- text-align:right;
- width:100%;
-}
-.walledgardenlogin .lost_password {
- margin-bottom: 10px;
-}
-.walledgardenlogin a.forgotten_password_link {
- color:#999999;
-}
-#walledgarden_sysmessages #elgg_system_message {
- width: 523px;
- right:0;
- margin:10px auto 0 auto;
- position: relative;
-} \ No newline at end of file
diff --git a/mod/walledgarden/views/default/walledgarden/walledgarden.php b/mod/walledgarden/views/default/walledgarden/walledgarden.php
deleted file mode 100644
index 15969b3be..000000000
--- a/mod/walledgarden/views/default/walledgarden/walledgarden.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
- /**
- * Walled garden support.
- *
- * @package ElggWalledGarden
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008-2010
- * @link http://elgg.com/
- */
-
- // Forward!
- if (!defined('externalpage'))
- gatekeeper();
-?> \ No newline at end of file