summaryrefslogtreecommitdiff
path: root/forum/utils/profile.php
diff options
context:
space:
mode:
authordeva <deva>2008-10-26 16:06:16 +0000
committerdeva <deva>2008-10-26 16:06:16 +0000
commit9d7dbbf351aa7983f0fe499a3f80b59ee2f68547 (patch)
tree331d7a2e616a0be0e3a0a1e2b49fbe48e1798f4b /forum/utils/profile.php
parent648878fb3a0430506c3b0f5a92bc7699b7ceb3ed (diff)
Added signature support in profile and forum posts.
Diffstat (limited to 'forum/utils/profile.php')
-rw-r--r--forum/utils/profile.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/forum/utils/profile.php b/forum/utils/profile.php
index ee47cb0..7f8372c 100644
--- a/forum/utils/profile.php
+++ b/forum/utils/profile.php
@@ -6,6 +6,7 @@ if($action == "update") {
$current_user->name = $name;
$current_user->email = $email;
$current_user->avatar = $avatar;
+ $current_user->signature = $signature;
if($password != "") {
if($password == $password_confirm) {
$current_user->password = sha1(md5($password));
@@ -34,6 +35,8 @@ while($avatar = readdir($dir)) {
}
?>
</select><br/>
+Signature:<br/>
+<textarea name="signature" cols="60" rows="2"><?php echo $current_user->signature ?></textarea><br/>
<br/>
<button type="submit">Update</button>
</form>