diff options
author | rvelices <rv-github@modusoptimus.com> | 2006-09-19 04:43:10 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2006-09-19 04:43:10 +0000 |
commit | 2122def464f7592091d3947c9b4be1fb9ae927a7 (patch) | |
tree | 7cc9824bf4101460f6105177aa9729bffab226d0 | |
parent | 516df145c32d1da8acbfeb164f37896585b03236 (diff) |
corrected links in RSS feed
git-svn-id: http://piwigo.org/svn/trunk@1550 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r-- | feed.php | 2 | ||||
-rw-r--r-- | include/functions_notification.inc.php | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -144,7 +144,7 @@ $rss->link = $conf['gallery_url']; // | Feed creation | // +-----------------------------------------------------------------------+ -$news = news($user['last_check'], $dbnow, true); +$news = news($user['last_check'], $dbnow, true, true); if (count($news) > 0) { diff --git a/include/functions_notification.inc.php b/include/functions_notification.inc.php index de13a28c9..d90d90afa 100644 --- a/include/functions_notification.inc.php +++ b/include/functions_notification.inc.php @@ -410,11 +410,11 @@ function news($start, $end, $exclude_img_cats=false, $add_url=false) add_news_line( $news, nb_new_users($start, $end), l10n('%d new users'), - PHPWG_ROOT_PATH.'admin.php?page=user_list', $add_url ); + get_root_url().'admin.php?page=user_list', $add_url ); add_news_line( $news, nb_waiting_elements(), l10n('%d waiting elements'), - PHPWG_ROOT_PATH.'admin.php?page=waiting', $add_url ); + get_root_url().'admin.php?page=waiting', $add_url ); } return $news; |