From 71c74b1b572f3bdf00ba99009cc23f8f48072a1c Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Sat, 08 Mar 2014 11:58:49 -0500
Subject: [PATCH] Fixed: FS#3372 - Web browser password autofill function overwrites settings

---
 interface/web/help/templates/faq_manage_questions_list.htm |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/interface/web/help/templates/faq_manage_questions_list.htm b/interface/web/help/templates/faq_manage_questions_list.htm
index 39aa31a..e7b5eaf 100644
--- a/interface/web/help/templates/faq_manage_questions_list.htm
+++ b/interface/web/help/templates/faq_manage_questions_list.htm
@@ -25,16 +25,21 @@
 				<tbody>
                 <tmpl_loop name="records">
                     <tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
-                        <td>{tmpl_var name='hf_question'}</td>
-                        <td>{tmpl_var name='hf_section'}</td>
-                        <td class="tbl_col_buttons">
+                        <td width="60%">{tmpl_var name='hf_question'}</td>
+                        <td width="30%">{tmpl_var name='hf_section'}</td>
+                        <td class="tbl_col_buttons" width="5%">
                             <a class="button icons16 icoDelete" href="javascript: del_record('help/faq_delete.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span>{tmpl_var name="faq_delete_txt"}</span></a>
                         </td>
-                        <td class="tbl_col_buttons">
+                        <td class="tbl_col_buttons" width="5%">
                             <a class="button icons16 icoEdit" href="javascript: loadContent('help/faq_edit.php?id={tmpl_var name='id'}');"><span>{tmpl_var name="faq_edit_txt"}</span></a>
                         </td>
                     </tr>
                 </tmpl_loop>
+                <tmpl_unless name="records">
+                    <tr class="tbl_row_noresults tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
+                        <td colspan="4">{tmpl_var name='globalsearch_noresults_text_txt'}</td>
+                    </tr>
+                </tmpl_unless>
 				</tbody>
 				<tfoot>
                     <tr>

--
Gitblit v1.9.1