[Vtigercrm-commits] [vtiger-commits] r6895 - in /vtigercrm/trunk: Smarty/templates/Calculator.tpl Smarty/templates/Clock.tpl modules/Utilities/Calculator.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Jun 5 08:44:43 EDT 2006
Author: saraj
Date: Mon Jun 5 06:44:36 2006
New Revision: 6895
Log:
updated i18n for Clock & Calculator - ahmed
Modified:
vtigercrm/trunk/Smarty/templates/Calculator.tpl
vtigercrm/trunk/Smarty/templates/Clock.tpl
vtigercrm/trunk/modules/Utilities/Calculator.php
Modified: vtigercrm/trunk/Smarty/templates/Calculator.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Calculator.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Calculator.tpl Mon Jun 5 06:44:36 2006
@@ -13,7 +13,7 @@
<div id="calc" style="z-index:10000002">
<table class="leftFormBorder1" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr class="lvtCol" style="cursor:move;" >
- <td style="text-align:left;padding-left:5px;border-bottom:1px solid #666666;" id="calc_Handle">Calculator</td>
+ <td style="text-align:left;padding-left:5px;border-bottom:1px solid #666666;" id="calc_Handle">{$APP.LBL_CALCULATOR}</td>
<td align="right" style="padding:5px;border-bottom:1px solid #666666;">
<a href="javascript:;">
<img src="{$IMAGEPATH}close.gif" border="0" onClick="fninvsh('calc')" hspace="5" align="absmiddle">
Modified: vtigercrm/trunk/Smarty/templates/Clock.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Clock.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Clock.tpl Mon Jun 5 06:44:36 2006
@@ -14,7 +14,7 @@
<table class="leftFormBorder1" align="center" border="0" cellpadding="2" cellspacing="0" width="100%">
<tbody>
<tr class="lvtCol" style="cursor:move;" >
- <td style="text-align:left;padding-left:5px;border-bottom:1px solid #666666;" id="Handle">World Clock</td>
+ <td style="text-align:left;padding-left:5px;border-bottom:1px solid #666666;" id="Handle">{$APP.LBL_WORLD_CLOCK}</td>
<td align="right" style="padding:5px;border-bottom:1px solid #666666;">
<a href="javascript:;">
<img src="{$IMAGEPATH}close.gif" border="0" onClick="fninvsh('wclock')" hspace="5" align="absmiddle">
Modified: vtigercrm/trunk/modules/Utilities/Calculator.php
==============================================================================
--- vtigercrm/trunk/modules/Utilities/Calculator.php (original)
+++ vtigercrm/trunk/modules/Utilities/Calculator.php Mon Jun 5 06:44:36 2006
@@ -16,13 +16,13 @@
require_once('Smarty_setup.php');
require_once("include/calculator/Calc.php");
-global $theme;
+global $theme,$app_strings;
$theme_path="themes/".$theme."/";
$image_path=$theme_path."images/";
$smarty = new vtigerCRM_Smarty;
-
+$smarty->assign("APP", $app_strings);
$smarty->assign("IMAGEPATH",$image_path);
$smarty->assign("CALC",get_calc($image_path));
$smarty->display("Calculator.tpl");
More information about the vtigercrm-commits
mailing list