]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/diabook-red/theme.php
diabook-themes: bugfix (sry, necessary)
[friendica.git] / view / theme / diabook-red / theme.php
index fb2ad21fd41af12b47da11bc208d9d7d5b697253..1ef65d83e6dc39153c8d07c5d279afb9fea44457 100644 (file)
@@ -35,7 +35,7 @@ function diabook_red_community_info(){
                0,
                9
        );
-       $tpl = file_get_contents( dirname(__file__).'/directory_item.tpl');
+       $tpl = file_get_contents( dirname(__file__).'/ch_directory_item.tpl');
        if(count($r)) {
                $photo = 'thumb';
                foreach($r as $rr) {
@@ -114,7 +114,7 @@ function diabook_red_community_info(){
                                dbesc(t('Profile Photos'))
                                );
                if(count($r)) {
-               $tpl = file_get_contents( dirname(__file__).'/directory_item.tpl');
+               $tpl = file_get_contents( dirname(__file__).'/ch_directory_item.tpl');
                foreach($r as $rr) {
                        $photo_page = $a->get_baseurl() . '/photos/' . $rr['nickname'] . '/image/' . $rr['resource-id'];
                        $photo_url = $a->get_baseurl() . '/photo/' .  $rr['resource-id'] . '-' . $rr['scale'] .'.jpg';