--- nfo/php/libs/org.netfrag.flib/Site/Template.php 2004/05/13 19:16:45 1.3 +++ nfo/php/libs/org.netfrag.flib/Site/Template.php 2004/06/16 22:01:48 1.4 @@ -1,8 +1,11 @@ lt->getlt() // @@ -36,17 +39,11 @@ "lt", array( "db_get_template", - "db_get_timestamp" - ) - ); -/* - array( - "db_get_template", "db_get_timestamp", "db_get_secure", "db_get_trusted" ) -*/ + ); } function display($identifier, $options) { @@ -150,11 +147,22 @@ return true; } +function db_get_secure($tpl_name, &$smarty_obj) +{ + // assume all templates are secure + return true; +} + +function db_get_trusted($tpl_name, &$smarty_obj) +{ + // not used for templates +} /* // ---------------------------------------------------------------------------------- -// from: http://smarty.php.net/manual/en/templates.from.elsewhere.html +// from: http://smarty.php.net/manual/en/templates.from.elsewhere.php +// see also: http://smarty.php.net/manual/en/api.register.resource.php // ----------------------------------------------------------------------------------