aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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