smartified entries_overview.inc

This commit is contained in:
Ian 2012-02-28 20:05:09 +01:00
parent 1e648e2bac
commit 60f2535597
2 changed files with 15 additions and 5 deletions

View File

@ -1,12 +1,19 @@
<?php # $Id$
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
/* vim: set sts=4 ts=4 expandtab : */
if (IN_serendipity !== true) {
die ('Don\'t hack!');
}
echo WELCOME_BACK . ' ' . htmlspecialchars($_SESSION['serendipityUser']);
if (!is_object($serendipity['smarty'])) {
serendipity_smarty_init();
}
?>
$serendipity['smarty']->assign($data);
$tfile = dirname(__FILE__) . "/tpl/entries_overview.inc.tpl";
$content = $serendipity['smarty']->fetch('file:'. $tfile); // short notation with Smarty3 in S9y 1.7 and up
echo $content;
/* vim: set sts=4 ts=4 expandtab : */

View File

@ -0,0 +1,3 @@
{$CONST.WELCOME_BACK} {$smarty.session.serendipityUser|escape}