Revert "smartified export.inc.php"
This reverts commit e795e4b2ea85d0a450b24bb8f3512740f76aef07.
This commit is contained in:
parent
1fc36abe56
commit
dd17a759c1
@ -6,20 +6,10 @@ if (IN_serendipity !== true) {
|
|||||||
die ("Don't hack!");
|
die ("Don't hack!");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_object($serendipity['smarty'])) {
|
?>
|
||||||
serendipity_smarty_init();
|
<div>
|
||||||
}
|
<a href="<?php echo $serendipity['baseURL'] ?>rss.php?version=2.0&all=1" class="serendipityPrettyButton input_button"><?php echo EXPORT_FEED; ?></a>
|
||||||
|
</div>
|
||||||
$serendipity['smarty']->assign($data);
|
<?php
|
||||||
|
|
||||||
$tfile = dirname(__FILE__) . "/export.inc.tpl";
|
|
||||||
|
|
||||||
$inclusion = $serendipity['smarty']->security_settings[INCLUDE_ANY];
|
|
||||||
$serendipity['smarty']->security_settings[INCLUDE_ANY] = true;
|
|
||||||
$content = $serendipity['smarty']->fetch('file:'. $tfile);
|
|
||||||
$serendipity['smarty']->security_settings[INCLUDE_ANY] = $inclusion;
|
|
||||||
|
|
||||||
echo $content;
|
|
||||||
|
|
||||||
/* vim: set sts=4 ts=4 expandtab : */
|
/* vim: set sts=4 ts=4 expandtab : */
|
||||||
?>
|
?>
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
<div>
|
|
||||||
<a href="{$serendipityBaseURL}rss.php?version=2.0&all=1" class="serendipityPrettyButton input_button">{$CONST.EXPORT_FEED}</a>
|
|
||||||
</div>
|
|
Loading…
x
Reference in New Issue
Block a user