[Vtigercrm-commits] [vtiger-commits] r5778 - /vtigercrm/trunk/Smarty/templates/Header.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue May 9 06:19:10 EDT 2006


Author: saraj
Date: Tue May  9 04:19:00 2006
New Revision: 5778

Log:
Highlighted the current module selected in level 2 tabs in Header - Ahmed

Modified:
    vtigercrm/trunk/Smarty/templates/Header.tpl

Modified: vtigercrm/trunk/Smarty/templates/Header.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Header.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Header.tpl Tue May  9 04:19:00 2006
@@ -105,8 +105,11 @@
 			{foreach  key=maintabs item=detail from=$HEADERS}
 				{if $maintabs eq $CATEGORY}
 					{foreach  key=number item=module from=$detail}
-						
-						<td class="level2text"> <a href="index.php?module={$module}&action=index&parenttab={$maintabs}">{$module}</a> </td>
+						{if $module eq $MODULE_NAME}
+							<td class="level2textSel">{$module}</td>
+						{else}
+							<td class="level2text"> <a href="index.php?module={$module}&action=index&parenttab={$maintabs}">{$module}</a> </td>
+						{/if}	
 					{/foreach}
 				{/if}
 			{/foreach}





More information about the vtigercrm-commits mailing list