diff options
author | Ted Trask <ttrask01@yahoo.com> | 2010-03-16 12:21:33 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2010-03-16 12:21:33 +0000 |
commit | 7eae14ecfef267e64defc9046fe10c5d245dde84 (patch) | |
tree | f2b2b318c972ecdcf63948e2514a3f97aed89ee8 /app | |
parent | 52e24ef677de739beb59614a650f4fe1204efd19 (diff) | |
download | acf-core-7eae14ecfef267e64defc9046fe10c5d245dde84.tar.bz2 acf-core-7eae14ecfef267e64defc9046fe10c5d245dde84.tar.xz |
Change template-html to put class 'selected' on selected main menu option.
Diffstat (limited to 'app')
-rw-r--r-- | app/template-html.lsp | 4 |
1 files changed, 2 insertions, 2 deletions
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<li %s><a href=\"%s%s%s/%s\">%s</a></li>\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<li %s><a %s href=\"%s%s%s/%s\">%s</a></li>\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</ul>" ) end |