From 7eae14ecfef267e64defc9046fe10c5d245dde84 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 16 Mar 2010 12:21:33 +0000 Subject: Change template-html to put class 'selected' on selected main menu option. --- app/template-html.lsp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/template-html.lsp b/app/template-html.lsp index 5d42907..dfd0206 100644 --- a/app/template-html.lsp +++ b/app/template-html.lsp @@ -79,8 +79,8 @@ end class="class='selected'" tabs = group.tabs end - io.write (string.format("\t\t\t\t\t\t
  • %s
  • \n", - class,html.html_escape(pageinfo.script),html.html_escape(group.tabs[1].prefix), html.html_escape(group.tabs[1].controller), html.html_escape(group.tabs[1].action), html.html_escape(group.name) )) + io.write (string.format("\t\t\t\t\t\t
  • %s
  • \n", + class,class,html.html_escape(pageinfo.script),html.html_escape(group.tabs[1].prefix), html.html_escape(group.tabs[1].controller), html.html_escape(group.tabs[1].action), html.html_escape(group.name) )) end io.write ( "\t\t\t\t\t" ) end -- cgit v1.2.3