<?php
-if(! function_exists('display_init')) {
+
function display_init(&$a) {
if((get_config('system','block_public')) && (! local_user()) && (! remote_user())) {
}
profile_load($a, $nick, 0, $profiledata);
-}
+
}
-if(! function_exists('display_fetchauthor')) {
function display_fetchauthor($a, $item) {
$profiledata = array();
return($profiledata);
}
-}
-if(! function_exists('display_content')) {
function display_content(&$a, $update = 0) {
if((get_config('system','block_public')) && (! local_user()) && (! remote_user())) {
return $o;
}
-}
+