aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/profile/views/default/profile/edit.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/mod/profile/views/default/profile/edit.php b/mod/profile/views/default/profile/edit.php
index 7b918b000..f67d6e5d5 100644
--- a/mod/profile/views/default/profile/edit.php
+++ b/mod/profile/views/default/profile/edit.php
@@ -42,6 +42,20 @@
$access_id = ACCESS_DEFAULT;
}
+ if ($shortname == 'description') { // change label positioning to allow for additional longtext field controls
+?>
+ <p>
+ <label>
+ <?php echo elgg_echo("profile:{$shortname}") ?></label>
+ <?php echo elgg_view("input/{$valtype}",array(
+ 'internalname' => $shortname,
+ 'value' => $value,
+ )); ?>
+
+ <?php echo elgg_view('input/access',array('internalname' => 'accesslevel['.$shortname.']', 'value' => $access_id)); ?>
+ </p>
+<?php
+ } else {
?>
<p>
@@ -56,6 +70,7 @@
</p>
<?php
+ }
}