Kusaba-Z /dwoo/templates_c/var/www/html/kuzaba/dwoo/templates/rss_mod.tpl.d15.php

Language PHP Lines 32
MD5 Hash ec2cc7a8803301afa143ed796a4d1334
Repository https://github.com/stormeus/Kusaba-Z.git View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
if (function_exists('Dwoo_Plugin_date_format')===false)
	$this->getLoader()->loadPlugin('date_format');
ob_start(); /* template body */ ?><?php echo '<?xml'; ?> version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><?php echo KU_NAME;?> - Modlog</title>
<link><?php echo KU_WEBPATH;?></link>
<description>Live view of all moderative actions on <?php echo KU_WEBPATH;?></description>
<language><?php echo KU_LOCALE;?></language>
<?php 
$_fh0_data = (isset($this->scope["entries"]) ? $this->scope["entries"] : null);
if ($this->isArray($_fh0_data) === true)
{
	foreach ($_fh0_data as $this->scope['item'])
	{
/* -- foreach start output */
?>
	<item>
	<title><?php echo Dwoo_Plugin_date_format($this, (isset($this->scope["item"]["timestamp"]) ? $this->scope["item"]["timestamp"]:null), "%a %m/%d %H:%M", null);?></title>
	<description><![CDATA[<?php echo $this->scope["item"]["user"];?> - <?php echo $this->scope["item"]["entry"];?>]]></description>
	</item>
<?php 
/* -- foreach end output */
	}
}?>

</channel>
</rss>
<?php  /* end template body */
return $this->buffer . ob_get_clean();
?>
Back to Top