Commit 77aa6b7a authored by numeroteca's avatar numeroteca

remove feeds if no user or feed is provided in Entidad page

parent 74b87e7e
......@@ -170,6 +170,10 @@ $entity_type_simple = $entity_type[0]->slug;
</ul>
-->
<?php
if ($web_user_id) { // Do not display if no user is provided
?>
<h2 style="clear:both;">Posts de <?php echo $tit; ?> en Wikitoki.org:</h2>
<ul>
......@@ -198,6 +202,12 @@ $entity_type_simple = $entity_type[0]->slug;
<!-- End Loop -->
</ul>
<?php } ?>
<?php
if ($feed) { // do not display if no feed is provided
?>
<h2><?php
//Lists posts in feed from users website
_e( 'Posts de', 'wikitoki' ); ?> <?php echo $tit; ?> <?php _e( 'en su blog', 'wikitoki' ); ?>.</h2>
......@@ -236,6 +246,8 @@ $entity_type_simple = $entity_type[0]->slug;
<?php endif; ?>
</ul>
<?php } ?>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment