]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/diabook/theme.php
Merge pull request #239 from simonlnu/master
[friendica.git] / view / theme / diabook / theme.php
index 490a647f3dd43f42ab2e0777ab6efe16d28599a4..0fdcbf701eee91ad735e95ab6bb71be3e0314814 100755 (executable)
@@ -41,7 +41,7 @@ function diabook_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) {
@@ -120,7 +120,7 @@ function diabook_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';