[Vtigercrm-commits] [vtiger-commits] r7240 - in /vtigercrm/trunk/Smarty/templates: CurrencyListView.tpl CurrencyListViewEntries.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sat Jun 17 10:48:19 EDT 2006


Author: richie
Date: Sat Jun 17 08:48:15 2006
New Revision: 7240

Log:
Updated the CurrencyListView.tpl CurrencyListViewEntries.tpl files

Modified:
    vtigercrm/trunk/Smarty/templates/CurrencyListView.tpl
    vtigercrm/trunk/Smarty/templates/CurrencyListViewEntries.tpl

Modified: vtigercrm/trunk/Smarty/templates/CurrencyListView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/CurrencyListView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/CurrencyListView.tpl Sat Jun 17 08:48:15 2006
@@ -1,5 +1,4 @@
 {*<!--
-
 /*********************************************************************************
 ** The contents of this file are subject to the vtiger CRM Public License Version 1.0
  * ("License"); You may not use this file except in compliance with the License
@@ -9,8 +8,81 @@
  * All Rights Reserved.
 *
  ********************************************************************************/
+-->*}
+<script language="JAVASCRIPT" type="text/javascript" src="include/js/smoothscroll.js"></script>
+<script language="JavaScript" type="text/javascript" src="include/js/menu.js"></script>
+<br>
+<table align="center" border="0" cellpadding="0" cellspacing="0" width="98%">
+<tbody><tr>
+        <td valign="top"><img src="{$IMAGE_PATH}showPanelTopLeft.gif"></td>
+        <td class="showPanelBg" style="padding: 10px;" valign="top" width="100%">
+<br>
+	<div align=center>
+	
+			{include file='SetMenu.tpl'}
 
--->*}
+			<!-- DISPLAY -->
+			<table border=0 cellspacing=0 cellpadding=5 width=100% class="settingsSelUITopLine">
+			<form action="index.php">
+			<input type="hidden" name="module" value="Settings">
+			<input type="hidden" name="action" value="CurrencyEditView">
+			<input type="hidden" name="parenttab" value="{$PARENTTAB}">
+			<tr>
+					<td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}currency.gif" alt="Users" width="48" height="48" border=0 title="Users"></td>
+				<td class="heading2" valign="bottom" ><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS}</a> > {$MOD.LBL_CURRENCY_SETTINGS} </b></td>
+			</tr>
+			<tr>
+				<td valign=top class="small">{$MOD.LBL_CURRENCY_DESCRIPTION}</td>
+			</tr>
+			</table>
+			<br>
+			<table border=0 cellspacing=0 cellpadding=10 width=100% >
+			<tr>
+			<td>
+
+			<table border=0 cellspacing=0 cellpadding=5 width=100% class="tableHeading">
+				<tr>
+					<td class="big"><strong>{$MOD.LBL_CURRENCY_LIST}</strong></td>
+                	       		<td class="small" align="right">&nbsp;</td>
+				</tr>
+			</table>
+
+			<table width="100%" border="0" cellpadding="5" cellspacing="0" class="listTableTopButtons">
+	                <tr>
+				<td class=small align=right>
+					<input type="submit" value="{$MOD.LBL_NEW_CURRENCY}" class="crmButton create small">
+				</td>
+	                </tr>
+	                </table>
+
+			<div id="CurrencyListViewContents">
+				{include file="CurrencyListViewEntries.tpl"}
+			</div>
+
+	<table border=0 cellspacing=0 cellpadding=5 width=100% >
+	<tr><td class="small" nowrap align=right><a href="#top">{$MOD.LBL_SCROLL}</a></td></tr>
+	</table>
+	</td>
+	</tr>
+	</table>
+	</td>
+	</tr>
+	</table>
+	</td>
+	</tr>
+	</form>
+	</table>
+		
+	</div>
+
+</td>
+        <td valign="top"><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td>
+   </tr>
+</tbody>
+</table>
+
+<div id="currencydiv" style="display:block;position:absolute;left:350px;top:200px;"></div>
+
 {literal}
 <script>
 	function deleteCurrency(currid)
