mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 17:39:46 +01:00
Bugtracker #4528 - missing datestamp on comments
This commit is contained in:
parent
2a9f36c8e7
commit
01ce3264d1
@ -11,8 +11,8 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/rss.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/rss.php,v $
|
||||||
| $Revision: 1.7 $
|
| $Revision: 1.8 $
|
||||||
| $Date: 2008-10-03 20:15:09 $
|
| $Date: 2008-10-15 19:13:20 $
|
||||||
| $Author: e107steved $
|
| $Author: e107steved $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@ -243,10 +243,13 @@ class rssCreate {
|
|||||||
$tmp = $sql->db_getList();
|
$tmp = $sql->db_getList();
|
||||||
$this -> rssItems = array();
|
$this -> rssItems = array();
|
||||||
$loop=0;
|
$loop=0;
|
||||||
foreach($tmp as $value) {
|
foreach($tmp as $value)
|
||||||
|
{
|
||||||
$this -> rssItems[$loop]['title'] = $value['comment_subject'];
|
$this -> rssItems[$loop]['title'] = $value['comment_subject'];
|
||||||
|
$this -> rssItems[$loop]['pubdate'] = $value['comment_datestamp'];
|
||||||
|
|
||||||
switch ($value['comment_type']) {
|
switch ($value['comment_type'])
|
||||||
|
{
|
||||||
case 0:
|
case 0:
|
||||||
$this -> rssItems[$loop]['link'] = "http://".$_SERVER['HTTP_HOST'].e_HTTP."comment.php?comment.news.".$value['comment_item_id'];
|
$this -> rssItems[$loop]['link'] = "http://".$_SERVER['HTTP_HOST'].e_HTTP."comment.php?comment.news.".$value['comment_item_id'];
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user