From 5654ce926ca012acd9f725c8c7d6e32609a17646 Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 12 Apr 2011 17:58:16 -0700 Subject: move all message display sub-functions from boot.php into conversation.php --- mod/photos.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mod/photos.php') diff --git a/mod/photos.php b/mod/photos.php index 757b4685d..186873a7b 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -657,6 +657,10 @@ function photos_content(&$a) { // photos/name/image/xxxxx/edit + require_once('include/bbcode.php'); + require_once('include/security.php'); + require_once('include/conversation.php'); + if(! x($a->data,'user')) { notice( t('No photos selected') . EOL ); return; @@ -893,8 +897,7 @@ function photos_content(&$a) { if($datatype === 'image') { - require_once('security.php'); - require_once('bbcode.php'); + $o = '
' . "\r\n"; // fetch image, item containing image, then comments -- cgit v1.2.3