[Vtigercrm-commits] [vtiger-commits] r10479 - in /vtigercrm/branches/5.0.3: Smarty/templates/ComposeEmail.tpl Smarty/templates/Header.tpl Smarty/templates/Popup.tpl Smarty/templates/ReportsStep0.tpl Smarty/templates/ReportsStep1.tpl include/js/general.js vtigerversion.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Mar 19 11:31:49 EDT 2007
Author: saraj
Date: Mon Mar 19 09:31:40 2007
New Revision: 10479
Log:
added version for js file
Modified:
vtigercrm/branches/5.0.3/Smarty/templates/ComposeEmail.tpl
vtigercrm/branches/5.0.3/Smarty/templates/Header.tpl
vtigercrm/branches/5.0.3/Smarty/templates/Popup.tpl
vtigercrm/branches/5.0.3/Smarty/templates/ReportsStep0.tpl
vtigercrm/branches/5.0.3/Smarty/templates/ReportsStep1.tpl
vtigercrm/branches/5.0.3/include/js/general.js
vtigercrm/branches/5.0.3/vtigerversion.php
Modified: vtigercrm/branches/5.0.3/Smarty/templates/ComposeEmail.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/ComposeEmail.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/ComposeEmail.tpl Mon Mar 19 09:31:40 2007
@@ -22,6 +22,7 @@
<script language="javascript" type="text/javascript" src="include/scriptaculous/prototype.js"></script>
<script src="include/scriptaculous/scriptaculous.js" type="text/javascript"></script>
<script src="include/js/general.js" type="text/javascript"></script>
+<script language="JavaScript" type="text/javascript" src="include/js/{php} echo $_SESSION['authenticated_user_language'];{/php}.lang.js?{php} echo $_SESSION['vtiger_version'];{/php}"></script>
<script type="text/javascript" src="include/fckeditor/fckeditor.js"></script>
</head>
<body marginheight="0" marginwidth="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
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 Mon Mar 19 09:31:40 2007
@@ -22,6 +22,7 @@
<!-- header -->
<!-- header-vtiger crm name & RSS -->
<script language="JavaScript" type="text/javascript" src="include/js/general.js"></script>
+ <script language="JavaScript" type="text/javascript" src="include/js/{php} echo $_SESSION['authenticated_user_language'];{/php}.lang.js?{php} echo $_SESSION['vtiger_version'];{/php}"></script>
<script language="JavaScript" type="text/javascript" src="include/js/QuickCreate.js"></script>
<script language="javascript" type="text/javascript" src="include/scriptaculous/prototype.js"></script>
<script language="JavaScript" type="text/javascript" src="include/js/menu.js"></script>
@@ -32,7 +33,7 @@
<script type="text/javascript" src="jscalendar/calendar.js"></script>
<script type="text/javascript" src="jscalendar/calendar-setup.js"></script>
<script type="text/javascript" src="jscalendar/lang/calendar-{$APP.LBL_JSCALENDAR_LANG}.js"></script>
-
+
<TABLE border=0 cellspacing=0 cellpadding=0 width=100% class="hdrNameBg">
<tr>
<td valign=top><img src="{$IMAGEPATH}/vtiger-crm.gif" alt="vtiger CRM" title="vtiger CRM" border=0></td>
Modified: vtigercrm/branches/5.0.3/Smarty/templates/Popup.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/Popup.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/Popup.tpl Mon Mar 19 09:31:40 2007
@@ -14,6 +14,7 @@
<link rel="stylesheet" type="text/css" href="{$THEME_PATH}style.css">
<script language="JavaScript" type="text/javascript" src="include/js/general.js"></script>
+<script language="JavaScript" type="text/javascript" src="include/js/{php} echo $_SESSION['authenticated_user_language'];{/php}.lang.js?{php} echo $_SESSION['vtiger_version'];{/php}"></script>
<script language="JavaScript" type="text/javascript" src="modules/{$MODULE}/{$MODULE}.js"></script>
<script language="javascript" type="text/javascript" src="include/scriptaculous/prototype.js"></script>
<script type="text/javascript">
Modified: vtigercrm/branches/5.0.3/Smarty/templates/ReportsStep0.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/ReportsStep0.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/ReportsStep0.tpl Mon Mar 19 09:31:40 2007
@@ -15,6 +15,7 @@
<title>{$MOD.TITLE_VTIGERCRM_CREATE_REPORT}</title>
<link href="{$THEME_PATH}style.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/javascript" src="include/js/general.js"></script>
+ <script language="JavaScript" type="text/javascript" src="include/js/{php} echo $_SESSION['authenticated_user_language'];{/php}.lang.js?{php} echo $_SESSION['vtiger_version'];{/php}"></script>
<script language="javascript" type="text/javascript" src="include/scriptaculous/prototype.js"></script>
<script language="JavaScript" type="text/javascript" src="modules/Reports/Reports.js"></script>
</head>
Modified: vtigercrm/branches/5.0.3/Smarty/templates/ReportsStep1.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/ReportsStep1.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/ReportsStep1.tpl Mon Mar 19 09:31:40 2007
@@ -15,6 +15,7 @@
<title>{$MOD.TITLE_VTIGERCRM_CREATE_REPORT}</title>
<link href="{$THEME_PATH}style.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/javascript" src="include/js/general.js"></script>
+ <script language="JavaScript" type="text/javascript" src="include/js/{php} echo $_SESSION['authenticated_user_language'];{/php}.lang.js?{php} echo $_SESSION['vtiger_version'];{/php}"></script>
<script language="JavaScript" type="text/javascript" src="modules/Reports/Reports.js"></script>
</head>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
Modified: vtigercrm/branches/5.0.3/include/js/general.js
==============================================================================
--- vtigercrm/branches/5.0.3/include/js/general.js (original)
+++ vtigercrm/branches/5.0.3/include/js/general.js Mon Mar 19 09:31:40 2007
@@ -11,7 +11,6 @@
//Utility Functions
var gValidationCall='';
-document.write('<script src="include/js/en_us.lang.js"></script>');
if (document.all)
Modified: vtigercrm/branches/5.0.3/vtigerversion.php
==============================================================================
--- vtigercrm/branches/5.0.3/vtigerversion.php (original)
+++ vtigercrm/branches/5.0.3/vtigerversion.php Mon Mar 19 09:31:40 2007
@@ -11,4 +11,5 @@
$patch_version = '';
$modified_database = '';
$vtiger_current_version = '5.0.3';
+$_SESSION['vtiger_version'] = $vtiger_current_version;
?>
More information about the vtigercrm-commits
mailing list