Elgg  Version 2.3
cancel_button.php
Go to the documentation of this file.
1 <?php
2 
3 $cancel_button = elgg_view('input/button', array(
4  'value' => elgg_echo('cancel'),
5  'class' => 'elgg-button-cancel mlm',
6 ));
7 
8 echo elgg_format_element('div', [
9  'id' => 'elgg-walled-garden-cancel',
10  'class' => 'hidden',
11 ], $cancel_button);
$cancel_button
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype='')
Return a parsed view.
Definition: views.php:336
elgg_format_element($tag_name, array $attributes=array(), $text='', array $options=array())
Format an HTML element.
Definition: output.php:208