aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/layouts/widgets/add_button.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/page/layouts/widgets/add_button.php')
-rw-r--r--views/default/page/layouts/widgets/add_button.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/views/default/page/layouts/widgets/add_button.php b/views/default/page/layouts/widgets/add_button.php
new file mode 100644
index 000000000..0304c50a0
--- /dev/null
+++ b/views/default/page/layouts/widgets/add_button.php
@@ -0,0 +1,10 @@
+<?php
+/**
+ * Button area for showing the add widgets panel
+ */
+?>
+<div class="elgg-widget-add-control">
+ <a class="elgg-button-action elgg-toggle" id="elgg-toggler-add-widgets">
+ <?php echo elgg_echo('widgets:add'); ?>
+ </a>
+</div>