projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
59697a7
)
Fixed link to news archive on homepage
author
Roland Mas
<lolando@debian.org>
Fri, 12 Feb 2010 09:08:16 +0000
(09:08 +0000)
committer
Roland Mas
<lolando@debian.org>
Fri, 12 Feb 2010 09:08:16 +0000
(09:08 +0000)
gforge/www/news/news_utils.php
patch
|
blob
|
history
diff --git
a/gforge/www/news/news_utils.php
b/gforge/www/news/news_utils.php
index beed9b70d15f5b6b750b29834fb8fc51865bc265..3e71dd77b65f6cfa272b717cfec396bfdb1f0a58 100644
(file)
--- a/
gforge/www/news/news_utils.php
+++ b/
gforge/www/news/news_utils.php
@@
-205,12
+205,12
@@
ORDER BY post_date DESC',
$return .= '</div><!-- class="one-news" -->';
$return .= "\n\n";
}
+
if ($group_id != $sys_news_group) {
- $archive_url
=util_make_url ('/news/?group_id='.$group_id)
;
+ $archive_url
= '/news/?group_id='.$group_id
;
} else {
- $archive_url
=util_make_url ('/news/')
;
+ $archive_url
= '/news/'
;
}
-
if ($tail_headlines != -1) {
if ($show_forum) {
$return .= '<div>' . util_make_link($archive_url, _('News archive'), array('class' => 'dot-link')) . '</div>';