Ich möchte jetzt eine Variable durch eine Templatedatei ersetzen. Bsw.:
	
Ich möchte, dass das Template titel in das Template index integriert wird, geht das? Wenn ja wie?
							
						
					PHP Code:
	
	
$tpl2 = new Template('templates/titel.htm'); 
$tpl2->assign('titel', "Testtitel"); 
$tpl_index = new Template('templates/index.htm'); 
$tpl_index->assign('uebersicht', "$tpl2"); 
$tpl_index->out(); 
 
          
 Moderator
 Moderator
Comment