aboutsummaryrefslogtreecommitdiff
path: root/mod/developers/views/default/forms
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2013-01-04 14:44:55 -0500
committerBrett Profitt <brett.profitt@gmail.com>2013-01-04 14:45:15 -0500
commitf17c0c674f084c48a0b2919ac8fe7136a819859f (patch)
treebb58d40698234ee934a18d64d1f5d7688aa7ab45 /mod/developers/views/default/forms
parent5d762eaf47cef4785d9f051c387d6971b59bdd68 (diff)
downloadelgg-f17c0c674f084c48a0b2919ac8fe7136a819859f.tar.gz
elgg-f17c0c674f084c48a0b2919ac8fe7136a819859f.tar.bz2
Refs #3617. Added misc section for developer's theme preview.
Diffstat (limited to 'mod/developers/views/default/forms')
-rw-r--r--mod/developers/views/default/forms/developers/settings.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/developers/views/default/forms/developers/settings.php b/mod/developers/views/default/forms/developers/settings.php
index 584f6af30..78e1372de 100644
--- a/mod/developers/views/default/forms/developers/settings.php
+++ b/mod/developers/views/default/forms/developers/settings.php
@@ -10,20 +10,22 @@ echo '<p>' . elgg_echo('elgg_dev_tools:settings:explanation') . '</p>';
foreach ($vars['data'] as $name => $info) {
echo '<div>';
if ($info['type'] == 'checkbox') {
+ echo '<label>';
echo elgg_view("input/checkbox", array(
'name' => $name,
'value' => $info['value'],
'checked' => $info['checked'],
));
- echo '<label>' . elgg_echo("developers:label:$name") . '</label>';
+ echo elgg_echo("developers:label:$name") . '</label>';
echo '<span class="elgg-text-help">' . elgg_echo("developers:help:$name") . '</span>';
} else {
- echo '<label>' . elgg_echo("developers:label:$name") . '</label>';
+ echo '<label>' . elgg_echo("developers:label:$name");
echo elgg_view("input/{$info['type']}", array(
'name' => $name,
'value' => $info['value'],
'options_values' => $info['options_values'],
));
+ echo '</label>';
echo '<span class="elgg-text-help">' . elgg_echo("developers:help:$name") . '</span>';
}
echo '</div>';