<dtml-comment> nav_links method Presents appropriate links to the user dynamically. Author: Casey Duncan (casey_duncan@yahoo.com) CSS classes used: nav-links Navigation Links </dtml-comment> <div class="nav-links"> <dtml-if expr="AUTHENTICATED_USER.has_permission('Add Document Library Files', Documents)"> <a href="document_submit">Submit a Document</a> </dtml-if> <dtml-if expr="getFlag('nav_link_flag', 'document_review')"> <dtml-if expr="AUTHENTICATED_USER.has_permission('Delete objects', Documents)"> | <a href="&dtml.url-document_review;?show_rejected=1">Show Rejected Documents</a> </dtml-if> <dtml-else> <dtml-if expr="AUTHENTICATED_USER.has_permission('Manage properties', Documents)"> | <a href="&dtml.url-document_review;">Review New Submissions</a> </dtml-if> </dtml-if> <dtml-unless expr="getFlag('nav_link_flag', 'document_browse')"> | <a href="index_html">Browse the Library</a> </dtml-unless> <dtml-if expr="getFlag('nav_link_flag', 'advanced_search_form')"> | <a href="index_html">Simple Search</a> <dtml-elif expr="getFlag('nav_link_flag', 'simple_search_form')"> | <a href="advanced_search_form">Advanced Search</a> </dtml-if> <dtml-if expr="getFlag('nav_link_flag', 'document_search')"> <dtml-if advanced_search> | <a href="advanced_search_form?&dtml-QUERY_STRING;">Refine Your Search</a> | <a href="advanced_search_form">New Search</a> <dtml-else> | <a href="&dtml-URL1;/index_html?&dtml-QUERY_STRING;">Refine Your Search</a> | <a href="advanced_search_form">Advanced Search</a> </dtml-if> </dtml-if> <dtml-if expr="hide_empty_topics and getFlag('nav_link_flag', 'document_browse')"> | <a href="&dtml-URL;/show_hide_topics" <dtml-if expr="REQUEST.cookies.has_key('show_all_topics')"> >Hide Empty Topics</a> <dtml-else> >Show Empty Topics</a> </dtml-if> </dtml-if> </div>