]> git.mxchange.org Git - friendica.git/blobdiff - mod/photos.php
Move HTML part of oid to template + replace outside the tpl
[friendica.git] / mod / photos.php
index 8ac4d8590371f1ed89da07f1d63221e261d7cc58..7035c66904897ffae8c1bcd407a2692b1ae2ee1d 100644 (file)
@@ -1679,13 +1679,7 @@ function photos_content(&$a) {
        }
        
        $tpl = get_markup_template('photos_recent.tpl'); 
-
-       $includes = array(
-               '$photo_top' => 'photo_top.tpl',
-       );
-       $includes = set_template_includes($a->theme['template_engine'], $includes);
-
-       $o .= replace_macros($tpl,$includes + array(
+       $o .= replace_macros($tpl, array(
                '$title' => t('Recent Photos'),
                '$can_post' => $can_post,
                '$upload' => array(t('Upload New Photos'), $a->get_baseurl().'/photos/'.$a->data['user']['nickname'].'/upload'),