View | Details | Raw Unified | Return to bug 8942
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc (-1 / +6 lines)
Lines 10-15 Link Here
10
			window.open("/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=[% biblionumber %]"+strQuery,"z3950search",'width=740,height=450,location=yes,toolbar=no,scrollbars=yes,resize=yes');
10
			window.open("/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=[% biblionumber %]"+strQuery,"z3950search",'width=740,height=450,location=yes,toolbar=no,scrollbars=yes,resize=yes');
11
		} 
11
		} 
12
	}
12
	}
13
    function PopupZ3950Confirmed() {
14
        if (confirm(_("Please note that this Z39.50 search could replace the current record."))){
15
            PopupZ3950();
16
        }
17
    }
13
18
14
	/* provide Z3950 search points */
19
	/* provide Z3950 search points */
15
	function GetZ3950Terms(){
20
	function GetZ3950Terms(){
Lines 238-244 function confirm_items_deletion() { Link Here
238
	[% IF ( CAN_user_reserveforothers ) %]
243
	[% IF ( CAN_user_reserveforothers ) %]
239
    [% UNLESS ( norequests ) %]<li><a id="placehold" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">Place hold</a></li>[% END %]
244
    [% UNLESS ( norequests ) %]<li><a id="placehold" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">Place hold</a></li>[% END %]
240
	[% END %]
245
	[% END %]
241
	[% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<li id="z3950searchc"><input type="button" id="z3950search" value="Z39.50 Search" onclick="if (confirm(_('Please note that this Z39.50 search could replace the current record.'))){ PopupZ3950(); } return false;" /></li>[% END %]
246
	[% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<li id="z3950searchc"><input type="button" id="z3950search" value="Z39.50 Search" onclick="PopupZ3950Confirmed(); return false;" /></li>[% END %]
242
    </ul>
247
    </ul>
243
</form>
248
</form>
244
</div>
249
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt (-1 / +3 lines)
Lines 28-33 Link Here
28
<script type="text/javascript" src="[% themelang %]/js/background-job-progressbar.js"></script>
28
<script type="text/javascript" src="[% themelang %]/js/background-job-progressbar.js"></script>
29
<script type="text/JavaScript" language="JavaScript">
29
<script type="text/JavaScript" language="JavaScript">
30
//<![CDATA[
30
//<![CDATA[
31
var MSG_CONFIRM_CLEAN = _("Clear all reservoir records staged in this batch?  This cannot be undone.");
32
31
$(document).ready(function(){
33
$(document).ready(function(){
32
  $("#staged-record-matching-rules select").change(function(){
34
  $("#staged-record-matching-rules select").change(function(){
33
      var str = $(this).attr("id");
35
      var str = $(this).attr("id");
Lines 291-297 Page Link Here
291
          <form method="post" action="[% batch_lis.script_name %]" name="clean_batch_[% batch_lis.import_batch_id %]" id="clean_batch_[% batch_lis.import_batch_id %]" >
293
          <form method="post" action="[% batch_lis.script_name %]" name="clean_batch_[% batch_lis.import_batch_id %]" id="clean_batch_[% batch_lis.import_batch_id %]" >
292
            <input type="hidden" name="import_batch_id" value="[% batch_lis.import_batch_id %]" />
294
            <input type="hidden" name="import_batch_id" value="[% batch_lis.import_batch_id %]" />
293
            <input type="hidden" name="op" value="clean-batch" />
295
            <input type="hidden" name="op" value="clean-batch" />
294
            <input type="submit" class="button" value="Clean" onclick="return confirm(_('Clear all reservoir records staged in this batch?  This cannot be undone.'));" />
296
            <input type="submit" class="button" value="Clean" onclick="return confirm(MSG_CONFIRM_CLEAN);" />
295
          </form>
297
          </form>
296
        [% END %]
298
        [% END %]
297
    </td>
299
    </td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt (-1 / +3 lines)
Lines 10-15 Link Here
10
    <script type="text/javascript" src="[% themelang %]/js/jquery.jeditable.mini.js"></script>
10
    <script type="text/javascript" src="[% themelang %]/js/jquery.jeditable.mini.js"></script>
11
    <script type="text/javascript">
11
    <script type="text/javascript">
12
    //<![CDATA[
12
    //<![CDATA[
13
    var MSG_ID_HELP = _("Click on the quote's id to select or deselect the quote. Multiple quotes may be selected.");
14
13
    var oTable; /* oTable needs to be global */
15
    var oTable; /* oTable needs to be global */
14
    var sEmptyTable = _("No quotes available. Please use the \"Add quote\" button to add a quote."); /* override the default message in datatables-strings.inc */
16
    var sEmptyTable = _("No quotes available. Please use the \"Add quote\" button to add a quote."); /* override the default message in datatables-strings.inc */
15
    $(document).ready(function() {
17
    $(document).ready(function() {
Lines 204-210 Link Here
204
                <table id="quotes_editor">
206
                <table id="quotes_editor">
205
                <thead>
207
                <thead>
206
                    <tr>
208
                    <tr>
207
                        <th><span style="cursor: help" onclick="event.stopPropagation();alert(_('Click on the quote\'s id to select or deselect the quote. Multiple quotes may be selected.'));">ID</span></th>
209
                        <th><span style="cursor: help" onclick="event.stopPropagation();alert(MSG_ID_HELP);">ID</span></th>
208
                        <th>Source</th>
210
                        <th>Source</th>
209
                        <th>Text</th>
211
                        <th>Text</th>
210
                        <th>Last displayed</th>
212
                        <th>Last displayed</th>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-3 / +5 lines)
Lines 6-11 Link Here
6
//<![CDATA[ 
6
//<![CDATA[ 
7
7
8
var MSG_NO_ITEM_SELECTED = _("Nothing is selected.");
8
var MSG_NO_ITEM_SELECTED = _("Nothing is selected.");
9
var MSG_REMOVE_FROM_LIST = _("Are you sure you want to remove these records from the shelf?");
10
var MSG_CONFIRM_DELETE_LIST = _("Are you sure you want to remove this list?");
9
11
10
$(document).ready(function(){
12
$(document).ready(function(){
11
	$("#addbarcode").focus();
13
	$("#addbarcode").focus();
Lines 251-257 function placeHold () { Link Here
251
    </table><fieldset class="action">
253
    </table><fieldset class="action">
252
        [% IF ( itemsloop ) %]
254
        [% IF ( itemsloop ) %]
253
            <input type="button" id="placehold" style="display:none" onclick="placeHold(); return false;" value="Place holds" />
255
            <input type="button" id="placehold" style="display:none" onclick="placeHold(); return false;" value="Place holds" />
254
            [% IF ( allowremovingitems ) %]<input type="submit" value="Remove selected records" onclick="return confirm(_('Are you sure you want to remove these records from the shelf?'));" />[% END %]
256
            [% IF ( allowremovingitems ) %]<input type="submit" value="Remove selected records" onclick="return confirm(MSG_REMOVE_FROM_LIST);" />[% END %]
255
            <input type="submit" value="Merge selected records" onclick="return MergeItems();" />
257
            <input type="submit" value="Merge selected records" onclick="return MergeItems();" />
256
        [% END %]
258
        [% END %]
257
 </fieldset>
259
 </fieldset>
Lines 416-422 function placeHold () { Link Here
416
					<input type="hidden" name="CONFIRM-[% shelveslooppri.confirm %]" value="1" />
418
					<input type="hidden" name="CONFIRM-[% shelveslooppri.confirm %]" value="1" />
417
					<input type="submit" class="approve" value="Confirm" />
419
					<input type="submit" class="approve" value="Confirm" />
418
					[% ELSE %]
420
					[% ELSE %]
419
                    <input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this list?'));" value="Delete" />
421
                    <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" />
420
					[% END %]
422
					[% END %]
421
				</form>
423
				</form>
422
			[% ELSE %]
424
			[% ELSE %]
Lines 464-470 function placeHold () { Link Here
464
					<input type="hidden" name="CONFIRM-[% shelvesloo.confirm %]" value="1" />
466
					<input type="hidden" name="CONFIRM-[% shelvesloo.confirm %]" value="1" />
465
					<input type="submit" class="approve" value="Confirm" />
467
					<input type="submit" class="approve" value="Confirm" />
466
					[% ELSE %]
468
					[% ELSE %]
467
                    <input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this list?'));" value="Delete" />
469
                    <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" />
468
					[% END %]
470
					[% END %]
469
				</form>
471
				</form>
470
			[% ELSE %]
472
			[% ELSE %]
(-)a/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc (+2 lines)
Lines 51-56 Link Here
51
51
52
<script type="text/javascript" language="javascript">
52
<script type="text/javascript" language="javascript">
53
	//<![CDATA[
53
	//<![CDATA[
54
	var MSG_CONFIRM_AGAIN = _("Warning: Cannot be undone. Please confirm once again")
55
    var MSG_DELETE_SEARCH_HISTORY = _("Are you sure you want to delete your search history?");
54
    [% IF ( opacbookbag ) %]var MSG_BASKET_EMPTY = _("Your cart is currently empty");
56
    [% IF ( opacbookbag ) %]var MSG_BASKET_EMPTY = _("Your cart is currently empty");
55
    var MSG_RECORD_IN_BASKET = _("This item is already in your cart");
57
    var MSG_RECORD_IN_BASKET = _("This item is already in your cart");
56
    var MSG_RECORD_ADDED = _("This item has been added to your cart");
58
    var MSG_RECORD_ADDED = _("This item has been added to your cart");
(-)a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc (-1 / +1 lines)
Lines 8-14 Link Here
8
8
9
            [% END %]
9
            [% END %]
10
            [% IF ( ShowOpacRecentSearchLink ) %]
10
            [% IF ( ShowOpacRecentSearchLink ) %]
11
                <li><a href="/cgi-bin/koha/opac-search-history.pl" title="View your search history">Search history</a> [<a class="logout" href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history" onclick="return confirm(_('Are you sure you want to delete your search history?'));">x</a>]</li>
11
                <li><a href="/cgi-bin/koha/opac-search-history.pl" title="View your search history">Search history</a> [<a class="logout" href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history" onclick="return confirm(MSG_DELETE_SEARCH_HISTORY);">x</a>]</li>
12
            [% END %]
12
            [% END %]
13
			[% IF ( loggedinusername ) %]<li><a class="logout" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1">Log Out</a></li>[% END %]
13
			[% IF ( loggedinusername ) %]<li><a class="logout" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1">Log Out</a></li>[% END %]
14
   	</ul>	
14
   	</ul>	
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-privacy.tt (-2 / +1 lines)
Lines 55-61 Link Here
55
        <form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-delete-form">
55
        <form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-delete-form">
56
            <input type="hidden" name="op" value="delete_record" />
56
            <input type="hidden" name="op" value="delete_record" />
57
            <p>Whatever your privacy rule you choose, you can delete all your reading history immediately by clicking here. <b>BE CAREFUL</b>. Once you've confirmed the deletion, no one can retrieve the list!</p>
57
            <p>Whatever your privacy rule you choose, you can delete all your reading history immediately by clicking here. <b>BE CAREFUL</b>. Once you've confirmed the deletion, no one can retrieve the list!</p>
58
            <input type="submit" value="Immediate deletion" onclick="return confirmDelete(_('Warning: Cannot be undone. Please confirm once again'));" />
58
            <input type="submit" value="Immediate deletion" onclick="return confirmDelete(MSG_CONFIRM_AGAIN);" />
59
        </form>
59
        </form>
60
    [% END %]
60
    [% END %]
61
    </div>
61
    </div>
62
- 

Return to bug 8942