[Vtigercrm-commits] [vtiger-commits] r9981 - in /vtigercrm/branches/5.0.3: Smarty/templates/ Smarty/templates/Inventory/ include/language/ modules/Accounts/ modules/Calendar/ modules/Campaigns/ modules/Contacts/ modules/Faq/ modules/HelpDesk/ modules/Invoice/ modules/Leads/ modules/Notes/ modules/PriceBooks/ modules/Products/ modules/PurchaseOrder/ modules/Quotes/ modules/SalesOrder/ modules/Users/ modules/Vendors/

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Dec 15 09:36:15 EST 2006


Author: richie
Date: Fri Dec 15 07:35:38 2006
New Revision: 9981

Log:
Text changed in header when a entity is duplicated

Modified:
    vtigercrm/branches/5.0.3/Smarty/templates/ActivityEditView.tpl
    vtigercrm/branches/5.0.3/Smarty/templates/CreateView.tpl
    vtigercrm/branches/5.0.3/Smarty/templates/Inventory/InventoryCreateView.tpl
    vtigercrm/branches/5.0.3/Smarty/templates/UserEditView.tpl
    vtigercrm/branches/5.0.3/include/language/en_us.lang.php
    vtigercrm/branches/5.0.3/modules/Accounts/EditView.php
    vtigercrm/branches/5.0.3/modules/Calendar/EditView.php
    vtigercrm/branches/5.0.3/modules/Campaigns/EditView.php
    vtigercrm/branches/5.0.3/modules/Contacts/EditView.php
    vtigercrm/branches/5.0.3/modules/Faq/EditView.php
    vtigercrm/branches/5.0.3/modules/HelpDesk/EditView.php
    vtigercrm/branches/5.0.3/modules/Invoice/EditView.php
    vtigercrm/branches/5.0.3/modules/Leads/EditView.php
    vtigercrm/branches/5.0.3/modules/Notes/EditView.php
    vtigercrm/branches/5.0.3/modules/PriceBooks/EditView.php
    vtigercrm/branches/5.0.3/modules/Products/EditView.php
    vtigercrm/branches/5.0.3/modules/PurchaseOrder/EditView.php
    vtigercrm/branches/5.0.3/modules/Quotes/EditView.php
    vtigercrm/branches/5.0.3/modules/SalesOrder/EditView.php
    vtigercrm/branches/5.0.3/modules/Users/EditView.php
    vtigercrm/branches/5.0.3/modules/Vendors/EditView.php

Modified: vtigercrm/branches/5.0.3/Smarty/templates/ActivityEditView.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/ActivityEditView.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/ActivityEditView.tpl Fri Dec 15 07:35:38 2006
@@ -43,7 +43,11 @@
 					<span class="small">{$UPDATEINFO}	 </span> 
 				{/if}
 				{if $OP_MODE eq 'create_view'}
+					{if $DUPLICATE neq 'true'}
 					<span class="lvtHeaderText">{$APP.LBL_CREATING} {$SINGLE_MOD}</span> <br>
+					{else}
+					<span class="lvtHeaderText">{$APP.LBL_DUPLICATING} "{$NAME}"</span> <br>
+					{/if}
 				{/if}
 			</td></tr>
 		</table>

Modified: vtigercrm/branches/5.0.3/Smarty/templates/CreateView.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/CreateView.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/CreateView.tpl Fri Dec 15 07:35:38 2006
@@ -61,7 +61,11 @@
 			{$UPDATEINFO}	 
 		 {/if}
 		 {if $OP_MODE eq 'create_view'}
+			{if $DUPLICATE neq 'true'}
 			<span class="lvtHeaderText">{$APP.LBL_CREATING} {$APP.LBL_NEW} {$APP[$SINGLE_MOD]}</span> <br>
+			{else}
+			<span class="lvtHeaderText">{$APP.LBL_DUPLICATING} "{$NAME}" </span> <br>
+			{/if}
 		 {/if}
 
 		 <hr noshade size=1>

Modified: vtigercrm/branches/5.0.3/Smarty/templates/Inventory/InventoryCreateView.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/Inventory/InventoryCreateView.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/Inventory/InventoryCreateView.tpl Fri Dec 15 07:35:38 2006
@@ -65,7 +65,11 @@
 			{$UPDATEINFO}	 
 		 {/if}
 		 {if $OP_MODE eq 'create_view'}
+			{if $DUPLICATE neq 'true'}
 			<span class="lvtHeaderText">{$APP.LBL_CREATING} {$APP.LBL_NEW} {$MOD[$SINGLE_MOD]}</span> <br>
+			{else}
+			<span class="lvtHeaderText">{$APP.LBL_DUPLICATING} "{$NAME}" </span> <br>
+			{/if}
 		 {/if}
 
 		 <hr noshade size=1>

Modified: vtigercrm/branches/5.0.3/Smarty/templates/UserEditView.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/UserEditView.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/UserEditView.tpl Fri Dec 15 07:35:38 2006
@@ -90,7 +90,11 @@
 					{if $MODE eq 'edit'}
 						{$UMOD.LBL_EDITING} "{$USERNAME}" 
 					{else}
