Page MenuHomeIn-Portal Phabricator

in-portal
No OneTemporary

File Metadata

Created
Mon, Sep 22, 3:15 AM

in-portal

Index: trunk/themes/default2007/platform/elements/navigation_bar.tpl
===================================================================
--- trunk/themes/default2007/platform/elements/navigation_bar.tpl (revision 8613)
+++ trunk/themes/default2007/platform/elements/navigation_bar.tpl (revision 8614)
@@ -1,36 +1,36 @@
<inp2:m_DefineElement name="root_category">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_home.gif" width="9" height="9" alt=""/> <a href="<inp2:c_CategoryLink template="__default__" />"><inp2:m_RootCategoryName/></a>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="category_link">
<inp2:m_param name="separator"/>
<a href="<inp2:c_CategoryLink template="__default__" />"><inp2:m_param name="cat_name"/></a>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="template_link">
<inp2:m_param name="separator"/>
<a href="<inp2:m_Link template="$template" m_cat_id="0"/>"><inp2:m_phrase name="$title"/></a>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="current_category">
<inp2:m_param name="separator"/>
<span> <inp2:m_param name="cat_name"/></span>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="current_template">
<inp2:m_param name="separator"/>
<span> <inp2:m_phrase name="$title"/></span>
</inp2:m_DefineElement>
<table style="width: 100%;">
<tr>
<td class="navigation-bar">
<inp2:m_if check="m_Param" name="titles">
<inp2:c_NavigationBar separator="&gt;" render_as="template_link" current_render_as="current_template" root_cat_render_as="root_category" titles="$titles" templates="$templates"/>
<inp2:m_else/>
<inp2:c_CategoryPath separator="&gt;" render_as="category_link" current_render_as="current_category" root_cat_render_as="root_category" />
</inp2:m_if>
- </td>
+ </td>
</tr>
</table>
\ No newline at end of file
Property changes on: trunk/themes/default2007/platform/elements/navigation_bar.tpl
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.1
\ No newline at end of property
+1.2
\ No newline at end of property
Index: trunk/themes/default2007/platform/elements/menu.tpl
===================================================================
--- trunk/themes/default2007/platform/elements/menu.tpl (revision 8613)
+++ trunk/themes/default2007/platform/elements/menu.tpl (revision 8614)
@@ -1,86 +1,88 @@
<table class="top-menu fullwidth">
<tr>
<td align="left">
<table style="width:auto">
<tr>
<!-- menu: Home -->
<inp2:m_Capture to_var="menu_href">
<inp2:m_Link template="index" m_cat_id="0"/>
</inp2:m_Capture>
<inp2:m_Capture to_var="menu_icon">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/menu_home.gif" width="23" height="20" alt="" /><br />
</inp2:m_Capture>
<!-- <inp2:m_Capture to_var="menu_title">
Home
</inp2:m_Capture>
<inp2:m_IsActive template="index" result_to_var="current"/>
<inp2:m_RenderElement name="__this__" design="menu_element"/>
<inp2:m_ModuleInclude template="elements/menu"/>-->
<td>
<script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/nlsmenu.js"></script>
<script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/nlsmenueffect.js"></script>
<script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/nlsmenuext_dyn.js"></script>
<script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/nlsmenuext_xml.js"></script>
<link rel="StyleSheet" href="<inp2:m_TemplatesBase module='In-Portal'/>inc/dmenu.css" type="text/css" />
<div id="xmlMenuDiv"><span style="color:#ffffff">Loading menu...</span></div>
<script>
NlsMenuUtil.loadFromXMLFile('<inp2:m_link template="platform/elements/menu.xml" no_amp="1"/>&rand=' + Math.random() * 100000000, 'xmlMenuDiv');
</script>
</td>
</tr>
</table>
</td>
<td align="right">
<table style="width:auto">
<tr>
<!-- menu: My Account -->
<inp2:m_Capture to_var="menu_href">
<inp2:m_Link template="platform/my_account/my_account" m_cat_id="0"/>
</inp2:m_Capture>
<inp2:m_Capture to_var="menu_icon">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/menu_my_account.gif" alt="" /><br />
</inp2:m_Capture>
<inp2:m_Capture to_var="menu_title">
My Account
</inp2:m_Capture>
<inp2:m_IsActive template=".*/my_account" result_to_var="current"/>
<inp2:m_RenderElement name="__this__" design="menu_element"/>
<!-- // menu: My Account -->
<!-- menu: ShoppingCart -->
- <inp2:m_Capture to_var="menu_href">
- <inp2:m_Link template="platform/my_account/my_account" m_cat_id="0"/>
- </inp2:m_Capture>
+
+ <inp2:m_DefineElement name="menu_href11">
+ <inp2:m_Link template="in-commerce/checkout/shop_cart" m_cat_id="0"/>
+ </inp2:m_DefineElement>
+ <inp2:m_RenderElement name="menu_href11" strip_nl="2" result_to_var="menu_href"/>
<inp2:m_Capture to_var="menu_icon">
<img src="<inp2:m_TemplatesBase module="In-Commerce"/>img/menu_shopping_cart.gif" alt="" />
</inp2:m_Capture>
<inp2:m_Capture to_var="menu_title">
Shopping Cart
</inp2:m_Capture>
- <inp2:m_IsActive template="in-commerce/checkout/shopping_cart" result_to_var="current"/>
+ <inp2:m_IsActive template="in-commerce/checkout/shop_cart" result_to_var="current"/>
<inp2:m_RenderElement name="__this__" design="menu_element"/>
<!-- // menu: ShoppingCart -->
</tr>
</table>
</td>
</tr>
</table>
Property changes on: trunk/themes/default2007/platform/elements/menu.tpl
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.10
\ No newline at end of property
+1.11
\ No newline at end of property

Event Timeline