function yuiToolbar() {
- <!-- TMPL_IF NAME="NOTMARC" -->
- new YAHOO.widget.Button("newrecord");
- <!-- TMPL_ELSE -->
-
var newmenu = [
{ text: _("Default Framework"), url: "/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=" },
<!-- TMPL_LOOP NAME="frameworkcodeloop" -->{ text: "<!-- TMPL_VAR name="frameworktext" -->", url: "/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=<!-- TMPL_VAR name="value" -->"},
</script>
<div id="newmenuc">
- <!-- TMPL_IF NAME="NOTMARC" -->
- <a id="newrecord" href="/cgi-bin/koha/cataloging/addbiblio.pl">New Record</a>
- <!-- TMPL_ELSE -->
<form name="f" action="addbiblio.pl" method="post">
<label for="frameworkcode">New Record with framework:</label>
<select name="frameworkcode" id="frameworkcode">
<input type="submit" value="Add Record Without Search" />
</form>
<a id="z3950search" onclick="PopupZ3950(); return false;">Z39.50 Search</a>
- <!-- /TMPL_IF -->
</div>
</div>
<td><!-- TMPL_VAR NAME="file" --></td>
<td> <a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=<!-- TMPL_VAR NAME="id" -->" title="MARC" rel="gb_page_center[600,500]">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=<!-- TMPL_VAR NAME="id" -->" title="MARC" rel="gb_page_center[600,500]">Card</a>
</td>
- <td><!-- TMPL_IF NAME="NOTMARC" -->
- <!-- TMPL_ELSE -->
+ <td>
<a href="/cgi-bin/koha/cataloguing/addbiblio.pl?breedingid=<!-- TMPL_VAR NAME="id" -->" <!-- TMPL_UNLESS NAME="CAN_user_editcatalogue_edit_catalogue" --> class="disabled" onclick="return false;"<!-- /TMPL_UNLESS -->>Add biblio</a>
- <!-- /TMPL_IF --></td>
+ </td>
</tr>
<!-- /TMPL_LOOP -->
</table>