diff options
Diffstat (limited to 'mod/river/views/default/widgets/river_widget')
-rw-r--r-- | mod/river/views/default/widgets/river_widget/edit.php | 21 | ||||
-rw-r--r-- | mod/river/views/default/widgets/river_widget/view.php | 18 |
2 files changed, 0 insertions, 39 deletions
diff --git a/mod/river/views/default/widgets/river_widget/edit.php b/mod/river/views/default/widgets/river_widget/edit.php deleted file mode 100644 index 3ee93e403..000000000 --- a/mod/river/views/default/widgets/river_widget/edit.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - /** - * Edit the widget - * - * @package ElggRiver - * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 - * @author Curverider Ltd - * @copyright Curverider Ltd 2008-2009 - * @link http://elgg.com/ - */ -?> -<p> - <?php echo elgg_echo('river:widget:label:displaynum'); ?> - - <select name="params[limit]"> - <option value="5" <?php if ($vars['entity']->limit == 5) echo " selected=\"yes\" "; ?>>5</option> - <option value="8" <?php if ((!$vars['entity']->limit) || ($vars['entity']->limit == 8)) echo " selected=\"yes\" "; ?>>8</option> - <option value="12" <?php if ($vars['entity']->limit == 12) echo " selected=\"yes\" "; ?>>12</option> - <option value="15" <?php if ($vars['entity']->limit == 15) echo " selected=\"yes\" "; ?>>15</option> - </select> -</p>
\ No newline at end of file diff --git a/mod/river/views/default/widgets/river_widget/view.php b/mod/river/views/default/widgets/river_widget/view.php deleted file mode 100644 index 7ef7ea1e1..000000000 --- a/mod/river/views/default/widgets/river_widget/view.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php - /** - * View the widget - * - * @package ElggRiver - * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 - * @author Curverider Ltd - * @copyright Curverider Ltd 2008-2009 - * @link http://elgg.com/ - */ - - $owner = page_owner_entity(); - $limit = 8; - - if ($vars['entity']->limit) - $limit = $vars['entity']->limit; - echo elgg_view_river($owner->guid, $limit); -?>
\ No newline at end of file |