Lines 3-8
Link Here
|
3 |
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> |
3 |
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> |
4 |
<style type="text/css"> |
4 |
<style type="text/css"> |
5 |
div.record ul, div.record li { float:none; display:block; } |
5 |
div.record ul, div.record li { float:none; display:block; } |
|
|
6 |
div#result { margin-top: 1em; } |
6 |
/* We use this style "against" the li ui-tabs-nav style automatically applied */ |
7 |
/* We use this style "against" the li ui-tabs-nav style automatically applied */ |
7 |
</style> |
8 |
</style> |
8 |
<script type="text/javascript"> |
9 |
<script type="text/javascript"> |
Lines 17-23
div.record ul, div.record li { float:none; display:block; }
Link Here
|
17 |
|
18 |
|
18 |
$(document).ready(function(){ |
19 |
$(document).ready(function(){ |
19 |
// Creating tabs |
20 |
// Creating tabs |
20 |
$("#tabs").tabs(); |
21 |
$("#tabs > ul").tabs(); |
21 |
|
22 |
|
22 |
// Getting marc structure via ajax |
23 |
// Getting marc structure via ajax |
23 |
tagslib = []; |
24 |
tagslib = []; |
Lines 165-184
$(document).ready(function(){
Link Here
|
165 |
</head> |
166 |
</head> |
166 |
<body> |
167 |
<body> |
167 |
<!-- TMPL_INCLUDE NAME="header.inc" --> |
168 |
<!-- TMPL_INCLUDE NAME="header.inc" --> |
|
|
169 |
<!-- TMPL_INCLUDE NAME="cataloging-search.inc" --> |
168 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a> › <!-- TMPL_IF NAME="biblionumber" -->Editing <em><!-- TMPL_VAR NAME="title" escape="html" --></em> (Record Number <!-- TMPL_VAR name="biblionumber" -->)<!-- TMPL_ELSE -->Add MARC Record<!-- /TMPL_IF --></div> |
170 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a> › <!-- TMPL_IF NAME="biblionumber" -->Editing <em><!-- TMPL_VAR NAME="title" escape="html" --></em> (Record Number <!-- TMPL_VAR name="biblionumber" -->)<!-- TMPL_ELSE -->Add MARC Record<!-- /TMPL_IF --></div> |
169 |
|
171 |
|
170 |
<div id="doc" class="yui-t7"> |
172 |
<div id="doc" class="yui-t7"> |
171 |
|
173 |
|
172 |
<div id="bd"> |
174 |
<div id="bd"> |
173 |
<div id="yui-main"> |
175 |
<div id="yui-main"> |
174 |
<div class="yui-g"> |
|
|
175 |
|
176 |
|
176 |
|
177 |
|
177 |
<h1>Merging records</h1> |
178 |
<h1>Merging records</h1> |
178 |
<!-- TMPL_IF name="result" --> |
179 |
<!-- TMPL_IF name="result" --> |
179 |
<!-- TMPL_IF name="errors" --> |
180 |
<!-- TMPL_IF name="errors" --> |
180 |
<!-- TMPL_LOOP name="errors" --> |
181 |
<!-- TMPL_LOOP name="errors" --> |
181 |
<div class="error"><!-- TMPL_VAR name="error" -->.<br />Therefore, the record to be merged has not been deleted.</div> |
182 |
<div class="dialog alert"><!-- TMPL_VAR name="error" -->.<br />Therefore, the record to be merged has not been deleted.</div> |
182 |
<!-- /TMPL_LOOP --> |
183 |
<!-- /TMPL_LOOP --> |
183 |
|
184 |
|
184 |
<!-- TMPL_ELSE --> |
185 |
<!-- TMPL_ELSE --> |
Lines 189-203
$(document).ready(function(){
Link Here
|
189 |
<!-- TMPL_ELSE --> |
190 |
<!-- TMPL_ELSE --> |
190 |
|
191 |
|
191 |
<!-- TMPL_IF NAME="choosereference" --> |
192 |
<!-- TMPL_IF NAME="choosereference" --> |
192 |
<p>Please choose which record will be the reference for the merge (the record chosen as reference will be kept, and the other will be deleted) : </p> |
193 |
<p>Please choose which record will be the reference for the merge. The record chosen as reference will be kept, and the other will be deleted.</p> |
193 |
<form id="mergeform" action="/cgi-bin/koha/cataloguing/merge.pl" method="post"> |
194 |
<form id="mergeform" action="/cgi-bin/koha/cataloguing/merge.pl" method="post"> |
194 |
<fieldset> |
195 |
<fieldset class="rows"> |
195 |
<legend>Merge reference</legend> |
196 |
<legend>Merge reference</legend> |
196 |
<input type="radio" value="<!-- TMPL_VAR NAME="biblio1" -->" checked="checked" id="mergereference1" name="mergereference" /><label for="mergereference1"><!-- TMPL_VAR NAME="title1" --> (<!-- TMPL_VAR NAME="biblio1" -->)</label><br /> |
197 |
<ol> |
197 |
<input type="radio" value="<!-- TMPL_VAR NAME="biblio2" -->" id="mergereference2" name="mergereference" /><label for="mergereference2"><!-- TMPL_VAR NAME="title2" --> (<!-- TMPL_VAR NAME="biblio2" -->)</label><br /> |
198 |
<li class="radio"><input type="radio" value="<!-- TMPL_VAR NAME="biblio1" -->" checked="checked" id="mergereference1" name="mergereference" /><label for="mergereference1"><!-- TMPL_VAR NAME="title1" --> (<!-- TMPL_VAR NAME="biblio1" -->)</label></li> |
|
|
199 |
<li class="radio"><input type="radio" value="<!-- TMPL_VAR NAME="biblio2" -->" id="mergereference2" name="mergereference" /><label for="mergereference2"><!-- TMPL_VAR NAME="title2" --> (<!-- TMPL_VAR NAME="biblio2" -->)</label></li> |
200 |
</ol> |
198 |
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblio1" -->" /> |
201 |
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblio1" -->" /> |
199 |
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblio2" -->" /> |
202 |
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblio2" -->" /> |
200 |
<input type="submit" /> |
203 |
<fieldset class="action"><input type="submit" value="Next" /></fieldset> |
201 |
</fieldset> |
204 |
</fieldset> |
202 |
</form> |
205 |
</form> |
203 |
<!-- TMPL_ELSE --> |
206 |
<!-- TMPL_ELSE --> |
Lines 208-214
$(document).ready(function(){
Link Here
|
208 |
<!-- TMPL_ELSE --> |
211 |
<!-- TMPL_ELSE --> |
209 |
<form id="mergeform" action="/cgi-bin/koha/cataloguing/merge.pl" method="post" onsubmit="return mergeformsubmit()"> |
212 |
<form id="mergeform" action="/cgi-bin/koha/cataloguing/merge.pl" method="post" onsubmit="return mergeformsubmit()"> |
210 |
|
213 |
|
211 |
<div id="tabs" class="yui-u first"> |
214 |
<div class="yui-g"> |
|
|
215 |
<div class="yui-u first"> |
216 |
<div id="tabs" class="toptabs"> |
212 |
<h2>Source records</h2> |
217 |
<h2>Source records</h2> |
213 |
<ul> |
218 |
<ul> |
214 |
<li><a href="#tabrecord1"><!-- TMPL_VAR name="biblio1" --></a></li> |
219 |
<li><a href="#tabrecord1"><!-- TMPL_VAR name="biblio1" --></a></li> |
Lines 216-222
$(document).ready(function(){
Link Here
|
216 |
</ul> |
221 |
</ul> |
217 |
<div id="tabrecord1"> |
222 |
<div id="tabrecord1"> |
218 |
<!-- TMPL_IF name="record1" --> |
223 |
<!-- TMPL_IF name="record1" --> |
219 |
<br /> |
224 |
|
220 |
<div class="record"> |
225 |
<div class="record"> |
221 |
<ul id="ulrecord1"> |
226 |
<ul id="ulrecord1"> |
222 |
<!-- TMPL_LOOP NAME="record1" --> |
227 |
<!-- TMPL_LOOP NAME="record1" --> |
Lines 248-258
$(document).ready(function(){
Link Here
|
248 |
</li> |
253 |
</li> |
249 |
<!-- /TMPL_LOOP --> |
254 |
<!-- /TMPL_LOOP --> |
250 |
</ul> |
255 |
</ul> |
251 |
</div> |
256 |
</div><!-- /div.record --> |
252 |
</div> |
257 |
</div><!-- /div#tabrecord1 --> |
253 |
<div id="tabrecord2"> |
258 |
<div id="tabrecord2"> |
254 |
<!-- TMPL_IF name="record2" --> |
259 |
<!-- TMPL_IF name="record2" --> |
255 |
<br /> |
260 |
|
256 |
<div class="record"> |
261 |
<div class="record"> |
257 |
<ul id="ulrecord2"> |
262 |
<ul id="ulrecord2"> |
258 |
<!-- TMPL_LOOP NAME="record2" --> |
263 |
<!-- TMPL_LOOP NAME="record2" --> |
Lines 285-302
$(document).ready(function(){
Link Here
|
285 |
<!-- /TMPL_LOOP --> |
290 |
<!-- /TMPL_LOOP --> |
286 |
</ul> |
291 |
</ul> |
287 |
</div> |
292 |
</div> |
288 |
|
293 |
<!-- /div.record --> |
289 |
|
294 |
|
290 |
|
295 |
|
291 |
|
296 |
|
292 |
|
297 |
|
293 |
<!-- /TMPL_IF --> |
298 |
<!-- /TMPL_IF --> |
294 |
</div> |
299 |
</div><!-- /div#tabrecord2 --> |
295 |
</div> <!-- // #tabs --> |
300 |
</div> <!-- // #tabs --> |
296 |
|
301 |
</div> |
297 |
<div id="result" class="yui-u"> |
302 |
<div class="yui-u"> |
|
|
303 |
<div id="result"> |
298 |
<h2>Destination record</h2> |
304 |
<h2>Destination record</h2> |
299 |
<br /><br /> |
305 |
<div style="border:1px solid #E8E8E8;padding:1em;margin-top:2em;"> |
300 |
<ul id="resultul"> |
306 |
<ul id="resultul"> |
301 |
<!-- TMPL_LOOP NAME="record1" --> |
307 |
<!-- TMPL_LOOP NAME="record1" --> |
302 |
<!-- TMPL_LOOP NAME="field" --><li id="k<!-- TMPL_VAR name="key" -->"><span class="field"><!-- TMPL_VAR NAME="tag" --></span> |
308 |
<!-- TMPL_LOOP NAME="field" --><li id="k<!-- TMPL_VAR name="key" -->"><span class="field"><!-- TMPL_VAR NAME="tag" --></span> |
Lines 330-338
$(document).ready(function(){
Link Here
|
330 |
<input type="hidden" name="biblio2" value="<!-- TMPL_VAR name="biblio2" -->" /> |
336 |
<input type="hidden" name="biblio2" value="<!-- TMPL_VAR name="biblio2" -->" /> |
331 |
<input type="hidden" name="mergereference" value="<!-- TMPL_VAR name="mergereference" -->" /> |
337 |
<input type="hidden" name="mergereference" value="<!-- TMPL_VAR name="mergereference" -->" /> |
332 |
|
338 |
|
333 |
<p><input type="submit" name="merge" value="merge" /></p> |
339 |
</div> |
334 |
|
|
|
335 |
</div> <!-- // #result --> |
340 |
</div> <!-- // #result --> |
|
|
341 |
</div> <!-- .yui-u --> |
342 |
<fieldset class="action"><input type="submit" name="merge" value="Merge" /></fieldset> |
343 |
</div> |
336 |
</form> |
344 |
</form> |
337 |
<!-- /TMPL_IF --> |
345 |
<!-- /TMPL_IF --> |
338 |
<!-- /TMPL_IF --> |
346 |
<!-- /TMPL_IF --> |
339 |
- |
|
|