fixes and tweaks to Smarty processing
This commit is contained in:
parent
d62483f526
commit
609c45e791
29 changed files with 64 additions and 66 deletions
|
|
@ -6,8 +6,6 @@ function profiles_init(&$a) {
|
|||
nav_set_selected('profiles');
|
||||
|
||||
if(! local_user()) {
|
||||
notice( t('Permission denied.') . EOL);
|
||||
killme();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -565,6 +563,11 @@ function profile_activity($changed, $value) {
|
|||
|
||||
function profiles_content(&$a) {
|
||||
|
||||
if(! local_user()) {
|
||||
notice( t('Permission denied.') . EOL);
|
||||
return;
|
||||
}
|
||||
|
||||
$o = '';
|
||||
|
||||
if(($a->argc > 1) && (intval($a->argv[1]))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue