Lines 39-46
Link Here
|
39 |
<!-- TMPL_UNLESS name="grouped" --> |
39 |
<!-- TMPL_UNLESS name="grouped" --> |
40 |
<script type="text/javascript"> |
40 |
<script type="text/javascript"> |
41 |
//<![CDATA[ |
41 |
//<![CDATA[ |
42 |
function confirm_reopen() { |
42 |
function confirm_reopen(skip) { |
43 |
var is_confirmed = confirm(_('Are you sure you want to reopen this basket?')); |
43 |
var is_confirmed = skip || confirm(_('Are you sure you want to reopen this basket?')); |
44 |
if (is_confirmed) { |
44 |
if (is_confirmed) { |
45 |
window.location = "<!-- TMPL_VAR name="script_name" -->?op=reopen&basketno=<!-- TMPL_VAR name="basketno" -->"; |
45 |
window.location = "<!-- TMPL_VAR name="script_name" -->?op=reopen&basketno=<!-- TMPL_VAR name="basketno" -->"; |
46 |
} |
46 |
} |
Lines 95-101
Link Here
|
95 |
<li><a href="basketheader.pl?basketno=<!-- TMPL_VAR NAME="basketno" -->&op=add_form" class="button" id="basketheadbutton">Edit basket header information</a></li> |
95 |
<li><a href="basketheader.pl?basketno=<!-- TMPL_VAR NAME="basketno" -->&op=add_form" class="button" id="basketheadbutton">Edit basket header information</a></li> |
96 |
<li><a href="javascript:confirm_deletion();" class="button" id="delbasketbutton">Delete this basket</a></li> |
96 |
<li><a href="javascript:confirm_deletion();" class="button" id="delbasketbutton">Delete this basket</a></li> |
97 |
<!-- TMPL_IF name="unclosable" --> |
97 |
<!-- TMPL_IF name="unclosable" --> |
98 |
<li><button onclick="confirm_close()" class="yui-button-disabled" id="closebutton" type="button" disabled="disabled" title="You can not close this basket">Can not close basket</button></li> |
|
|
99 |
<!-- TMPL_ELSIF name="uncertainprices" --> |
98 |
<!-- TMPL_ELSIF name="uncertainprices" --> |
100 |
<li><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=<!-- TMPL_VAR name="booksellerid" -->&owner=1" class="button" id="uncertpricesbutton">Uncertain prices</a></li> |
99 |
<li><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=<!-- TMPL_VAR name="booksellerid" -->&owner=1" class="button" id="uncertpricesbutton">Uncertain prices</a></li> |
101 |
<!-- TMPL_ELSE --> |
100 |
<!-- TMPL_ELSE --> |
Lines 121-127
Link Here
|
121 |
//]]> |
120 |
//]]> |
122 |
</script> |
121 |
</script> |
123 |
<ul id="toolbar-list" class="toolbar"> |
122 |
<ul id="toolbar-list" class="toolbar"> |
124 |
<li><a href="javascript:confirm_reopen();" class="button" id="reopenbutton">Reopen this basket</a></li> |
123 |
<li><a href="javascript:confirm_reopen(<!-- TMPL_VAR NAME="skip_confirm_reopen" -->);" class="button" id="reopenbutton">Reopen this basket</a></li> |
125 |
</ul> |
124 |
</ul> |
126 |
</div> |
125 |
</div> |
127 |
<!-- /TMPL_UNLESS --> |
126 |
<!-- /TMPL_UNLESS --> |
Lines 313-319
Link Here
|
313 |
<form action="/cgi-bin/koha/acqui/basket.pl" class="confirm"> |
312 |
<form action="/cgi-bin/koha/acqui/basket.pl" class="confirm"> |
314 |
<h1>Are you sure you want to close basket <!-- TMPL_VAR name="basketname" -->?</h1> |
313 |
<h1>Are you sure you want to close basket <!-- TMPL_VAR name="basketname" -->?</h1> |
315 |
<p> |
314 |
<p> |
316 |
<label for="createbasketgroup">create a purchase order now?</label> |
315 |
<label for="createbasketgroup">Attach this basket to a new basket group with the same name</label> |
317 |
<input type="checkbox" id="createbasketgroup" name="createbasketgroup"/> |
316 |
<input type="checkbox" id="createbasketgroup" name="createbasketgroup"/> |
318 |
</p> |
317 |
</p> |
319 |
<input type="hidden" id="basketno" value="<!-- TMPL_VAR name="basketno" -->" name="basketno" /> |
318 |
<input type="hidden" id="basketno" value="<!-- TMPL_VAR name="basketno" -->" name="basketno" /> |