[Vtigercrm-commits] [vtiger-commits] r6223 - /vtigercrm/trunk/Smarty/templates/QuickCreateHidden.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sat May 20 05:03:27 EDT 2006
Author: saraj
Date: Sat May 20 03:03:23 2006
New Revision: 6223
Log:
updated qchidden file
Modified:
vtigercrm/trunk/Smarty/templates/QuickCreateHidden.tpl
Modified: vtigercrm/trunk/Smarty/templates/QuickCreateHidden.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/QuickCreateHidden.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/QuickCreateHidden.tpl Sat May 20 03:03:23 2006
@@ -12,7 +12,7 @@
-->*}
{if $MODULE eq 'Accounts'}
- <form name="AccountSave" onSubmit="return formValidate()" method="POST" action="index.php">
+ <form name="AccountSave" onSubmit="return qcformValidate()" method="POST" action="index.php">
<input type="hidden" name="module" value="{$MODULE}">
<input type="hidden" name="record" value="">
<input type="hidden" name="email1" value="">
@@ -20,14 +20,14 @@
<input type="hidden" name="assigned_user_id" value="{$USERID}">
<input type="hidden" name="action" value="Save">
{elseif $MODULE eq 'Leads'}
- <form name="LeadSave" onSubmit="return formValidate()" method="POST" action="index.php">
+ <form name="LeadSave" onSubmit="return qcformValidate()" method="POST" action="index.php">
<input type="hidden" name="module" value="{$MODULE}">
<input type="hidden" name="record" value="">
<input type="hidden" name="assigned_user_id" value="{$USERID}">
<input type="hidden" name="email2" value="">
<input type="hidden" name="action" value="Save">
{elseif $MODULE eq 'Contacts'}
- <form name="EditView" onSubmit="return formValidate()" method="POST" action="index.php">
+ <form name="EditView" onSubmit="return qcformValidate()" method="POST" action="index.php">
<input type="hidden" name="module" value="{$MODULE}">
<input type="hidden" name="record" value="">
<input type="hidden" name="assigned_user_id" value="{$USERID}">
@@ -37,19 +37,19 @@
<form name="ActivitySave" method="POST" action="index.php">
<input type="hidden" name="module" value="Activities">
<input type="hidden" name="record" value="">
- <input type="hidden" name="activity_mode" value="Task">
+ <input type="hidden" name="activity_mode" value="{$ACTIVITYMODE}">
<input type="hidden" name="assigned_user_id" value="{$USERID}">
<input type="hidden" name="action" value="Save">
<input type="hidden" name="due_date" value="">
{elseif $MODULE eq 'Emails'}
- <form name="EmailSave" onSubmit="return formValidate()" method="POST" action="index.php">
+ <form name="EmailSave" onSubmit="return qcformValidate()" method="POST" action="index.php">
<input type="hidden" name="module" value="Emails">
<input type="hidden" name="record" value="">
<input type="hidden" name="action" value="Save">
<input type="hidden" name="parent_type" value="{$APP.record_type_default_key}">
<input type="hidden" name="assigned_user_id" value="{$USERID}">
{elseif $MODULE eq 'HelpDesk'}
- <form name="TicketSave" onSubmit="return formValidate()" method="POST" action="index.php">
+ <form name="TicketSave" onSubmit="return qcformValidate()" method="POST" action="index.php">
<input type="hidden" name="module" value="{$MODULE}">
<input type="hidden" name="return_module" value="HelpDesk">
<input type="hidden" name="record" value="">
@@ -58,25 +58,25 @@
<input type="hidden" name="action" value="Save">
<input type="hidden" name="return_action" value="DetailView">
{elseif $MODULE eq 'Notes'}
- <form name="NoteSave" onSubmit="return formValidate()" method="POST" action="index.php">
+ <form name="NoteSave" onSubmit="return qcformValidate()" method="POST" action="index.php">
<input type="hidden" name="module" value="{$MODULE}">
<input type="hidden" name="record" value="">
<input type="hidden" name="parent_type" value="{$APP.record_type_default_key}">
<input type="hidden" name="action" value="Save">
{elseif $MODULE eq 'Potentials'}
- <form name="EditView" onSubmit="return formValidate()" method="POST" action="index.php">
+ <form name="EditView" onSubmit="return qcformValidate()" method="POST" action="index.php">
<input type="hidden" name="module" value="Potentials">
<input type="hidden" name="record" value="">
<input type="hidden" name="assigned_user_id" value="{$USERID}">
<input type="hidden" name="action" value="Save">
{elseif $MODULE eq 'Campaigns'}
- <form name="EditView" onSubmit="return formValidate()" method="POST" action="index.php">
+ <form name="EditView" onSubmit="return qcformValidate()" method="POST" action="index.php">
<input type="hidden" name="module" value="{$MODULE}">
<input type="hidden" name="record" value="">
<input type="hidden" name="assigned_user_id" value="{$USERID}">
<input type="hidden" name="action" value="Save">
{elseif $MODULE eq 'Products'}
- <form name="ProductSave" onSubmit="return formValidate()" method="POST" action="index.php">
+ <form name="ProductSave" onSubmit="return qcformValidate()" method="POST" action="index.php">
<input type="hidden" name="module" value="Products">
<input type="hidden" name="record" value="">
<input type="hidden" name="assigned_user_id" value="'.$user_id.'">
@@ -84,6 +84,18 @@
{*<input type="hidden" name="start_date" value="'.$start_date.'">
<input type="hidden" name="expiry_date" value="'.$start_date.'">
<input type="hidden" name="purchase_date" value="'.$start_date.'">*}
+{elseif $MODULE eq 'PriceBooks'}
+ <form name="PBookSave" onSubmit="return qcformValidate()" method="POST" action="index.php">
+ <input type="hidden" name="module" value="PriceBooks">
+ <input type="hidden" name="record" value="">
+ <input type="hidden" name="assigned_user_id" value="{$USERID}">
+ <input type="hidden" name="action" value="Save">
+{elseif $MODULE eq 'Vendors'}
+ <form name="PBookSave" onSubmit="return qcformValidate()" method="POST" action="index.php">
+ <input type="hidden" name="module" value="Vendors">
+ <input type="hidden" name="record" value="">
+ <input type="hidden" name="assigned_user_id" value="{$USERID}">
+ <input type="hidden" name="action" value="Save">
{/if}
More information about the vtigercrm-commits
mailing list