diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.items.php | 2 | ||||
-rw-r--r-- | templates/part.nofeeds.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/part.items.php b/templates/part.items.php index e481bd2d2..49423236c 100644 --- a/templates/part.items.php +++ b/templates/part.items.php @@ -36,7 +36,7 @@ foreach($items as $item) { echo '<h1 class="item_title"><a target="_blank" href="' . $item->getUrl() . '">' . $item->getTitle() . '</a></h1>'; - echo '<h2 class="item_author">' . $l->t('from') . ' ' . parse_url($item->getUrl())['host'] . '</h2>'; + echo '<h2 class="item_author">' . $l->t('from') . ' ' . parse_url($item->getUrl(), PHP_URL_PATH) . '</h2>'; echo '<div class="body">' . $item->getBody() . '</div>'; diff --git a/templates/part.nofeeds.php b/templates/part.nofeeds.php index 070c90c60..3a9c14b14 100644 --- a/templates/part.nofeeds.php +++ b/templates/part.nofeeds.php @@ -2,7 +2,7 @@ <div id="firstrun"> <?php echo $l->t('You have no feeds in your reader.') ?> <div id="selections"> - <input type="button" id="addfeed" value="<?php echo $l->t('Add feed') ?>" /> - <input type="button" value="<?php echo $l->t('Import OPML') ?>" /> + <input type="button" id="addfeedbtn" value="<?php echo $l->t('Add feed') ?>" /> + <input type="button" id="importopmlbtn" value="<?php echo $l->t('Import OPML') ?>" /> </div> </div>
\ No newline at end of file |