summaryrefslogtreecommitdiff
path: root/utils/modules
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2011-11-01 13:22:52 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2011-11-01 13:22:52 +0100
commitce4e40f8e84972f64d910ce18704986aa2fd7fac (patch)
tree9104b1fd4edd9ab4123f0f79dcb905368d0dbe66 /utils/modules
parent1fb4e92f3119b80930b432181ea623726af6d256 (diff)
Switch order of title and time in news->post.
Diffstat (limited to 'utils/modules')
-rw-r--r--utils/modules/news.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/modules/news.php b/utils/modules/news.php
index 5fd6ded..1deb588 100644
--- a/utils/modules/news.php
+++ b/utils/modules/news.php
@@ -32,12 +32,12 @@ class NewsEntry {
if(!$userid) $userid = "admin"; // Fallback from old data.
$str = "<div class=\"news_entry\">\n";
- $str .= " <div class=\"news_time\">" .
- date("D M jS Y G:i", $this->time) . "</div>\n";
$str .= " <div class=\"news_title\">\n";
$str .= " <a href=\"?page=".$newspage."&amp;newsid=".$this->time."\">" .
htmlspecialchars_decode($this->title, ENT_QUOTES) . "</a>\n";
$str .= " </div>\n";
+ $str .= " <div class=\"news_time\">" .
+ date("D M jS Y G:i", $this->time) . "</div>\n";
$str .= " <div class=\"news_user\">By: " . $userid . "</div>\n";
$str .= " <div class=\"news_description\">\n";
if($this->icon) $str .= " <img alt=\"icon\" class=\"news_icon\" src=\"" .