Adding new patron form for non-javascript users (Fixes Bug 2344, No "New Member" button w/o js).

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Owen Leonard 2008-07-21 09:28:20 -05:00 committed by Joshua Ferraro
parent f2779f6dd7
commit 16c8171564

View file

@ -47,6 +47,23 @@
//]]>
</script>
<ul class="toolbar">
<li id="newmenuc"></li>
<li id="newmenuc">
<form action="/cgi-bin/koha/members/memberentry.pl" method="get">
<input type="hidden" name="op" value="add" />
<label for="categorycode">New Patron: </label><select name="categorycode" id="categorycode">
<!--TMPL_IF Name="AddPatronLists_categorycode"-->
<!--TMPL_LOOP Name="categories"--><option value="<!--TMPL_VAR Name="categorycode"-->"><!--TMPL_VAR Name="description"--></option><!--/TMPL_LOOP-->
<!-- TMPL_ELSE -->
<option value="A">Adult Patron</option>
<option value="C">Child Patron</option>
<option value="P">Professional Patron</option>
<option value="I">Organisation</option>
<option value="S">Staff</option>
<option value="X">Statistical</option>
<!--/TMPL_IF-->
</select>
<input type="submit" class="submit" value="Go" />
</form>
</li>
</ul>
</div>