From 0cd87e682012f224e2b74531190bb983fdcbb430 Mon Sep 17 00:00:00 2001
From: Florian Schaal <florian@schaal-24.de>
Date: Sun, 10 Jan 2016 03:31:27 -0500
Subject: [PATCH] Revert "allow 0 for ISINT"

---
 interface/web/mail/templates/mail_get_edit.htm |  105 +++++++++++++++++++++++++++-------------------------
 1 files changed, 54 insertions(+), 51 deletions(-)

diff --git a/interface/web/mail/templates/mail_get_edit.htm b/interface/web/mail/templates/mail_get_edit.htm
index eb58c09..f3d8a3b 100644
--- a/interface/web/mail/templates/mail_get_edit.htm
+++ b/interface/web/mail/templates/mail_get_edit.htm
@@ -1,51 +1,54 @@
-<h2><tmpl_var name="list_head_txt"></h2>
-
-<div class="panel panel_mail_get">
-
-  <div class="pnl_formsarea">
-    <fieldset id="wf_area_mail_get"><legend>Get Email</legend>
-<!--
-      <span class="wf_oneField">
-        <label for="server_id" class="wf_preField">{tmpl_var name='server_id_txt'}</label>
-        <select id="server_id" name="server_id">{tmpl_var name='server_id'}</select>
-      </span>
--->
-      <span class="wf_oneField">
-        <label for="type" class="wf_preField">{tmpl_var name='type_txt'}</label>
-        <select id="type" name="type">{tmpl_var name='type'}</select>
-      </span>
-      <span class="wf_oneField">
-        <label for="source_server" class="wf_preField">{tmpl_var name='source_server_txt'}</label>
-        <input type="text" id="source_server" name="source_server" value="{tmpl_var name='source_server'}" size="30" maxlength="255">
-      </span>
-      <span class="wf_oneField">
-        <label for="source_username" class="wf_preField">{tmpl_var name='source_username_txt'}</label>
-        <input type="text" id="source_username" name="source_username" value="{tmpl_var name='source_username'}" size="30" maxlength="255">
-      </span>
-      <span class="wf_oneField">
-        <label for="source_password" class="wf_preField">{tmpl_var name='source_password_txt'}</label>
-        <input type="text" id="source_password" name="source_password" value="{tmpl_var name='source_password'}" size="30" maxlength="255">
-      </span>
-      <span class="wf_oneField">
-        <label for="source_delete" class="wf_preField">{tmpl_var name='source_delete_txt'}</label>
-        <span class="">{tmpl_var name='source_delete'}</span>
-      </span>
-      <span class="wf_oneField">
-        <label for="destination" class="wf_preField">{tmpl_var name='destination_txt'}</label>
-        <select id="destination" name="destination">{tmpl_var name='destination'}</select>
-      </span>
-      <span class="wf_oneField">
-        <label for="active" class="wf_preField">{tmpl_var name='active_txt'}</label>                    
-        <span class="">{tmpl_var name='active'}</span>
-      </span>
-    </fieldset>
-
-    <input type="hidden" name="id" value="{tmpl_var name='id'}">
-
-    <div class="wf_actions buttons">
-      <button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','mail/mail_get_edit.php');"><span>{tmpl_var name='btn_save_txt'}</span></button>
-      <button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('mail/mail_get_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button>
-    </div>
-  </div>
-  
-</div>
+<div class='page-header'>
+	<h1><tmpl_var name="list_head_txt"></h1>
+</div>
+<p><tmpl_var name="list_desc_txt"></p>
+
+
+        
+            <div class="form-group">
+                <label for="type" class="col-sm-3 control-label">{tmpl_var name='type_txt'}</label>
+                <div class="col-sm-9"><select name="type" id="type" class="form-control">
+                    {tmpl_var name='type'}
+                </select></div>
+            </div>
+            <div class="form-group">
+                <label for="source_server" class="col-sm-3 control-label">{tmpl_var name='source_server_txt'}</label>
+                <div class="col-sm-9"><input type="text" name="source_server" id="source_server" value="{tmpl_var name='source_server'}" class="form-control" /></div></div>
+            <div class="form-group">
+                <label for="source_username" class="col-sm-3 control-label">{tmpl_var name='source_username_txt'}</label>
+                <div class="col-sm-9"><input type="text" name="source_username" id="source_username" value="{tmpl_var name='source_username'}" class="form-control" /></div></div>
+            <div class="form-group">
+                <label for="source_password" class="col-sm-3 control-label">{tmpl_var name='source_password_txt'}</label>
+                <div class="col-sm-9"><input type="password" name="source_password" id="source_password" value="{tmpl_var name='source_password'}" class="form-control" /></div></div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">{tmpl_var name='source_delete_txt'}</label>
+                <div class="col-sm-9">
+                    {tmpl_var name='source_delete'} {tmpl_var name="source_delete_note_txt"}
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">{tmpl_var name='source_read_all_txt'}</label>
+                <div class="col-sm-9">        
+                    {tmpl_var name='source_read_all'} 
+                </div>                          
+            </div>
+            <div class="form-group">
+                <label for="destination" class="col-sm-3 control-label">{tmpl_var name='destination_txt'}</label>
+                <div class="col-sm-9"><select name="destination" id="destination" class="form-control">
+                    {tmpl_var name='destination'}
+                </select></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">{tmpl_var name='active_txt'}</label>
+                <div class="col-sm-9">
+                    {tmpl_var name='active'}
+                </div>
+            </div>
+        
+
+        <input type="hidden" name="id" value="{tmpl_var name='id'}">
+
+        <div class="clear"><div class="right">
+            <button class="btn btn-default formbutton-success" type="button" value="{tmpl_var name='btn_save_txt'}" data-submit-form="pageForm" data-form-action="mail/mail_get_edit.php">{tmpl_var name='btn_save_txt'}</button>
+            <button class="btn btn-default formbutton-default" type="button" value="{tmpl_var name='btn_cancel_txt'}" data-load-content="mail/mail_get_list.php">{tmpl_var name='btn_cancel_txt'}</button>
+        </div></div>
\ No newline at end of file

--
Gitblit v1.9.1