require_once('include/tags.php');
require_once('include/threads.php');
-if(! function_exists('photos_init')) {
function photos_init(&$a) {
if($a->argc > 1)
return;
}
-}
-if(! function_exists('photos_post')) {
+
+
function photos_post(&$a) {
logger('mod-photos: photos_post: begin' , LOGGER_DEBUG);
goaway($a->get_baseurl() . '/' . $_SESSION['photo_return']);
// NOTREACHED
}
-}
-if(! function_exists('photos_content')) {
+
+
function photos_content(&$a) {
// URLs:
}
- /**
+ /**
* Display one photo
*/
//hide profile photos to others
if((! $is_owner) && (! remote_user()) && ($rr['album'] == t('Profile Photos')))
continue;
-
+
if($twist == 'rotright')
$twist = 'rotleft';
else
$o .= paginate($a);
return $o;
}
-}
+