The smartified code as forked from master to 2.0 being outsourced, now is to find in /include/admin/tplold, which will still be used as the default backend template dir. To switch to the new version, please paste the dirs and files of s9y-admin-tpl as adviced in the readme and reload, but also add a ```php // End of Serendipity configuration file // You can place your own special variables after here: define('SWITCH_TEMPLATE_VERSION', 'true'); ``` to the end of your serendipity_config_local.inc.php. To switch back to the old smartified files, just set a // to the define().
16 lines
376 B
PHP
16 lines
376 B
PHP
<?php # $Id$
|
|
|
|
if (IN_serendipity !== true) {
|
|
die ('Don\'t hack!');
|
|
}
|
|
|
|
if (!is_object($serendipity['smarty'])) {
|
|
serendipity_smarty_init();
|
|
}
|
|
|
|
$tpldir = ( !defined('SWITCH_TEMPLATE_VERSION') ) ? 'tplold' : 'tpl';
|
|
$tfile = dirname(__FILE__) . "/$tpldir/entries_overview.inc.tpl";
|
|
$serendipity['smarty']->display('file:'. $tfile);
|
|
|
|
/* vim: set sts=4 ts=4 expandtab : */
|