diff --git a/ehcp/classapp.php b/ehcp/classapp.php index 98570b6..6e76764 100755 --- a/ehcp/classapp.php +++ b/ehcp/classapp.php @@ -2217,7 +2217,9 @@ organizationalUnitName = $unit_name"; array('clearTemplate', 'submit', 'default' => 'Revert to Default'), array('op', 'hidden', 'default' => __FUNCTION__) ); - $this->output .= '

' . $subdomain["subdomain"] . "." . $subdomain["domainname"] . ' Using Default Template: ' . ($usingDefault ? 'YES' : 'NO') . '

' . inputform5($inputparams); + + $this->output .= '

' . $subdomain["subdomain"] . "." . $subdomain["domainname"] . ' Using Default Template: ' . ($usingDefault ? 'YES' : 'NO') . '

' . inputform5($inputparams) . '
'; + } else { if ($clearTemplate) { $success = $success && $this->executeQuery("update " . $this->conf['subdomainstable']['tablename'] . " set $templatefield='' where domainname='" . $subdomain["domainname"] . "' AND subdomain ='" . $subdomain["subdomain"] . "' AND id ='" . $id . "'");