--- nfo/php/libs/org.netfrag.flib/Site/Template.php 2002/12/19 10:33:49 1.2 +++ nfo/php/libs/org.netfrag.flib/Site/Template.php 2004/05/13 19:16:45 1.3 @@ -1,8 +1,11 @@ lt->getlt() +// // Revision 1.2 2002/12/19 10:33:49 joko // + debugging and bugfixing // @@ -131,8 +134,11 @@ //print "db_get_template: '$tpl_name', '$tpl_source', '$smarty_obj'
"; //return $this->site->lt->getlt($tpl_name); global $site; - if ($template = $site->lt->getlt($tpl_name, array(), 1)) { -//print "template: '$template'
"; + // WAS: (problems with double qoutes!!) + //if ($template = $site->lt->getlt($tpl_name, array(), array( 'return' => 1) )) { + // IS - 2004-05-13: + if ($template = $site->localetext->getlt($tpl_name)) { + //print "template: '$template'
"; $tpl_source = $template; return true; }