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]
|
||||
do
|
||||
create lnk.make ("List of nodes", "/nodes")
|
||||
a_menu_system.navigation_menu.extend (lnk)
|
||||
a_menu_system.main_menu.extend (lnk)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -103,9 +103,9 @@ feature {NONE} -- Implementation
|
||||
else
|
||||
s.append ("<li class=%""+ cl + "%">")
|
||||
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
|
||||
-- (lnk.is_expanded or lnk.is_collapsed) and then
|
||||
(lnk.is_expanded or lnk.is_collapsed) and then
|
||||
attached lnk.children as l_children
|
||||
then
|
||||
s.append ("<ul>%N")
|
||||
|
||||
@@ -33,7 +33,9 @@
|
||||
|
||||
<!-- Page Header -->
|
||||
<div id="header">
|
||||
{include file="tpl/page_header2.tpl"/}
|
||||
{if isset="$page.primary_nav"}
|
||||
{$page.primary_nav/}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<!-- General Page Content -->
|
||||
|
||||
Reference in New Issue
Block a user