[Vtigercrm-commits] [vtiger-commits] r10456 - in /vtigercrm/branches/5.0.3: Smarty/templates/Header.tpl include/RelatedListView.php include/utils/ListViewUtils.php modules/Settings/language/en_us.lang.php modules/Settings/listwordtemplates.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Mar 16 05:28:49 EDT 2007
Author: saraj
Date: Fri Mar 16 03:28:32 2007
New Revision: 10456
Log:
changes made for java script alerts. --Minnie
Modified:
vtigercrm/branches/5.0.3/Smarty/templates/Header.tpl
vtigercrm/branches/5.0.3/include/RelatedListView.php
vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php
vtigercrm/branches/5.0.3/modules/Settings/language/en_us.lang.php
vtigercrm/branches/5.0.3/modules/Settings/listwordtemplates.php
Modified: vtigercrm/branches/5.0.3/Smarty/templates/Header.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/Header.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/Header.tpl Fri Mar 16 03:28:32 2007
@@ -548,6 +548,7 @@
VALID_DISCOUNT_PERCENT:'{$APP.VALID_DISCOUNT_PERCENT}',
VALID_DISCOUNT_AMOUNT:'{$APP.VALID_DISCOUNT_AMOUNT}',
SELECT_TEMPLATE_TO_MERGE:'{$APP.SELECT_TEMPLATE_TO_MERGE}',
+ SELECTED_MORE_THAN_ONCE:'{$APP.SELECTED_MORE_THAN_ONCE}',
YES:'{$APP.yes}',
NO:'{$APP.no}',
{rdelim};
Modified: vtigercrm/branches/5.0.3/include/RelatedListView.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/RelatedListView.php (original)
+++ vtigercrm/branches/5.0.3/include/RelatedListView.php Fri Mar 16 03:28:32 2007
@@ -244,7 +244,7 @@
$list = '<script>
function confirmdelete(url)
{
- if(confirm("Are you sure?"))
+ if(confirm("'.$app_strings['ARE_YOU_SURE'].'"))
{
document.location.href=url;
}
@@ -516,7 +516,7 @@
{
if($action != "")
$action .= ' | ';
- $action .= '<img src="'.$image_path.'delete.gif" onclick="if(confirm(\'Are you sure?\')) deletePriceBookProductRel('.$entity_id.','.$pricebook_id.');" alt="'.$app_strings["LBL_DELETE"].'" title="'.$app_strings["LBL_DELETE"].'" style="cursor:pointer;" border="0">';
+ $action .= '<img src="'.$image_path.'delete.gif" onclick="if(confirm(\''.$app_strings['ARE_YOU_SURE'].'\')) deletePriceBookProductRel('.$entity_id.','.$pricebook_id.');" alt="'.$app_strings["LBL_DELETE"].'" title="'.$app_strings["LBL_DELETE"].'" style="cursor:pointer;" border="0">';
}
if($action != "")
$entries[] = $action;
Modified: vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php (original)
+++ vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php Fri Mar 16 03:28:32 2007
@@ -767,7 +767,7 @@
echo '<script>
function confirmdelete(url)
{
- if(confirm("Are you sure?"))
+ if(confirm("'.$app_strings['ARE_YOU_SURE'].'"))
{
document.location.href=url;
}
Modified: vtigercrm/branches/5.0.3/modules/Settings/language/en_us.lang.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Settings/language/en_us.lang.php (original)
+++ vtigercrm/branches/5.0.3/modules/Settings/language/en_us.lang.php Fri Mar 16 03:28:32 2007
@@ -898,5 +898,10 @@
'LBL_MAILSENDERROR'=>'Mail could not be sent to the admin user. Please check the admin emailid',
'LBL_RECORD_NOEXIST'=>'Record not present',
'LBL_ENTER_PROFILE'=>'Enter Profile Name',
+//Added for alerts
+'SPECIFY_FILE_TO_MERGE' => 'Please Specify a File to Merge',
+'FILESIZE_EXCEEDS_INFO' => 'Sorry, the uploaded file exceeds the maximum filesize limit. Please try a smaller file',
+'PROBLEMS_IN_FILEUPLOAD' => 'Problems in file upload. Please try again!',
+
);
?>
Modified: vtigercrm/branches/5.0.3/modules/Settings/listwordtemplates.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Settings/listwordtemplates.php (original)
+++ vtigercrm/branches/5.0.3/modules/Settings/listwordtemplates.php Fri Mar 16 03:28:32 2007
@@ -47,6 +47,7 @@
global $current_language;
$smod_strings = return_module_language($current_language,'Settings');
$smarty->assign("MOD", $smod_strings);
+$smarty->assign("APP", $app_strings);
$smarty->assign("UMOD", $mod_strings);
$smarty->assign("PARENTTAB", $_REQUEST['parenttab']);
$smarty->assign("IMAGE_PATH",$image_path);
More information about the vtigercrm-commits
mailing list