aboutsummaryrefslogtreecommitdiff
path: root/mod/profile
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-03 14:09:50 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-03 14:09:50 +0000
commitc3a55fad8f1093e00f3f3689681d1aaf283b46cd (patch)
tree34966a528c1f4c09afc68423f65d6358ec6bdc77 /mod/profile
parent58e99b5c9b19780d99af841e2a8d537d9e054d5f (diff)
downloadelgg-c3a55fad8f1093e00f3f3689681d1aaf283b46cd.tar.gz
elgg-c3a55fad8f1093e00f3f3689681d1aaf283b46cd.tar.bz2
brief description added to the owner block and profile
git-svn-id: https://code.elgg.org/elgg/trunk@1669 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile')
-rw-r--r--mod/profile/languages/en.php5
-rw-r--r--mod/profile/start.php10
2 files changed, 4 insertions, 11 deletions
diff --git a/mod/profile/languages/en.php b/mod/profile/languages/en.php
index 2cec031a0..c11d0169a 100644
--- a/mod/profile/languages/en.php
+++ b/mod/profile/languages/en.php
@@ -34,7 +34,8 @@
'profile:editicon' => "Edit profile icon",
'profile:aboutme' => "About me",
- 'profile:description' => "About me",
+ 'profile:description' => "About me",
+ 'profile:briefdescription' => "Brief description",
'profile:location' => "Location",
'profile:skills' => "Skills",
'profile:interests' => "Interests",
@@ -43,7 +44,7 @@
'profile:mobile' => "Mobile phone",
'profile:website' => "Website",
- 'profile:river:update' => "%s updated their profile",
+ 'profile:river:update' => "%s updated their profile",
'profile:river:iconupdate' => "%s updated their profile icon",
/**
diff --git a/mod/profile/start.php b/mod/profile/start.php
index 116044bdf..4f967f59c 100644
--- a/mod/profile/start.php
+++ b/mod/profile/start.php
@@ -25,15 +25,6 @@
// Register a URL handler for users - this means that profile_url()
// will dictate the URL for all ElggUser objects
register_entity_url_handler('profile_url','user','all');
-
- // Set up menu for logged in users
- // if (isloggedin()) {
- // add_menu(elgg_echo('profile'), $CONFIG->wwwroot . "pg/profile/" . $_SESSION['user']->username,array(
- // menu_item(elgg_echo('profile:yours'),$CONFIG->wwwroot . "pg/profile/" . $_SESSION['user']->username),
- // menu_item(elgg_echo('profile:edit'),$CONFIG->wwwroot."mod/profile/edit.php"),
- // menu_item(elgg_echo('profile:editicon'),$CONFIG->wwwroot."mod/profile/editicon.php"),
- // ),'profile');
- // }
// For now, we'll hard code the profile items as follows:
// TODO make this user configurable
@@ -42,6 +33,7 @@
// Language short codes must be of the form "profile:key"
// where key is the array key below
'description' => 'longtext',
+ 'briefdescription' => 'text',
'location' => 'tags',
'interests' => 'tags',
'skills' => 'tags',