public function edit($name) { $temp = new configTemplate(); $temp->loadName($name); $tempsettings = $temp->template->settings(); $temp->settings['default'] = $temp->default; $lists = array(); $settings = new aecSettings('cfg', 'general'); $settings->fullSettingsArray($tempsettings['params'], $temp->settings, $lists); // Call HTML Class $aecHTML = new aecHTML($settings->settings, $settings->lists); $aecHTML->tempname = $name; $aecHTML->name = $temp->info['longname']; HTML_AcctExp::editTemplate($aecHTML, $tempsettings['tab_data']); }