diff options
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 = ''; |