[% META title="General Resources" -%]
<!-- BEGIN [% template.name %] -->

[% IF this_ever_works %]
<p style="margin-left: 5px">
	[<a href="javascript:Expand();">Expand All</a> -
	 <a href="javascript:Collapse();">Collapse All</a>]
</p>
[% END %]

[% BLOCK row %]
    <tr>
      <td>
        <img alt="" src="/images/text.gif" class="text" />
      </td>
      <td>
        <a class="nav" href="[% app_url %]/[% class_function %]">
            [% title | html %]
			</a>
		</td>
    </tr>
[% END %]
[% BLOCK divider %]
    <tr>
        <td colspan="2"><div class="header">[% text.upper %]</div></td>
    </tr>
[% END %]

<div id="tree">
    <table>
      <tr>
        <td>
          <hr />		  
		[%
			INCLUDE resources/menu/user_functions.tt;
			IF c.cfg('settings').have_request_forms;
				INCLUDE resources/menu/request_forms.tt;
			END;
			INCLUDE resources/menu/chart.tt;
			INCLUDE resources/menu/audit.tt;
          
			IF c.is_lab_staff;
				IF c.cfg('settings').have_file_uploads;
					INCLUDE resources/menu/file_uploads.tt;
				END;
                INCLUDE resources/menu/views.tt;
                INCLUDE resources/menu/lab_functions.tt;
            END;
			
			INCLUDE resources/menu/sop.tt;
			
			IF c.user_can('do_admin');          
				INCLUDE resources/menu/test.tt;
            END;
		%]	  
          <hr />
        </td>
      </tr>
    </table>
</div>
<!-- END [% template.name %] -->
