12345678910111213141516171819202122232425262728 |
- <?php
- /**
- * Button area for showing the add widgets panel
- */
- ?>
- <div class="elgg-widget-add-control">
- <?php
- echo elgg_view('output/url', array(
- 'href' => '#',
- 'text' => elgg_echo('widgets:add'),
- 'class' => 'elgg-button elgg-button-action',
- 'rel' => 'toggle',
- 'is_trusted' => true,
- 'data-toggle-selector' => '#widgets-add-panel, .elgg-widget-add-control > a',
- 'data-toggle-slide' => 0,
- ));
- echo elgg_view('output/url', array(
- 'href' => '#',
- 'text' => elgg_echo('widgets:panel:close'),
- 'class' => 'elgg-button elgg-button-action hidden',
- 'rel' => 'toggle',
- 'is_trusted' => true,
- 'data-toggle-selector' => '#widgets-add-panel, .elgg-widget-add-control > a',
- 'data-toggle-slide' => 0,
- ));
- ?>
- </div>
|