aboutsummaryrefslogtreecommitdiff
path: root/mod/widgettest
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-19 19:10:38 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-19 19:10:38 +0000
commit6d2a2a28ab06429d0b28465956e642e5a1b88d5e (patch)
tree4fddcdb4c75898fa8419a0904fb5962c1b0da7bc /mod/widgettest
parent4df1bf379558ccee8ee357578d055bc1525d4c8e (diff)
downloadelgg-6d2a2a28ab06429d0b28465956e642e5a1b88d5e.tar.gz
elgg-6d2a2a28ab06429d0b28465956e642e5a1b88d5e.tar.bz2
Removing widgettest, which has done its job.
git-svn-id: https://code.elgg.org/elgg/trunk@1009 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/widgettest')
-rw-r--r--mod/widgettest/start.php13
-rw-r--r--mod/widgettest/views/default/widgets/widgettest/edit.php7
-rw-r--r--mod/widgettest/views/default/widgets/widgettest/view.php13
3 files changed, 0 insertions, 33 deletions
diff --git a/mod/widgettest/start.php b/mod/widgettest/start.php
deleted file mode 100644
index b02423b66..000000000
--- a/mod/widgettest/start.php
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
-
- // TEMPORARY!
-
- function widgettest_init() {
-
- add_widget_type('widgettest',"Test widget!","This is a test widget.");
-
- }
-
- register_elgg_event_handler('init','system','widgettest_init');
-
-?> \ No newline at end of file
diff --git a/mod/widgettest/views/default/widgets/widgettest/edit.php b/mod/widgettest/views/default/widgets/widgettest/edit.php
deleted file mode 100644
index 10958a7ba..000000000
--- a/mod/widgettest/views/default/widgets/widgettest/edit.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-?>
- <p>
- Display a message:
- <input type="text" name="params[description]" value="<?php echo htmlentities($vars['entity']->description); ?>" />
- </p> \ No newline at end of file
diff --git a/mod/widgettest/views/default/widgets/widgettest/view.php b/mod/widgettest/views/default/widgets/widgettest/view.php
deleted file mode 100644
index 16ec7390e..000000000
--- a/mod/widgettest/views/default/widgets/widgettest/view.php
+++ /dev/null
@@ -1,13 +0,0 @@
-<h1>I am a test widget!</h1>
-<p>
- <?php
-
- $description = $vars['entity']->description;
- if (!empty($description)) {
- echo $vars['entity']->description;
- } else {
- echo "Click 'edit' to change my message.";
- }
-
- ?>
-</p> \ No newline at end of file