smartified entries_overview.inc
This commit is contained in:
parent
1e648e2bac
commit
60f2535597
@ -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 : */
|
||||
|
3
include/admin/tpl/entries_overview.inc.tpl
Normal file
3
include/admin/tpl/entries_overview.inc.tpl
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
{$CONST.WELCOME_BACK} {$smarty.session.serendipityUser|escape}
|
||||
|
Loading…
x
Reference in New Issue
Block a user