lock(); $r=$dom->get_domain_all($domain); /* if (! empty($sub)) { $sd=$dom->get_sub_domain_all($domain,$sub,$type,$value); } */ $sd=$dom->get_sub_domain_all($sub_domain_id); $type=$sd['type']; $sub=$sd['name']; $dom->unlock(); ?>
domains_type_lst() as $dt) { // If this type is disabled AND it's not the type in use here, continue if ( $dt['enable'] == 'NONE' && strtoupper($type)!=strtoupper($dt['name'])) continue ; // If this type is only for ADMIN and i'm not an admin, continue (oldid is to check if we are an admin who take user identity) if (( $dt['enable'] == 'ADMIN') && (! $admin->enabled and ! intval($oldid))) continue; if ( (! $r['dns'] ) and ($dt['need_dns']) ) continue; $targval=(strtoupper($type)==strtoupper($dt['name']))?$sd['dest']:''; if ($dt['advanced']) { $lst_advanced[]=$dt['name']; if ($first_advanced) { $first_advanced=false; echo ""; echo ""; } } ?>
.
+ "; __("Show advanced options"); echo "
OnClick="getElementById('t_').focus();"/>