+						{if $DUPLICATE neq 'true'}
 						{$UMOD.LBL_CREATE_NEW_USER}
+						{else}
+						{$APP.LBL_DUPLICATING} "{$USERNAME}"
+						{/if}
 					{/if}
 					</b></span>
 				{else}
@@ -106,7 +110,9 @@
 			{if $MODE eq 'edit'}
 				<td><b class="small">{$UMOD.LBL_EDIT_VIEW} "{$USERNAME}"</b>
 			{else}
+				{if $DUPLICATE neq 'true'}
 				<td><b class="small">{$UMOD.LBL_CREATE_NEW_USER}</b>
+				{/if}
 			{/if}
 			</td>
                 </tr>

Modified: vtigercrm/branches/5.0.3/include/language/en_us.lang.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/language/en_us.lang.php (original)
+++ vtigercrm/branches/5.0.3/include/language/en_us.lang.php Fri Dec 15 07:35:38 2006
@@ -424,6 +424,7 @@
 'LBL_MORE' => 'More',
 'LBL_BASIC' => 'Basic',
 'LBL_CREATING' => 'Creating',
+'LBL_DUPLICATING' => 'Duplicating',
 'LBL_EDITING' => 'Editing',
 'LBL_NEW' => 'New',
 'Lead' => 'Lead',

Modified: vtigercrm/branches/5.0.3/modules/Accounts/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Accounts/EditView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Accounts/EditView.php Fri Dec 15 07:35:38 2006
@@ -110,6 +110,7 @@
 
 $check_button = Button_Check($module);
 $smarty->assign("CHECK", $check_button);
+$smarty->assign("DUPLICATE",$_REQUEST['isDuplicate'] );
  
 if ($focus->mode == 'edit')
 $smarty->display('salesEditView.tpl');

Modified: vtigercrm/branches/5.0.3/modules/Calendar/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Calendar/EditView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Calendar/EditView.php Fri Dec 15 07:35:38 2006
@@ -240,6 +240,7 @@
 
 $check_button = Button_Check($module);
 $smarty->assign("CHECK", $check_button);
+$smarty->assign("DUPLICATE", $_REQUEST['isDuplicate']);
 
 $smarty->display("ActivityEditView.tpl");
 

Modified: vtigercrm/branches/5.0.3/modules/Campaigns/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Campaigns/EditView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Campaigns/EditView.php Fri Dec 15 07:35:38 2006
@@ -99,7 +99,7 @@
 
 $check_button = Button_Check($module);
 $smarty->assign("CHECK", $check_button);
-
+$smarty->assign("DUPLICATE", $_REQUEST['isDuplicate']);
 if($focus->mode == 'edit')
 	$smarty->display("salesEditView.tpl");
 else

Modified: vtigercrm/branches/5.0.3/modules/Contacts/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Contacts/EditView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Contacts/EditView.php Fri Dec 15 07:35:38 2006
@@ -205,6 +205,7 @@
 
 $check_button = Button_Check($module);
 $smarty->assign("CHECK", $check_button);
+$smarty->assign("DUPLICATE", $_REQUEST['isDuplicate']);
 
 if($focus->mode == 'edit')
 $smarty->display("salesEditView.tpl");

Modified: vtigercrm/branches/5.0.3/modules/Faq/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Faq/EditView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Faq/EditView.php Fri Dec 15 07:35:38 2006
@@ -111,7 +111,7 @@
 	//Added to display the Faq comments information
 	$smarty->assign("COMMENT_BLOCK",$focus->getFAQComments($_REQUEST['record']));
 }
-
+$smarty->assign("DUPLICATE", $_REQUEST['isDuplicate']);
 if($focus->mode == 'edit')
 	$smarty->display("salesEditView.tpl");
 else

Modified: vtigercrm/branches/5.0.3/modules/HelpDesk/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/HelpDesk/EditView.php (original)
+++ vtigercrm/branches/5.0.3/modules/HelpDesk/EditView.php Fri Dec 15 07:35:38 2006
@@ -111,7 +111,7 @@
 	//Added to display the ticket comments information
 	$smarty->assign("COMMENT_BLOCK",$focus->getCommentInformation($_REQUEST['record']));
 }
-
+$smarty->assign("DUPLICATE", $_REQUEST['isDuplicate']);
 if($focus->mode == 'edit')
 	$smarty->display("salesEditView.tpl");
 else

Modified: vtigercrm/branches/5.0.3/modules/Invoice/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Invoice/EditView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Invoice/EditView.php Fri Dec 15 07:35:38 2006
@@ -351,7 +351,7 @@
 
 $check_button = Button_Check($module);
 $smarty->assign("CHECK", $check_button);
-
+$smarty->assign("DUPLICATE", $_REQUEST['isDuplicate']);
 if($focus->mode == 'edit')
 	$smarty->display("Inventory/InventoryEditView.tpl");
 else

