[Vtigercrm-commits] [vtiger-commits] r9823 - /vtigercrm/branches/5.0.3/Smarty/templates/QuickCreateHidden.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Nov 13 07:03:27 EST 2006
Author: richie
Date: Mon Nov 13 05:03:19 2006
New Revision: 9823
Log:
Changes are done for supporting Quick Create for generic module additioon API's
Modified:
vtigercrm/branches/5.0.3/Smarty/templates/QuickCreateHidden.tpl
Modified: vtigercrm/branches/5.0.3/Smarty/templates/QuickCreateHidden.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/QuickCreateHidden.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/QuickCreateHidden.tpl Mon Nov 13 05:03:19 2006
@@ -17,71 +17,12 @@
<form name="QcEditView" onSubmit="return getFormValidate('qcform');" method="POST" action="index.php">
{/if}
-{if $MODULE eq 'Accounts'}
+{if $MODULE eq 'Calendar'}
+ <input type="hidden" name="activity_mode" value="{$ACTIVITY_MODE}">
+{elseif $MODULE eq 'Events'}
+ <input type="hidden" name="activity_mode" value="{$ACTIVITY_MODE}">
+{/if}
+ <input type="hidden" name="record" value="">
+ <input type="hidden" name="action" value="Save">
<input type="hidden" name="module" value="{$MODULE}">
- <input type="hidden" name="record" value="">
- <input type="hidden" name="email1" value="">
- <input type="hidden" name="email2" value="">
<input type="hidden" name="assigned_user_id" value="{$USERID}">
- <input type="hidden" name="action" value="Save">
-{elseif $MODULE eq 'Leads'}
- <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'}
- <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 'Calendar'}
- <input type="hidden" name="module" value="Calendar">
- <input type="hidden" name="record" value="">
- <input type="hidden" name="activity_mode" value="{$ACTIVITY_MODE}">
- <input type="hidden" name="assigned_user_id" value="{$USERID}">
- <input type="hidden" name="action" value="Save">
-{elseif $MODULE eq 'Events'}
- <input type="hidden" name="module" value="Calendar">
- <input type="hidden" name="record" value="">
- <input type="hidden" name="activity_mode" value="{$ACTIVITY_MODE}">
- <input type="hidden" name="assigned_user_id" value="{$USERID}">
- <input type="hidden" name="action" value="Save">
-{elseif $MODULE eq 'HelpDesk'}
- <input type="hidden" name="module" value="{$MODULE}">
- <input type="hidden" name="return_module" value="HelpDesk">
- <input type="hidden" name="record" value="">
- <input type="hidden" name="parent_type" value="{$APP.record_type_default_key}">
- <input type="hidden" name="assigned_user_id" value="{$USERID}">
- <input type="hidden" name="action" value="Save">
- <input type="hidden" name="return_action" value="DetailView">
-{elseif $MODULE eq 'Notes'}
- <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'}
- <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'}
- <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 'PriceBooks'}
- <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'}
- <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