summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--css/news.css2
-rw-r--r--templates/part.items.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/css/news.css b/css/news.css
index fd2f6cb57..8381e0a3f 100644
--- a/css/news.css
+++ b/css/news.css
@@ -253,7 +253,7 @@ ul.controls li { float: left; }
/* dialog/menues */
div.dialog { overflow: visible; }
-#dropdownBtn { width: 20em; padding-left: 0; padding-right:20px; background: url('%webroot%/core/img/actions/triangle-s.svg') no-repeat right center; text-align: left; overflow: hidden;}
+#dropdownBtn { width: 12.5em; padding-left: 0; padding-right:20px; background: url('%webroot%/core/img/actions/triangle-s.svg') no-repeat right center; text-align: left; overflow: hidden;}
ul#dropdownmenu { left: 0em; box-shadow: 0px 0px 10px rgb(0, 0, 0); }
ul#feedfoldermenu { position:fixed; margin-left: 0; bottom: 2.8em; border-left:1px solid #ccc; border-top:1px solid #ccc; border-right:1px solid #ccc; -moz-box-shadow: 0 -3px 3px -3px #000; -webkit-box-shadow: 0 -3px 3px -3px #000; box-shadow: 0 -3px 3px -3px #000;}
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>';