aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/add_button.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-17 22:08:39 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-17 22:08:39 +0000
commitb128ec82c4bd149beb6f4436b030e288ae75fb1d (patch)
tree7d63a7b8e473073c95bff122f006f28983e1ee21 /views/default/widgets/add_button.php
parentfc7f4e880ddfed812438fabc791c5f5056f541e6 (diff)
downloadelgg-b128ec82c4bd149beb6f4436b030e288ae75fb1d.tar.gz
elgg-b128ec82c4bd149beb6f4436b030e288ae75fb1d.tar.bz2
Refs #1793 - added a basic add new widgets view - it is not wired up yet
git-svn-id: http://code.elgg.org/elgg/trunk@7333 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/widgets/add_button.php')
-rw-r--r--views/default/widgets/add_button.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/views/default/widgets/add_button.php b/views/default/widgets/add_button.php
new file mode 100644
index 000000000..8ec36b086
--- /dev/null
+++ b/views/default/widgets/add_button.php
@@ -0,0 +1,13 @@
+<?php
+
+?>
+<div class="widget" id="widget_add_button">
+<?php
+$options = array(
+ 'href' => '#',
+ 'text' => elgg_echo('widgets:add'),
+ 'class' => 'action_button',
+);
+echo elgg_view('output/url', $options);
+?>
+</div>