[Vtigercrm-commits] [vtiger-commits] r10229 - /vtigercrm/branches/5.0.3/modules/Products/AddProductsToPriceBook.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Feb 21 10:28:46 EST 2007


Author: saraj
Date: Wed Feb 21 08:28:42 2007
New Revision: 10229

Log:
i18n fix for button Add to Pricebook'. Fixes #3030

Modified:
    vtigercrm/branches/5.0.3/modules/Products/AddProductsToPriceBook.php

Modified: vtigercrm/branches/5.0.3/modules/Products/AddProductsToPriceBook.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Products/AddProductsToPriceBook.php (original)
+++ vtigercrm/branches/5.0.3/modules/Products/AddProductsToPriceBook.php Wed Feb 21 08:28:42 2007
@@ -78,7 +78,7 @@
 
 	//we should not display the Add to PriceBook button if there is no products to associate
 	if($num_rows != $num_prod_rows)
-	        $other_text .='<input class="crmbutton small save" type="submit" value="Add To PriceBook" onclick="return addtopricebook()"/>';
+	        $other_text .='<input class="crmbutton small save" type="submit" value="'.$mod_strings[LBL_ADD_PRICEBOOK_BUTTON_LABEL].'" onclick="return addtopricebook()"/>';
 
 $other_text .='&nbsp;<input title="'.$app_strings[LBL_CANCEL_BUTTON_TITLE].'" accessKey="'.$app_strings[LBL_CANCEL_BUTTON_KEY].'" class="crmbutton small cancel" onclick="window.history.back()" type="button" name="button" value="'.$app_strings[LBL_CANCEL_BUTTON_LABEL].'"></td>';
 





More information about the vtigercrm-commits mailing list