Modified: vtigercrm/branches/5.0.3/modules/Leads/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Leads/EditView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Leads/EditView.php Fri Dec 15 07:35:38 2006
@@ -108,7 +108,7 @@
 
 $check_button = Button_Check($module);
 $smarty->assign("CHECK", $check_button);
-
+$smarty->assign("DUPLICATE",$_REQUEST['isDuplicate']);
 if($focus->mode == 'edit')
 $smarty->display("salesEditView.tpl");
 else

Modified: vtigercrm/branches/5.0.3/modules/Notes/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Notes/EditView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Notes/EditView.php Fri Dec 15 07:35:38 2006
@@ -182,7 +182,7 @@
  $smarty->assign("VALIDATION_DATA_FIELDNAME",$data['fieldname']);
  $smarty->assign("VALIDATION_DATA_FIELDDATATYPE",$data['datatype']);
  $smarty->assign("VALIDATION_DATA_FIELDLABEL",$data['fieldlabel']);
-
+ $smarty->assign("DUPLICATE", $_REQUEST['isDuplicate']);
 if($focus->mode == 'edit')
 	$smarty->display("salesEditView.tpl");
 else

Modified: vtigercrm/branches/5.0.3/modules/PriceBooks/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/PriceBooks/EditView.php (original)
+++ vtigercrm/branches/5.0.3/modules/PriceBooks/EditView.php Fri Dec 15 07:35:38 2006
@@ -90,7 +90,7 @@
 
 $check_button = Button_Check($module);
 $smarty->assign("CHECK", $check_button);
-
+$smarty->assign("DUPLICATE", $_REQUEST['isDuplicate']);
 if($focus->mode == 'edit')
 	$smarty->display('Inventory/InventoryEditView.tpl');
 else 

Modified: vtigercrm/branches/5.0.3/modules/Products/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Products/EditView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Products/EditView.php Fri Dec 15 07:35:38 2006
@@ -203,7 +203,7 @@
 
 $check_button = Button_Check($module);
 $smarty->assign("CHECK", $check_button);
-
+$smarty->assign("DUPLICATE", $_REQUEST['isDuplicate']);
 if($focus->mode == 'edit')
 	$smarty->display('Inventory/InventoryEditView.tpl');
 else

Modified: vtigercrm/branches/5.0.3/modules/PurchaseOrder/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/PurchaseOrder/EditView.php (original)
+++ vtigercrm/branches/5.0.3/modules/PurchaseOrder/EditView.php Fri Dec 15 07:35:38 2006
@@ -199,6 +199,7 @@
 
 $check_button = Button_Check($module);
 $smarty->assign("CHECK", $check_button);
+$smarty->assign("DUPLICATE", $_REQUEST['isDuplicate']);
 if($focus->mode == 'edit')
 	$smarty->display('Inventory/InventoryEditView.tpl');
 else

Modified: vtigercrm/branches/5.0.3/modules/Quotes/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Quotes/EditView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Quotes/EditView.php Fri Dec 15 07:35:38 2006
@@ -209,6 +209,7 @@
 
 $check_button = Button_Check($module);
 $smarty->assign("CHECK", $check_button);
+$smarty->assign("DUPLICATE", $_REQUEST['isDuplicate']);
 if($focus->mode == 'edit')
 	$smarty->display("Inventory/InventoryEditView.tpl");
 else

Modified: vtigercrm/branches/5.0.3/modules/SalesOrder/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/SalesOrder/EditView.php (original)
+++ vtigercrm/branches/5.0.3/modules/SalesOrder/EditView.php Fri Dec 15 07:35:38 2006
@@ -307,6 +307,7 @@
 
 $check_button = Button_Check($module);
 $smarty->assign("CHECK", $check_button);
+$smarty->assign("DUPLICATE", $_REQUEST['isDuplicate']);
 if($focus->mode == 'edit')
 	$smarty->display("Inventory/InventoryEditView.tpl");
 else

Modified: vtigercrm/branches/5.0.3/modules/Users/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Users/EditView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Users/EditView.php Fri Dec 15 07:35:38 2006
@@ -110,8 +110,7 @@
 }
 
 $smarty->assign("HOMEORDER",$focus->getHomeOrder($focus->id));
-
-
+$smarty->assign("DUPLICATE",$_REQUEST['isDuplicate']);
 
 $smarty->assign('PARENTTAB',$_REQUEST['parenttab']);
 

Modified: vtigercrm/branches/5.0.3/modules/Vendors/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Vendors/EditView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Vendors/EditView.php Fri Dec 15 07:35:38 2006
@@ -95,6 +95,7 @@
 
 $check_button = Button_Check($module);
 $smarty->assign("CHECK", $check_button);
+$smarty->assign("DUPLICATE", $_REQUEST['isDuplicate']);
 
 if($focus->mode == 'edit')
 	$smarty->display('Inventory/InventoryEditView.tpl');





More information about the vtigercrm-commits mailing list