[Vtigercrm-commits] [vtiger-commits] r9777 - in /vtigercrm/branches/5.0.3/Smarty/templates: DetailViewHidden.tpl EditViewHidden.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Nov 7 03:01:43 EST 2006
Author: richie
Date: Tue Nov 7 01:01:34 2006
New Revision: 9777
Log:
Made changes for module addition tool
Modified:
vtigercrm/branches/5.0.3/Smarty/templates/DetailViewHidden.tpl
vtigercrm/branches/5.0.3/Smarty/templates/EditViewHidden.tpl
Modified: vtigercrm/branches/5.0.3/Smarty/templates/DetailViewHidden.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/DetailViewHidden.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/DetailViewHidden.tpl Tue Nov 7 01:01:34 2006
@@ -192,6 +192,14 @@
<input type="hidden" name="return_module">
<input type="hidden" name="return_action">
<input type="hidden" name="return_id">
+{else}
+ <input type="hidden" name="module" value="{$MODULE}">
+ <input type="hidden" name="record" value="{$ID}">
+ <input type="hidden" name="isDuplicate" value=false>
+ <input type="hidden" name="action">
+ <input type="hidden" name="return_module">
+ <input type="hidden" name="return_action">
+ <input type="hidden" name="return_id">
{/if}
Modified: vtigercrm/branches/5.0.3/Smarty/templates/EditViewHidden.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/EditViewHidden.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/EditViewHidden.tpl Tue Nov 7 01:01:34 2006
@@ -76,6 +76,9 @@
<form name="EditView" method="POST" ENCTYPE="multipart/form-data" action="index.php">
<input type="hidden" name="activity_mode" value="{$ACTIVITY_MODE}">
<INPUT TYPE="HIDDEN" NAME="MAX_FILE_SIZE" VALUE="800000">
+{else}
+ {$ERROR_MESSAGE}
+ <form name="EditView" method="POST" action="index.php">
{/if}
<input type="hidden" name="module" value="{$MODULE}">
More information about the vtigercrm-commits
mailing list