assign(array('TEXT1_VALUE' => $conf_smiliessupport[0])); $template->assign(array('TEXT2_VALUE' => $conf_smiliessupport[1])); $template->assign(array('TEXT3_VALUE' => $conf_smiliessupport[2])); include_once(dirname(__FILE__) . '/smiliessupport.inc.php'); $template->assign('SMILIESSUPPORT_PAGE', SmiliesTable()); $smilies_file = PHPWG_ROOT_PATH.$conf_smiliessupport[0].'/smilies.txt'; $content_file = ''; if (file_exists($smilies_file)) { $content_file = file_get_contents($smilies_file); $template->assign(array('CONTENT_FILE' =>$content_file )); } $template->set_filename('smiliessupport_conf', dirname(__FILE__).'/smiliessupport_admin.tpl'); $template->assign_var_from_handle('ADMIN_CONTENT', 'smiliessupport_conf'); ?>