diff options
author | Friendika <info@friendika.com> | 2011-04-12 17:58:16 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-04-12 17:58:16 -0700 |
commit | 5654ce926ca012acd9f725c8c7d6e32609a17646 (patch) | |
tree | 75b5d42453a28b171cb5cf15acec41dc48875c9e /mod/photos.php | |
parent | 38014e9b4d720a6a18e87b3c10f71bfa2e7038d4 (diff) | |
download | volse-hubzilla-5654ce926ca012acd9f725c8c7d6e32609a17646.tar.gz volse-hubzilla-5654ce926ca012acd9f725c8c7d6e32609a17646.tar.bz2 volse-hubzilla-5654ce926ca012acd9f725c8c7d6e32609a17646.zip |
move all message display sub-functions from boot.php into conversation.php
Diffstat (limited to 'mod/photos.php')
-rw-r--r-- | mod/photos.php | 7 |
1 files changed, 5 insertions, 2 deletions
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 = '<div id="live-display"></div>' . "\r\n"; // fetch image, item containing image, then comments |