From: Joey Schulze Date: Tue, 16 Dec 2003 08:13:55 +0000 (+0000) Subject: Don't sort news items reversely and beautify the horizontal line X-Git-Url: https://git.infodrom.org/?p=infodrom.org%2Foldenburg.linux.de;a=commitdiff_plain;h=ea701e8eda3394fa2f673d8e110cca34570ffb89 Don't sort news items reversely and beautify the horizontal line --- diff --git a/src/index.wml b/src/index.wml index 2d7f309..f420814 100644 --- a/src/index.wml +++ b/src/index.wml @@ -32,7 +32,7 @@ genauso interessant, wie für den gewerblichen Einsatz.

<: if (opendir (NEWS, "News/")) { - @news = reverse (sort (grep (/^news-.*\.txt$/,readdir (NEWS)))); + @news = sort (grep (/^news-.*\.txt$/,readdir (NEWS))); closedir (NEWS); } @@ -64,7 +64,7 @@ genauso interessant, wie für den gewerblichen Einsatz.

print; } close (NEWS); - print "


" if ($#top > -1); + print "

" if ($#top > -1); } } :>