From 029167ad5dd7cc28a94c703a14d5d41ef92629a7 Mon Sep 17 00:00:00 2001
From: Michael Fürmann <michael@spicyweb.de>
Date: Thu, 19 Feb 2015 15:23:03 -0500
Subject: [PATCH] Removed management method 'mailaccount' as long as maildomain hook is not implemented

---
 interface/web/mail/templates/xmpp_domain_edit.htm |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/interface/web/mail/templates/xmpp_domain_edit.htm b/interface/web/mail/templates/xmpp_domain_edit.htm
index b6fff9b..5c4e8d7 100644
--- a/interface/web/mail/templates/xmpp_domain_edit.htm
+++ b/interface/web/mail/templates/xmpp_domain_edit.htm
@@ -73,13 +73,16 @@
 
 
 
-
+<!--
+management by maildomain is currently not supported
 <div class="form-group">
     <label for="management_method" class="col-sm-3 control-label">{tmpl_var name='management_method_txt'}</label>
     <div class="col-sm-9"><select name="management_method" id="management_method" class="form-control">
         {tmpl_var name='management_method'}
     </select></div>
 </div>
+-->
+<input type="hidden" name="management_method" id="management_method" value="0" />
 
 <div id="toggle-management-normal" class="collapse">
     <!--
@@ -92,7 +95,7 @@
     </div-->
 </div>
         <input type="hidden" name="public_registration" id="public_registration" value="n" />
-<div id="toggle-registration-closed" class="collapse">
+<div id="toggle-registration-closed" class="collapse in">
     <div class="form-group">
         <label for="registration_url" class="col-sm-3 control-label">{tmpl_var name='registration_url_txt'}</label>
         <div class="col-sm-9">

--
Gitblit v1.9.1