diff options
author | friendica <info@friendica.com> | 2013-12-30 15:41:42 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-12-30 15:41:42 -0800 |
commit | 4c541bb680823b7488a2614b5ef0231ad38b42c8 (patch) | |
tree | 7a286e9451d58d299d9cee2183ff4ee2398fb371 /mod | |
parent | 0dd7d936744cccfac4228cabecddc59ce05eb26c (diff) | |
download | volse-hubzilla-4c541bb680823b7488a2614b5ef0231ad38b42c8.tar.gz volse-hubzilla-4c541bb680823b7488a2614b5ef0231ad38b42c8.tar.bz2 volse-hubzilla-4c541bb680823b7488a2614b5ef0231ad38b42c8.zip |
expose profile things in the UI
Diffstat (limited to 'mod')
-rw-r--r-- | mod/profiles.php | 2 | ||||
-rw-r--r-- | mod/thing.php | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/mod/profiles.php b/mod/profiles.php index 4625a8805..b94e4bf03 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -610,6 +610,8 @@ function profiles_content(&$a) { $tpl_header = get_markup_template('profile_listing_header.tpl'); $o .= replace_macros($tpl_header,array( '$header' => t('Edit/Manage Profiles'), + '$addstuff' => t('Add profile things'), + '$stuff_desc' => t('Include desirable objects in your profile'), '$chg_photo' => t('Change profile photo'), '$cr_new' => t('Create New Profile'), '$cr_new_link' => 'profiles/new?t=' . get_form_security_token("profile_new") diff --git a/mod/thing.php b/mod/thing.php index b4fdfa039..d3b47ebb9 100644 --- a/mod/thing.php +++ b/mod/thing.php @@ -237,8 +237,10 @@ function thing_content(&$a) { } } - if(! local_user()) + if(! local_user()) { + notice( t('Permission denied.') . EOL); return; + } $thing_hash = ''; |