Updated Node module and theme to use the new rendering strategy.
This commit is contained in:
@@ -153,7 +153,7 @@ feature -- Hooks
|
|||||||
perms: detachable ARRAYED_LIST [READABLE_STRING_8]
|
perms: detachable ARRAYED_LIST [READABLE_STRING_8]
|
||||||
do
|
do
|
||||||
create lnk.make ("List of nodes", "/nodes")
|
create lnk.make ("List of nodes", "/nodes")
|
||||||
a_menu_system.navigation_menu.extend (lnk)
|
a_menu_system.main_menu.extend (lnk)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -103,9 +103,9 @@ feature {NONE} -- Implementation
|
|||||||
else
|
else
|
||||||
s.append ("<li class=%""+ cl + "%">")
|
s.append ("<li class=%""+ cl + "%">")
|
||||||
end
|
end
|
||||||
-- s.append ("<a href=%"" + url (lnk.location, lnk.options) + "%">" + html_encoded (lnk.title) + "</a>")
|
s.append ("<a href=%"" + (lnk.location) + "%">" + html_encoded (lnk.title) + "</a>")
|
||||||
if
|
if
|
||||||
-- (lnk.is_expanded or lnk.is_collapsed) and then
|
(lnk.is_expanded or lnk.is_collapsed) and then
|
||||||
attached lnk.children as l_children
|
attached lnk.children as l_children
|
||||||
then
|
then
|
||||||
s.append ("<ul>%N")
|
s.append ("<ul>%N")
|
||||||
|
|||||||
@@ -33,7 +33,9 @@
|
|||||||
|
|
||||||
<!-- Page Header -->
|
<!-- Page Header -->
|
||||||
<div id="header">
|
<div id="header">
|
||||||
{include file="tpl/page_header2.tpl"/}
|
{if isset="$page.primary_nav"}
|
||||||
|
{$page.primary_nav/}
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- General Page Content -->
|
<!-- General Page Content -->
|
||||||
|
|||||||
Reference in New Issue
Block a user