diff options
author | Friendika <info@friendika.com> | 2011-04-07 18:00:35 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-04-07 18:00:35 -0700 |
commit | 338ba485548f9ec1acbc9349f7db95e84c51e7eb (patch) | |
tree | d43dc2127c85e5a1df96a1aeb24e23d35d846b67 /mod/profiles.php | |
parent | 3a6dfb9862c4d91f7a2f259bca447a469e19e8b5 (diff) | |
download | volse-hubzilla-338ba485548f9ec1acbc9349f7db95e84c51e7eb.tar.gz volse-hubzilla-338ba485548f9ec1acbc9349f7db95e84c51e7eb.tar.bz2 volse-hubzilla-338ba485548f9ec1acbc9349f7db95e84c51e7eb.zip |
more templates
Diffstat (limited to 'mod/profiles.php')
-rw-r--r-- | mod/profiles.php | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/mod/profiles.php b/mod/profiles.php index 434f58adf..99812ed88 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -351,6 +351,9 @@ function profiles_content(&$a) { $opt_tpl = load_view_file("view/profile-hide-friends.tpl"); $hide_friends = replace_macros($opt_tpl,array( + '$desc' => t('Hide my contact/friend list from viewers of this profile?'), + '$yes_str' => t('Yes'), + '$no_str' => t('No'), '$yes_selected' => (($r[0]['hide-friends']) ? " checked=\"checked\" " : ""), '$no_selected' => (($r[0]['hide-friends'] == 0) ? " checked=\"checked\" " : "") )); @@ -410,7 +413,14 @@ function profiles_content(&$a) { local_user()); if(count($r)) { - $o .= load_view_file('view/profile_listing_header.tpl'); + $tpl_header = load_view_file('view/profile_listing_header.tpl'); + $o .= replace_macros($tpl_header,array( + '$header' => t('Profiles'), + '$chg_photo' => t('Change profile photo'), + '$cr_new' => t('Create New Profile') + )); + + $tpl_default = load_view_file('view/profile_entry_default.tpl'); $tpl = load_view_file('view/profile_entry.tpl'); |