|
From: | Owen Leonard |
Subject: | [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/includes authorities-topmenu.inc,NONE,1.1.2.1 |
Date: | Fri, 04 Feb 2005 10:56:02 -0800 |
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/npl/en/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26042/koha-tmpl/intranet-tmpl/npl/en/includes Added Files: Tag: rel_2_2 authorities-topmenu.inc Log Message: Top menu for authorities page --- NEW FILE --- <script language="JavaScript" type="text/javascript"> function addauthority() { X = document.forms[0].authtype.value; window.location="/cgi-bin/koha/authorities/authorities.pl?authtypecode="+X; } function searchauthority() { X = document.forms[0].authtype2.value; Y = document.forms[0].value.value; window.location="/cgi-bin/koha/authorities/authorities-home.pl?op=do_search&type=intranet&authtypecode="+X+"&value="+Y+"&marclist=&and_or=and&excluding=&operator=contains"; } </script> <div id="topmenu"> <form><select name="authtype2" id="authtype2"><!-- TMPL_LOOP name="authtypesloop" --><option value="<!-- TMPL_VAR name="value" -->"<!-- TMPL_IF name="selected" --> selected="selected"<!-- /TMPL_IF -->><!-- TMPL_VAR name="authtypetext" --></option><!-- /TMPL_LOOP --></select> <input type="text" size="10" maxlength="100" name="value" /><input type="button" class="submit" value="Search" onclick="searchauthority(); return false;" /> <select name="authtype" id="authtype"><!-- TMPL_LOOP name="authtypesloop" --><option value="<!-- TMPL_VAR name="value" -->"<!-- TMPL_IF name="selected" --> selected="selected"<!-- /TMPL_IF -->><!-- TMPL_VAR name="authtypetext" --></option><!-- /TMPL_LOOP --></select> <input type="button" class="submit" value="Add Authority" onclick="addauthority(); return false;" /></form></div>
[Prev in Thread] | Current Thread | [Next in Thread] |