Subversion Repositories Applications.papyrus

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
433 ddelon 1
<?php
2
 
3
if ($pages = $this->LoadRecentlyCommented())
4
{
5
	foreach ($pages as $page)
6
	{
7
		// day header
8
		list($day, $time) = explode(" ", $page["time"]);
9
		if ($day != $curday)
10
		{
11
			if ($curday) print("<br />\n");
12
			print("<b>$day:</b><br />\n");
13
			$curday = $day;
14
		}
15
 
16
		// print entry
17
		print("&nbsp;&nbsp;&nbsp;(".$page["comment_time"].") <a href=\"".$this->href("", $page["tag"], "show_comments=1")."#".$page["comment_tag"]."\">".$page["tag"]."</a> . . . . dernier commentaire par ".$this->Format($page["comment_user"])."<br />\n");
18
	}
19
}
20
else
21
{
22
	print("<i>Aucune page n'a été commentée récemment.</i>");
23
}
24
 
25
?>