Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F785553
advanced
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Feb 12, 2:46 PM
Size
3 KB
Mime Type
text/x-diff
Expires
Fri, Feb 14, 2:46 PM (1 d, 7 h)
Engine
blob
Format
Raw Data
Handle
564528
Attached To
rTADV Themes.Advanced
advanced
View Options
Index: branches/1.2.x/platform/elements/navigation_bar.elm.tpl
===================================================================
--- branches/1.2.x/platform/elements/navigation_bar.elm.tpl (revision 15275)
+++ branches/1.2.x/platform/elements/navigation_bar.elm.tpl (revision 15276)
@@ -1,70 +1,78 @@
<inp2:m_DefaultParam titles="" templates="" show_category="0" category_title="MenuTitle"/>
<inp2:m_DefineElement name="nb_root_category_element">
<img src="<inp2:m_TemplatesBase module='In-Portal'/>img/icon_home.gif" width="9" height="9" alt=""/>
<inp2:m_if check="m_Param" name="current">
<inp2:m_Param name="cat_name"/>
<inp2:m_else/>
<a href="<inp2:c_CategoryLink template='__default__'/>"><inp2:m_Param name="title"/></a>
</inp2:m_if>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="nb_current_element">
<inp2:m_ifnot check="m_Param" name="is_first">
<inp2:m_param name="separator"/>
</inp2:m_ifnot>
<span><inp2:m_param name="title"/></span>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="nb_element">
<inp2:m_ifnot check="m_Param" name="is_first">
<inp2:m_param name="separator"/>
</inp2:m_ifnot>
<a href="<inp2:m_Link template='$template' m_cat_id='0" m_cat_page='1'/>"><inp2:m_param name="title"/></a>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="nb_category_element">
<inp2:m_ifnot check="m_Param" name="is_first">
<inp2:m_param name="separator"/>
</inp2:m_ifnot>
<a href="<inp2:c_CategoryLink template='__default__' m_cat_page='1'/>"><inp2:m_param name="title"/></a>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="nb_module_item_element">
- <a href="<inp2:{$prefix}_ItemLink template="$template" />"><inp2:m_param name="title"/></a>
+ <inp2:m_if check="m_Param" name="current">
+ <span><inp2:m_param name="title"/></span>
+ <inp2:m_else/>
+ <a href="<inp2:{$prefix}_ItemLink template="$template" />"><inp2:m_param name="title"/></a>
+ </inp2:m_if>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="nb_custom_element">
<inp2:m_ifnot check="m_Param" name="is_first">
<inp2:m_param name="separator"/>
</inp2:m_ifnot>
<inp2:m_if check="m_Param" name="title" equals_to="__page__">
- <a href="<inp2:m_Link template='$template' m_cat_id='0' m_cat_page='1'/>"><inp2:st_PageInfo type="title"/></a>
+ <inp2:m_if check="m_Param" name="current">
+ <span><inp2:st_PageInfo type="title"/></span>
+ <inp2:m_else/>
+ <a href="<inp2:m_Link template='$template' m_cat_id='0' m_cat_page='1'/>"><inp2:st_PageInfo type="title"/></a>
+ </inp2:m_if>
<inp2:m_elseif check="m_Param" name="title" equals_to="__item__"/>
<inp2:c_CategoryItemElement render_as="nb_module_item_element" pass_params="1"/>
</inp2:m_if>
</inp2:m_DefineElement>
<table class="fullwidth groupItem">
<tr class="movable-header">
<td class="navigation-bar">
<inp2:c_CategoryPath
separator=">"
render_as="nb_element"
current_render_as="nb_current_element"
root_cat_render_as="nb_root_category_element"
category_render_as="nb_category_element"
custom_render_as="nb_custom_element"
titles="$titles" templates="$templates"
show_category="$show_category" category_title="$category_title"
/>
</td>
</tr>
</table>
\ No newline at end of file
Event Timeline
Log In to Comment