/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $smarty->assign('heading_summary', $this->Lang('heading_summary')); $smarty->assign( 'list_summary_templates', $this->ShowTemplateList( $id, $returnid, TMPL_PREFIX_SUMMARY, $this->GetPreference('default_summary_template'), 'summary_templates', 'default', $this->Lang('title_summary'), $this->Lang('text_summary_edit'), 'defaultadmin' ) ); echo $this->ProcessTemplate('admin_summary_templates.tpl'); ?> /************ admin_summary_templates.tpl ***************/ <h3>{$heading_summary}</h3> {$list_summary_templates} /********************* install.php **********************/ $this->SetTemplate( TMPL_PREFIX_SUMMARY.'default', $this->GetTemplateFromFile('default_summary'), $this->GetName() );