Elgg  Version 1.11
debugging.php
Go to the documentation of this file.
1 <?php
6 $debug_options = array(
7  '0' => elgg_echo('installation:debug:none'),
8  'ERROR' => elgg_echo('installation:debug:error'),
9  'WARNING' => elgg_echo('installation:debug:warning'),
10  'NOTICE' => elgg_echo('installation:debug:notice'),
11  'INFO' => elgg_echo('installation:debug:info'),
12 );
13 
14 $debug_label = elgg_echo('installation:debug:label');
15 $debug_input = elgg_view('input/select', array(
16  'options_values' => $debug_options,
17  'name' => 'debug',
18  'value' => elgg_get_config('debug'),
19 ));
20 
21 ?>
22 <fieldset class="elgg-fieldset" id="elgg-settings-advanced-debugging">
23  <legend><?php echo elgg_echo('admin:legend:debug'); ?></legend>
24 
25  <div>
26  <p><?php echo elgg_echo('installation:debug'); ?></p>
27 
28  <label>
29  <?php
32  ?>
33 
34  </label>
35  </div>
36 </fieldset>
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
p
Definition: admin.php:118
$debug_input
Definition: debugging.php:15
fieldset div
Definition: admin.php:470
$debug_options
Advanced site settings, debugging section.
Definition: debugging.php:6
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg echo
Translates a string.
Definition: languages.js:43
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354
label
Definition: admin.php:460
elgg fieldset legend
Definition: admin.php:520
$debug_label
Definition: debugging.php:14
elgg fieldset
Definition: admin.php:513