@@ -49,35 +121,3 @@
 </script>
 
 {/literal}
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
-<tr>
-        {include file='SettingsMenu.tpl'}
-<td width="75%" valign="top">
-<form action="index.php">
-<input type="hidden" name="module" value="Settings">
-<input type="hidden" name="action" value="CurrencyEditView">
-<input type="hidden" name="parenttab" value="{$PARENTTAB}">
-<table width="100%" border="0" cellpadding="0" cellspacing="0" height="100%">
-	<tr>
-		<td class="showPanelBg" valign="top" width="90%"  style="padding-left:20px; "><br />
-			<span class="lvtHeaderText">{$MOD.LBL_MODULE_NAME} &gt;{$MOD.LBL_CONFIGURATION} &gt; {$MOD.LBL_CURRENCY_CONFIG}</span>
-			<hr noshade="noshade" size="1" />
-		</td>
-		<td width="10%" class="showPanelBg">&nbsp;</td>
-	</tr>
-	<tr>
-		<td width="90%" style="padding-left:20px;" valign="top">
-			<input type="submit" name="new" value="{$MOD.LBL_NEW_CURRENCY}" class="classBtn" /><br /><br />
-			<div id="CurrencyListViewContents">
-				{include file="CurrencyListViewEntries.tpl"}
-			</div>
-		</td>
-		<td>&nbsp;</td>
-	</tr>
-</table>
-</form>
-</td>
-</tr>
-</table>
-<div id="currencydiv" style="display:block;position:absolute;left:350px;top:200px;"></div>
-{include file='SettingsSubMenu.tpl'}

Modified: vtigercrm/trunk/Smarty/templates/CurrencyListViewEntries.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/CurrencyListViewEntries.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/CurrencyListViewEntries.tpl Sat Jun 17 08:48:15 2006
@@ -1,5 +1,4 @@
 {*<!--
-
 /*********************************************************************************
 ** The contents of this file are subject to the vtiger CRM Public License Version 1.0
  * ("License"); You may not use this file except in compliance with the License
@@ -12,21 +11,29 @@
 
 -->*}
 
-
-<table style="background-color: rgb(204, 204, 204);" class="small" border="0" cellpadding="5" cellspacing="1" width="100%">
+<table width="100%" cellpadding="5" cellspacing="0" class="listTable" >
 	<tr>
-        	<td class="lvtCol" width="25%">{$MOD.LBL_CURRENCY_NAME}</td>
-                <td class="lvtCol" width="20%">{$MOD.LBL_CURRENCY_CODE}</td>
-                <td class="lvtCol" width="5%">{$MOD.LBL_CURRENCY_SYMBOL}</td>
-                <td class="lvtCol" width="20%">{$MOD.LBL_CURRENCY_CRATE}</td>
-                <td class="lvtCol" width="15%">{$MOD.LBL_CURRENCY_STATUS}</td>
-                <td class="lvtCol" width="15%">{$MOD.LBL_CURRENCY_TOOL}</td>
+                <td class="colHeader small" width="3%">#</td>
+                <td class="colHeader small" width="9%">{$MOD.LBL_CURRENCY_TOOL}</td>
+        	<td class="colHeader small" width="23%">{$MOD.LBL_CURRENCY_NAME}</td>
+                <td class="colHeader small" width="20%">{$MOD.LBL_CURRENCY_CODE}</td>
+                <td class="colHeader small" width="10%">{$MOD.LBL_CURRENCY_SYMBOL}</td>
+                <td class="colHeader small" width="20%">{$MOD.LBL_CURRENCY_CRATE}</td>
+                <td class="colHeader small" width="15%">{$MOD.LBL_CURRENCY_STATUS}</td>
 	</tr>
-	{foreach item=currency_array key=id from=$CURRENCY_LIST}
-		<tr class="lvtColData" onmouseover="this.className='lvtColDataHover'" onmouseout="this.className='lvtColData'" bgcolor="white">
-			{foreach item=currencyvalues from=$currency_array}
-				<td nowrap>{$currencyvalues}</td>
-			{/foreach}
+	{foreach item=currencyvalues name=currlist key=id from=$CURRENCY_LIST}
+		<tr>
+			<td nowrap class="listTableRow small" valign="top">{$smarty.foreach.currlist.iteration}</td>
+			<td nowrap class="listTableRow small" valign="top">{$currencyvalues.tool}</td>
+			<td nowrap class="listTableRow small" valign="top"><b>{$currencyvalues.name}</b></td>
+			<td nowrap class="listTableRow small" valign="top">{$currencyvalues.code}</td>
+			<td nowrap class="listTableRow small" valign="top">{$currencyvalues.symbol}</td>
+			<td nowrap class="listTableRow small" valign="top">{$currencyvalues.crate}</td>
+			{if $currencyvalues.status eq 'Active'}
+			<td nowrap class="listTableRow small active" valign="top">{$currencyvalues.status}</td>
+			{else}
+			<td nowrap class="listTableRow small inactive" valign="top">{$currencyvalues.status}</td>
+			{/if}
                  </tr>
         {/foreach}
 </table>





More information about the vtigercrm-commits mailing list