aboutsummaryrefslogtreecommitdiff
path: root/mod/developers/views/default
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-07-02 19:22:07 -0400
committercash <cash.costello@gmail.com>2011-07-02 19:22:07 -0400
commita60e2d661f8895ed643b5c0b38e18add806a6883 (patch)
treea72f408a5073bfc3cdd91fe55b6e3d648e7bf2a8 /mod/developers/views/default
parent9342a351b331b378f1282794218ff9b26d278ce2 (diff)
downloadelgg-a60e2d661f8895ed643b5c0b38e18add806a6883.tar.gz
elgg-a60e2d661f8895ed643b5c0b38e18add806a6883.tar.bz2
Fixes #3500 added setting for raw string display
Diffstat (limited to 'mod/developers/views/default')
-rw-r--r--mod/developers/views/default/admin/developers/settings.php14
1 files changed, 6 insertions, 8 deletions
diff --git a/mod/developers/views/default/admin/developers/settings.php b/mod/developers/views/default/admin/developers/settings.php
index 3843c2c30..a1ae6c186 100644
--- a/mod/developers/views/default/admin/developers/settings.php
+++ b/mod/developers/views/default/admin/developers/settings.php
@@ -3,14 +3,6 @@
* Developer settings
*/
-$sections = array(
- 'simple_cache' => 'checkbox',
- 'view_path_cache' => 'checkbox',
- 'display_errors' => 'checkbox',
- 'debug_level' => 'pulldown',
- 'screen_log' => 'checkbox',
-);
-
$data = array(
'simple_cache' => array(
'type' => 'checkbox',
@@ -46,6 +38,12 @@ $data = array(
'value' => 1,
'checked' => elgg_get_plugin_setting('screen_log', 'developers') == 1,
),
+
+ 'show_strings' => array(
+ 'type' => 'checkbox',
+ 'value' => 1,
+ 'checked' => elgg_get_plugin_setting('show_strings', 'developers') == 1,
+ ),
);
$form_vars = array('id' => 'developer-settings-form');