From 74c2c0f3a47dc5ba992b17d1acb8f5e9155a5f8e Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Mon, 27 Feb 2012 06:44:00 -0500
Subject: [PATCH] - Added JavaScript function submitFormConfirm(formname,target,confirmation){} that display a confirmation message before a form is submitted.
---
interface/web/help/form/faq_sections.tform.php | 36 ++++++++++++++++++------------------
1 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/interface/web/help/form/faq_sections.tform.php b/interface/web/help/form/faq_sections.tform.php
index 2e61c38..d849f27 100644
--- a/interface/web/help/form/faq_sections.tform.php
+++ b/interface/web/help/form/faq_sections.tform.php
@@ -49,26 +49,26 @@
// The form definition of the first tab. The name of the tab is called 'message'. We refer
// to this name in the $form['tab_default'] setting above.
$form['tabs']['message'] = array(
- 'title' => 'FAQ', // Title of the Tab
- 'width' => 100, // Tab width
- 'template' => 'templates/faq_sections_edit.htm', // Template file name
- 'fields' => array(
+ 'title' => 'FAQ', // Title of the Tab
+ 'width' => 100, // Tab width
+ 'template' => 'templates/faq_sections_edit.htm', // Template file name
+ 'fields' => array(
- //*** BEGIN Datatable columns **********************************
+ //*** BEGIN Datatable columns **********************************
- 'hfs_name' => array(
- 'datatype' => 'VARCHAR',
- 'formtype' => 'TEXT',
- 'validators' => array( 0 => array( 'type' => 'NOTEMPTY',
- 'errmsg'=> 'subject_is_empty'
- ),
- ),
- 'default' => '',
- 'value' => '',
- 'width' => '30',
- 'maxlength' => '255'
- ),
- //*** END Datatable columns **********************************
+ 'hfs_name' => array(
+ 'datatype' => 'VARCHAR',
+ 'formtype' => 'TEXT',
+ 'validators'=> array( 0 => array( 'type' => 'NOTEMPTY',
+ 'errmsg'=> 'subject_is_empty'
+ ),
+ ),
+ 'default' => '',
+ 'value' => '',
+ 'width' => '30',
+ 'maxlength' => '255'
+ ),
+ //*** END Datatable columns *********************************
)
);
?>
--
Gitblit v1.9.1