Permalink
Browse files

no need for assignment

  • Loading branch information...
1 parent 4bc7f98 commit cccd3aca578337fb76f1e608a9171426c79d49bd @ophian ophian committed Jun 1, 2012
Showing with 2 additions and 13 deletions.
  1. +1 −5 include/admin/entries_overview.inc.php
  2. +1 −8 include/admin/export.inc.php
@@ -8,12 +8,8 @@
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
-
+$content = $serendipity['smarty']->fetch('file:'. $tfile);
echo $content;
/* vim: set sts=4 ts=4 expandtab : */
@@ -1,6 +1,4 @@
<?php # $Id$
-# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
-# All rights reserved. See LICENSE file for licensing details
if (IN_serendipity !== true) {
die ("Don't hack!");
@@ -10,13 +8,8 @@
serendipity_smarty_init();
}
-$serendipity['smarty']->assign($data);
-
$tfile = dirname(__FILE__) . "/tpl/export.inc.tpl";
-
-$content = $serendipity['smarty']->fetch('file:'. $tfile); // short notation with Smarty3 in S9y 1.7 and up
-
+$content = $serendipity['smarty']->fetch('file:'. $tfile);
echo $content;
/* vim: set sts=4 ts=4 expandtab : */
-?>

0 comments on commit cccd3ac

Please sign in to comment.