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

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Apr 24 11:32:02 EDT 2006


Author: saraj
Date: Mon Apr 24 09:31:57 2006
New Revision: 5290

Log:
Made Requisite Changes for Quick Create Module - 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 Mon Apr 24 09:31:57 2006
@@ -54,16 +54,11 @@
 			{/foreach}
 			<td style="padding-left:10px" nowrap>
 			
-			{foreach  key=maintabs item=detail from=$HEADERS}
-				{if $maintabs eq $CATEGORY}
-					<select class=small style="width:120px" title="Create New" onchange="QCreate(this);">
-					<option>Quick create...{$maintabs}</option>
-					{foreach  key=number item=module from=$detail}
-						<option value="{$module}">New -{$module}</option>
-					{/foreach}
-					</select>
-				{/if}
+				<select class=small style="width:120px" title="Create New" onchange="QCreate(this);">
+			{foreach  item=detail from=$QCMODULE}
+					<option value="{$detail.1}">New -{$detail.0}</option>
 			{/foreach}
+				</select>
 			</td>
 		</tr>
 





More information about the vtigercrm-commits mailing list