Esempio n. 1
0
    ?>
</a>
        <?php 
}
?>
    </h2>
    <ul class="item-menu">
         <?php 
if ($menu !== 'feed-items') {
    ?>
        <li>
            <?php 
    if (!isset($item['feed_title'])) {
        ?>
                <?php 
        echo Helper\get_host_from_url($item['url']);
        ?>
            <?php 
    } else {
        ?>
                <a href="?action=feed-items&amp;feed_id=<?php 
        echo $item['feed_id'];
        ?>
" title="<?php 
        echo t('Show only this subscription');
        ?>
"><?php 
        echo Helper\escape($item['feed_title']);
        ?>
</a>
            <?php 
Esempio n. 2
0
                            <?php 
            echo t('(error occurred during the last check)');
            ?>
                    </span>

                <?php 
        }
        ?>
            </h2>
            <ul class="item-menu">
                <li>
                    <a href="<?php 
        echo $feed['site_url'];
        ?>
" rel="noreferrer" target="_blank"><?php 
        echo Helper\get_host_from_url($feed['site_url']);
        ?>
</a>
                </li>

                <?php 
        if ($feed['enabled']) {
            ?>
                <li>
                    <a href="?action=refresh-feed&amp;feed_id=<?php 
            echo $feed['id'];
            ?>
" data-action="refresh-feed"><?php 
            echo t('refresh');
            ?>
</a>