aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-28 15:26:23 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-28 15:26:23 +0000
commitf3b0f6c073ae143c01983968ec1a549b60face80 (patch)
tree32c1fad153ec0fc2cc63c7479e4d1704c8f42ad9 /mod/profile/views
parentad896c53deac3f1fd405ba582d41c164470cbf4e (diff)
downloadelgg-f3b0f6c073ae143c01983968ec1a549b60face80.tar.gz
elgg-f3b0f6c073ae143c01983968ec1a549b60face80.tar.bz2
Updates to Profile edit, likes js, and tools css for IE7 rendering.
git-svn-id: http://code.elgg.org/elgg/trunk@5911 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/views')
-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
+ }
}