Elgg  Version 2.3
add_button.php
Go to the documentation of this file.
1 <?php
5 ?>
6 <div class="elgg-widget-add-control">
7 <?php
8  echo elgg_view('output/url', array(
9  'href' => '#',
10  'text' => elgg_echo('widgets:add'),
11  'class' => 'elgg-button elgg-button-action',
12  'rel' => 'toggle',
13  'is_trusted' => true,
14  'data-toggle-selector' => '#widgets-add-panel, .elgg-widget-add-control > a',
15  'data-toggle-slide' => 0,
16  ));
17  echo elgg_view('output/url', array(
18  'href' => '#',
19  'text' => elgg_echo('widgets:panel:close'),
20  'class' => 'elgg-button elgg-button-action hidden',
21  'rel' => 'toggle',
22  'is_trusted' => true,
23  'data-toggle-selector' => '#widgets-add-panel, .elgg-widget-add-control > a',
24  'data-toggle-slide' => 0,
25  ));
26 ?>
27 </div>
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
fieldset div
Definition: admin.css.php:485
elgg echo
Translates a string.
Definition: languages.js:48
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:336