Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tmpl
Paul POULAIN 0234284cc4 #1498 Template variable missing from koha2marclinks.pl
solved by removing the "action" parameter which was useless and hardcoding a text
+ reindenting

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-31 05:46:40 -05:00

168 lines
7.4 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Administration &rsaquo;
<!-- TMPL_IF name="add_form" -->MARC Links &rsaquo; <!-- TMPL_VAR name="action" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="else" -->MARC Links <!-- TMPL_VAR name="tagfield" --><!-- /TMPL_IF --></title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
<!-- TMPL_INCLUDE NAME="cat-search.inc" -->
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; <!-- TMPL_IF name="add_form" --> <a href="/cgi-bin/koha/admin/koha2marclinks.pl">MARC Links</a> &rsaquo; Connect<!-- /TMPL_IF -->
<!-- TMPL_IF name="else" -->MARC Links <!-- TMPL_VAR name="tagfield" --><!-- /TMPL_IF --></div>
<!-- TMPL_IF name="add_form" -->
<div id="doc" class="yui-t7">
<div id="bd">
<div id="yui-main">
<div class="yui-g">
<!-- TMPL_ELSE -->
<div id="doc3" class="yui-t2">
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<!-- /TMPL_IF -->
<!-- TMPL_IF name="add_form" -->
<h1>Connect a koha field and a MARC subfield</h1>
<p>Choose and validate 1 MARC subfield for <!-- TMPL_VAR name="tablename" -->.<!-- TMPL_VAR name="kohafield" -->. That will modify <b>all frameworks</b> which is usually what you need, but you have been warned.</p>
<table>
<tr><td><form action="<!-- TMPL_VAR name="script_name" -->" method="post"> <input type="hidden" name="op" value="add_validate" />
<input type="hidden" name="tablename" value="<!-- TMPL_VAR name="tablename" -->" />
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR name="kohafield" -->" />
<!-- TMPL_VAR name="marclist0" --><input type="submit" value="OK" /></form>
</td>
</tr>
<tr>
<td> <form action="<!-- TMPL_VAR name="script_name" -->" method="post">
<input type="hidden" name="op" value="add_validate" />
<input type="hidden" name="tablename" value="<!-- TMPL_VAR name="tablename" -->" />
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR name="kohafield" -->" /><input type="submit" value="OK" />
<!-- TMPL_VAR name="marclist1" --> </form>
</td>
</tr>
<tr>
<td>
<form action="<!-- TMPL_VAR name="script_name" -->" method="post"><input type="hidden" name="op" value="add_validate" />
<input type="hidden" name="tablename" value="<!-- TMPL_VAR name="tablename" -->" />
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR name="kohafield" -->" />
<!-- TMPL_VAR name="marclist2" --><input type="submit" value="OK" /></form>
</td>
</tr>
<tr>
<td><form action="<!-- TMPL_VAR name="script_name" -->" method="post">
<input type="hidden" name="op" value="add_validate" />
<input type="hidden" name="tablename" value="<!-- TMPL_VAR name="tablename" -->" />
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR name="kohafield" -->" />
<!-- TMPL_VAR name="marclist3" --><input type="submit" value="OK" /> </form>
</td>
</tr>
<tr>
<td><form action="<!-- TMPL_VAR name="script_name" -->" method="post">
<input type="hidden" name="op" value="add_validate" />
<input type="hidden" name="tablename" value="<!-- TMPL_VAR name="tablename" -->" />
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR name="kohafield" -->" />
<!-- TMPL_VAR name="marclist4" --><input type="submit" value="OK" /></form>
</td>
</tr>
<tr>
<td> <form action="<!-- TMPL_VAR name="script_name" -->" method="post">
<input type="hidden" name="op" value="add_validate" />
<input type="hidden" name="tablename" value="<!-- TMPL_VAR name="tablename" -->" />
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR name="kohafield" -->" />
<!-- TMPL_VAR name="marclist5" --><input type="submit" value="OK" /></form>
</td>
</tr>
<tr>
<td><form action="<!-- TMPL_VAR name="script_name" -->" method="post">
<input type="hidden" name="op" value="add_validate" />
<input type="hidden" name="tablename" value="<!-- TMPL_VAR name="tablename" -->" />
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR name="kohafield" -->" />
<!-- TMPL_VAR name="marclist6" --><input type="submit" value="OK" /></form>
</td>
</tr>
<tr>
<td><form action="<!-- TMPL_VAR name="script_name" -->" method="post">
<input type="hidden" name="op" value="add_validate" />
<input type="hidden" name="tablename" value="<!-- TMPL_VAR name="tablename" -->" />
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR name="kohafield" -->" />
<!-- TMPL_VAR name="marclist7" --><input type="submit" value="OK" /></form>
</td>
</tr>
<tr>
<td><form action="<!-- TMPL_VAR name="script_name" -->" method="post">
<input type="hidden" name="op" value="add_validate" />
<input type="hidden" name="tablename" value="<!-- TMPL_VAR name="tablename" -->" />
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR name="kohafield" -->" />
<!-- TMPL_VAR name="marclist8" --><input type="submit" value="OK" /></form>
</td>
</tr>
<tr>
<td><form action="<!-- TMPL_VAR name="script_name" -->" method="post">
<input type="hidden" name="op" value="add_validate" />
<input type="hidden" name="tablename" value="<!-- TMPL_VAR name="tablename" -->" />
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR name="kohafield" -->" />
<!-- TMPL_VAR name="marclist9" --><input type="submit" value="OK" /></form>
</td>
</tr>
<tr>
<td>
<form action="<!-- TMPL_VAR name="script_name" -->" name="Aform" method="post">
<input type="hidden" name="op" value="add_validate" />
<input type="hidden" name="tablename" value="<!-- TMPL_VAR name="tablename" -->" />
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR name="kohafield" -->" />
<input type="hidden" name="choice" value="" />
<input type="submit" value="Click to &quot;Unmap&quot;" />
</form>
</td>
</tr>
</table>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="else" -->
<h1>MARC links <!-- TMPL_VAR name="tagfield" --></h1>
<form action="<!-- TMPL_VAR name="script_name" -->" method="post">
<p><!-- TMPL_VAR name="tablename" --> <input type="submit" value="OK" /></p>
</form>
<table>
<tr>
<th>Koha Field</th>
<th>Tag</th>
<th>Subfield</th>
<th>Lib</th>
<th>&nbsp;</th>
</tr>
<!-- TMPL_LOOP name="loop" -->
<tr>
<td><a href="<!-- TMPL_VAR name="edit" -->"><!-- TMPL_VAR name="kohafield" --></a></td>
<td><!-- TMPL_VAR name="tagfield" --></td>
<td><!-- TMPL_VAR name="tagsubfield" --></td>
<td><!-- TMPL_VAR name="liblibrarian" --></td>
<td><a href="<!-- TMPL_VAR name="edit" -->">Edit</a></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<!-- /TMPL_IF -->
</div>
</div>
<!-- TMPL_UNLESS name="add_form" -->
<div class="yui-b">
<!-- TMPL_INCLUDE NAME="admin-menu.inc" -->
</div>
<!-- /TMPL_UNLESS -->
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->