From 4c541bb680823b7488a2614b5ef0231ad38b42c8 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 30 Dec 2013 15:41:42 -0800 Subject: expose profile things in the UI --- mod/profiles.php | 2 ++ mod/thing.php | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'mod') 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 = ''; -- cgit v1.2.3