diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-31 13:34:41 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-31 13:34:41 +0000 |
commit | aecf239a1aac95800bc7a34434bf4d96f528269d (patch) | |
tree | 823d757e9c53a6c1dda0979259cc5941f0fab85e /mod/test | |
parent | 9e349a24a228680660e2be031783d5b9fcb253b0 (diff) | |
download | elgg-aecf239a1aac95800bc7a34434bf4d96f528269d.tar.gz elgg-aecf239a1aac95800bc7a34434bf4d96f528269d.tar.bz2 |
Removing the mod/test plugin. It doesn't need to be here...
git-svn-id: https://code.elgg.org/elgg/trunk@294 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/test')
-rw-r--r-- | mod/test/graphics/elgg.powered.png | bin | 286 -> 0 bytes | |||
-rw-r--r-- | mod/test/graphics/leaf.jpg | bin | 1491 -> 0 bytes | |||
-rw-r--r-- | mod/test/graphics/logo.png | bin | 2209 -> 0 bytes | |||
-rw-r--r-- | mod/test/graphics/orange_small.png | bin | 2550 -> 0 bytes | |||
-rw-r--r-- | mod/test/graphics/purplecrayon.gif | bin | 5546 -> 0 bytes | |||
-rw-r--r-- | mod/test/index.php | 12 | ||||
-rw-r--r-- | mod/test/start.php | 28 | ||||
-rw-r--r-- | mod/test/views/default/css.php | 151 | ||||
-rw-r--r-- | mod/test/views/default/menu.php | 22 | ||||
-rw-r--r-- | mod/test/views/default/pageshells/pageshell.php | 73 | ||||
-rw-r--r-- | mod/test/views/default/testplugin/pageshell.php | 4 |
11 files changed, 0 insertions, 290 deletions
diff --git a/mod/test/graphics/elgg.powered.png b/mod/test/graphics/elgg.powered.png Binary files differdeleted file mode 100644 index b0280989e..000000000 --- a/mod/test/graphics/elgg.powered.png +++ /dev/null diff --git a/mod/test/graphics/leaf.jpg b/mod/test/graphics/leaf.jpg Binary files differdeleted file mode 100644 index 28e0e1581..000000000 --- a/mod/test/graphics/leaf.jpg +++ /dev/null diff --git a/mod/test/graphics/logo.png b/mod/test/graphics/logo.png Binary files differdeleted file mode 100644 index 06474d59b..000000000 --- a/mod/test/graphics/logo.png +++ /dev/null diff --git a/mod/test/graphics/orange_small.png b/mod/test/graphics/orange_small.png Binary files differdeleted file mode 100644 index 1788d0a7f..000000000 --- a/mod/test/graphics/orange_small.png +++ /dev/null diff --git a/mod/test/graphics/purplecrayon.gif b/mod/test/graphics/purplecrayon.gif Binary files differdeleted file mode 100644 index f8ebca3e6..000000000 --- a/mod/test/graphics/purplecrayon.gif +++ /dev/null diff --git a/mod/test/index.php b/mod/test/index.php deleted file mode 100644 index 96fc4bdab..000000000 --- a/mod/test/index.php +++ /dev/null @@ -1,12 +0,0 @@ -<?php
-
- require_once("../../engine/start.php");
-
- global $CONFIG;
-
- //var_export($CONFIG);
-
- $body = elgg_view("testplugin/pageshell");
- page_draw("Test plugin",$body);
-
-?>
\ No newline at end of file diff --git a/mod/test/start.php b/mod/test/start.php deleted file mode 100644 index f8247c6b5..000000000 --- a/mod/test/start.php +++ /dev/null @@ -1,28 +0,0 @@ -<?php
-
- /**
- * Test plugin
- *
- * These parameters are required for the event API, but we won't use them:
- *
- * @param unknown_type $event
- * @param unknown_type $object_type
- * @param unknown_type $object
- */
-
- function test_init($event, $object_type, $object = null) {
-
- global $CONFIG;
-
- // Test menu item
- add_menu("Test plugin",$CONFIG->wwwroot . "mod/test/",array(
- menu_item("Main test plugin page",$CONFIG->wwwroot."mod/test/"),
- ));
-
- }
-
- // Make sure test_init is called on initialisation
- register_event_handler('init','system','test_init');
- global $CONFIG;
- register_action('banana',true,"mod/test/banana.php");
-?>
\ No newline at end of file diff --git a/mod/test/views/default/css.php b/mod/test/views/default/css.php deleted file mode 100644 index 440174624..000000000 --- a/mod/test/views/default/css.php +++ /dev/null @@ -1,151 +0,0 @@ -
-/*
-
- Elgg main site CSS file
-
-*/
-
-body {
- margin: 0px;
- background-color: #ffffff;
- font-family: arial, helvetica;
- font-size: 10pt;
- line-height: 1.2ems;
- margin: 0px;
- padding: 0px;
- }
-
-h1 {
- 13pt;
- }
-h2 {
- 12pt;
- }
-h3 {
- 11pt;
- }
-form {
- margin: 0px;
- padding: 0px;
- }
-
-/* Page top */
-#pagetop {
- background-color: #5F1741;
- }
-#pagetop ul {
- position: absolute;
- right: 0;
- top: 0;
- list-style-type: none;
- margin: 0px;
- padding: 0px;
- }
-#pagetop li {
- font-family: verdana, arial, helvetica, helv;
- color:#ffffff;
- margin: 0;
- padding: 0;
- }
-#pagetop li a {
- display: block;
- text-decoration: none;
- color: #ffa800;
- text-align: center;
- background-color: #444444;
- }
-#pagetop li a:hover {
- color: #000000;
- background-color: #ffa800;
- }
-.messages {
- background-color: #000000;
- color: #ffffff;
- padding: 0px;
- margin: 0px;
- }
-.messages ul {
- padding: 0px;
- margin: 0px;
- }
-.menubar {
- background-color: #aaaaaa;
- padding: 3px;
- border: 0px;
- border-bottom: 1px;
- border-color: #000000;
- border-style: solid;
- }
-.menubar a {
- color: #ffffff;
- padding: 3px;
- text-decoration: none;
- }
-.menubar a:hover {
- text-decoration: underline;
- }
-.actionbox {
- background-color: #eeeeee;
- border: 1px;
- border-color: #000000;
- border-style: solid;
- padding: 7px;
-
- }
-.actionbox caption {
- background-color: #aaaaaa;
- color: #ffffff;
- vertical-align: middle;
- text-align: center;
- padding: 4px;
- font-weight: bold;
- border: 1px;
- border-color: #000000;
- border-style: solid;
- border-bottom: 0px;
- font-size: 1.1em;
-
- }
-.infobox {
- background-color: #eeeeee;
- border: 1px;
- border-color: #000000;
- border-style: solid;
- padding: 7px;
- }
-.infobox caption {
- background-color: #aaaaaa;
- color: #ffffff;
- vertical-align: middle;
- text-align: center;
- padding: 4px;
- font-weight: bold;
- border: 1px;
- border-color: #000000;
- border-style: solid;
- border-bottom: 0px;
- font-size: 1.1em;
- }
-.profiletable {
- border: 1px;
- border-style: solid;
- border-color: #888888;
- }
-.profiletable .fieldname {
- background-color: #C6DEFD;
- }
-
-#topmenu {
- position:absolute;
- top:2px;
- right:10px;
-}
-
-#topmenu li {
- display:inline;
- list-style:none;
-}
-
-#topmenu a {
- color:#fff;
-}
\ No newline at end of file diff --git a/mod/test/views/default/menu.php b/mod/test/views/default/menu.php deleted file mode 100644 index e0f231bfc..000000000 --- a/mod/test/views/default/menu.php +++ /dev/null @@ -1,22 +0,0 @@ -<table width="100%" class="menubar">
- <tr>
- <td>
- <?php
-
- $menu = get_register('menu');
- if (is_array($menu) && sizeof($menu) > 0) {
- foreach($menu as $item) {
- if (sizeof($item->children) > 0 ) {
- foreach($item->children as $subitem) {
-?>
- <a href="<?php echo $item->value ?>"><?php echo $item->name; ?></a> |
-<?php
- }
- }
- }
- }
-
- ?>
- </td>
- </tr>
- </table>
\ No newline at end of file diff --git a/mod/test/views/default/pageshells/pageshell.php b/mod/test/views/default/pageshells/pageshell.php deleted file mode 100644 index 32ed19237..000000000 --- a/mod/test/views/default/pageshells/pageshell.php +++ /dev/null @@ -1,73 +0,0 @@ -<?php
-
- /**
- * Elgg pageshell
- * The standard HTML page shell that everything else fits into
- *
- * @package Elgg
- * @subpackage Core
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008
- * @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 title
-
- if (empty($vars['title'])) {
- $title = $vars['sitename'];
- } else if (empty($vars['sitename'])) {
- $title = $vars['title'];
- } else {
- $title = $vars['sitename'] . ": " . $vars['title'];
- }
-
-?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title><?php echo $title; ?></title>
-<?php echo elgg_view('metatags'); ?>
-<link rel="stylesheet" href="<?php echo $vars['url']; ?>css/css.css" type="text/css" />
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-</head>
-
-<body>
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td id="pagetop"><a href="<?php echo $vars['url']; ?>"><img src="<?php echo $vars['wwwroot']; ?>mod/test/graphics/purplecrayon.gif" alt="Elgg" width="227" height="70" border="0" /></a></td>
- <td><?php echo elgg_view('navigation/topmenu'); ?></td>
- </tr>
-</table>
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td colspan="5" align="left" valign="top" id="mainbody"><?php echo elgg_view('menu'); ?><?php
-
- echo elgg_view('messages/list', array('object' => $vars['sysmessages']));
-
- ?></td>
- </tr>
- <tr>
- <td colspan="5">
-
- </td>
- </tr>
- <tr>
- <td width="4%" align="left" valign="top" id="mainbody"> </td>
- <td width="65%" align="left" valign="top" id="mainbody"><?php echo $vars['body']; ?></td>
- <td width="2%" align="right" valign="top" id="mainbody"> </td>
- <td width="25%" align="right" valign="top" id="mainbody"><?php echo $vars['sidebar']; ?></td>
- <td width="4%" align="right" valign="top" id="mainbody"> </td>
- </tr>
- <tr>
- <td height="100" colspan="5" align="center" valign="middle">
- Copyright © 2004-2005 ELGG <br />
- <a href="<?php echo $vars['url']; ?>content/about.php">About ELGG</a> | <a href="<?php echo $vars['url']; ?>content/faq.php">FAQ</a> | <a href="<?php echo $vars['url']; ?>content/privacy.php">Privacy Policy</a> | <a href="<?php echo $vars['url']; ?>content/run_your_own.php">Run your own ELGG</a></td>
- </tr>
-</table>
-</body>
-</html>
\ No newline at end of file diff --git a/mod/test/views/default/testplugin/pageshell.php b/mod/test/views/default/testplugin/pageshell.php deleted file mode 100644 index 694f26874..000000000 --- a/mod/test/views/default/testplugin/pageshell.php +++ /dev/null @@ -1,4 +0,0 @@ -<form action="<?php echo $vars['url']; ?>action/banana" method="post">
- <p><i>Gosh! This view was added to!</i></p>
- <input type="submit" value="Go" />
-</form>
\ No newline at end of file |