From e1ceb050e19c7574bca146a8da7047ee4ff456b5 Mon Sep 17 00:00:00 2001
From: Marius Burkard <m.burkard@pixcept.de>
Date: Sun, 10 Jul 2016 05:02:35 -0400
Subject: [PATCH] Merge branch 'stable-3.1'
---
interface/web/help/templates/help_faq_list.htm | 30 ++++++++++++------------------
1 files changed, 12 insertions(+), 18 deletions(-)
diff --git a/interface/web/help/templates/help_faq_list.htm b/interface/web/help/templates/help_faq_list.htm
index cba74d2..e81dae2 100644
--- a/interface/web/help/templates/help_faq_list.htm
+++ b/interface/web/help/templates/help_faq_list.htm
@@ -1,22 +1,16 @@
<tmpl_loop name="records">
- <h3>{tmpl_var name='hf_question'}
- </h3>
- <p>
- {tmpl_var name='hf_answer'}
- </p>
- <tmpl_if name='is_admin'>
-<div class="buttons icons16">
- <a class="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>Delete</span></a>
- </div>
-<a href="#" onClick="loadContent('help/faq_edit.php?id={tmpl_var name='id'}');">Edit</a>
- <br/>
- <br/>
- <br/>
- </tmpl_if>
-
+ <h3>{tmpl_var name='hf_question'}
+ </h3>
+ <p>
+ {tmpl_var name='hf_answer'}
+ </p>
+ <tmpl_if name='is_admin'>
+ <a class="btn btn-default formbutton-danger formbutton-narrow" href="javascript: ISPConfig.confirm_action('help/faq_delete.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span class="icon icon-delete"></span></a>
+ <a href="#" data-load-content="help/faq_edit.php?id={tmpl_var name='id'}">{tmpl_var name="edit_txt"}</a>
+ <br/>
+ <br/>
+ <br/>
+ </tmpl_if>
</tmpl_loop>
<!--<tmpl_var name="paging">-->
--
Gitblit v1.9.1