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 237-243 function confirm_items_deletion() { Link Here
237
	[% IF ( CAN_user_reserveforothers ) %]
242
	[% IF ( CAN_user_reserveforothers ) %]
238
    [% UNLESS ( norequests ) %]<li><a id="placehold" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">Place hold</a></li>[% END %]
243
    [% UNLESS ( norequests ) %]<li><a id="placehold" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">Place hold</a></li>[% END %]
239
	[% END %]
244
	[% END %]
240
	[% 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 %]
245
	[% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<li id="z3950searchc"><input type="button" id="z3950search" value="Z39.50 Search" onclick="PopupZ3950Confirmed(); return false;" /></li>[% END %]
241
    </ul>
246
    </ul>
242
</form>
247
</form>
243
</div>
248
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt (-1 / +3 lines)
Lines 9-14 Link Here
9
<script type="text/javascript" src="[% themelang %]/js/background-job-progressbar.js"></script>
9
<script type="text/javascript" src="[% themelang %]/js/background-job-progressbar.js"></script>
10
<script type="text/JavaScript" language="JavaScript">
10
<script type="text/JavaScript" language="JavaScript">
11
//<![CDATA[
11
//<![CDATA[
12
var MSG_CONFIRM_CLEAN = _("Clear all reservoir records staged in this batch?  This cannot be undone.");
13
12
$(document).ready(function(){
14
$(document).ready(function(){
13
  $("#staged-record-matching-rules select").change(function(){
15
  $("#staged-record-matching-rules select").change(function(){
14
      var str = $(this).attr("id");
16
      var str = $(this).attr("id");
Lines 237-243 Page Link Here
237
          <form method="post" action="[% batch_lis.script_name %]" name="clean_batch_[% batch_lis.import_batch_id %]" id="clean_batch_[% batch_lis.import_batch_id %]" >
239
          <form method="post" action="[% batch_lis.script_name %]" name="clean_batch_[% batch_lis.import_batch_id %]" id="clean_batch_[% batch_lis.import_batch_id %]" >
238
            <input type="hidden" name="import_batch_id" value="[% batch_lis.import_batch_id %]" />
240
            <input type="hidden" name="import_batch_id" value="[% batch_lis.import_batch_id %]" />
239
            <input type="hidden" name="op" value="clean-batch" />
241
            <input type="hidden" name="op" value="clean-batch" />
240
            <input type="submit" class="button" value="Clean" onclick="return confirm(_('Clear all reservoir records staged in this batch?  This cannot be undone.'));" />
242
            <input type="submit" class="button" value="Clean" onclick="return confirm(MSG_CONFIRM_CLEAN);" />
241
          </form>
243
          </form>
242
        [% END %]
244
        [% END %]
243
    </td>
245
    </td>
(-)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 247-253 function placeHold () { Link Here
247
    </table><fieldset class="action">
249
    </table><fieldset class="action">
248
        [% IF ( itemsloop ) %]
250
        [% IF ( itemsloop ) %]
249
            <input type="button" id="placehold" style="display:none" onclick="placeHold(); return false;" value="Place holds" />
251
            <input type="button" id="placehold" style="display:none" onclick="placeHold(); return false;" value="Place holds" />
250
            [% 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 %]
252
            [% IF ( allowremovingitems ) %]<input type="submit" value="Remove selected records" onclick="return confirm(MSG_REMOVE_FROM_LIST);" />[% END %]
251
            <input type="submit" value="Merge selected records" onclick="return MergeItems();" />
253
            <input type="submit" value="Merge selected records" onclick="return MergeItems();" />
252
        [% END %]
254
        [% END %]
253
 </fieldset>
255
 </fieldset>
Lines 410-416 function placeHold () { Link Here
410
					<input type="hidden" name="CONFIRM-[% shelveslooppri.confirm %]" value="1" />
412
					<input type="hidden" name="CONFIRM-[% shelveslooppri.confirm %]" value="1" />
411
					<input type="submit" class="approve" value="Confirm" />
413
					<input type="submit" class="approve" value="Confirm" />
412
					[% ELSE %]
414
					[% ELSE %]
413
                    <input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this list?'));" value="Delete" />
415
                    <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" />
414
					[% END %]
416
					[% END %]
415
				</form>
417
				</form>
416
			[% ELSE %]
418
			[% ELSE %]
Lines 458-464 function placeHold () { Link Here
458
					<input type="hidden" name="CONFIRM-[% shelvesloo.confirm %]" value="1" />
460
					<input type="hidden" name="CONFIRM-[% shelvesloo.confirm %]" value="1" />
459
					<input type="submit" class="approve" value="Confirm" />
461
					<input type="submit" class="approve" value="Confirm" />
460
					[% ELSE %]
462
					[% ELSE %]
461
                    <input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this list?'));" value="Delete" />
463
                    <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" />
462
					[% END %]
464
					[% END %]
463
				</form>
465
				</form>
464
			[% ELSE %]
466
			[% ELSE %]
(-)a/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc (+2 lines)
Lines 45-50 Link Here
45
45
46
<script type="text/javascript" language="javascript">
46
<script type="text/javascript" language="javascript">
47
	//<![CDATA[
47
	//<![CDATA[
48
    var MSG_CONFIRM_AGAIN = _("Warning: Cannot be undone. Please confirm once again")
49
    var MSG_DELETE_SEARCH_HISTORY = _("Are you sure you want to delete your search history?");
48
    [% IF ( opacbookbag ) %]var MSG_BASKET_EMPTY = _("Your cart is currently empty");
50
    [% IF ( opacbookbag ) %]var MSG_BASKET_EMPTY = _("Your cart is currently empty");
49
    var MSG_RECORD_IN_BASKET = _("This item is already in your cart");
51
    var MSG_RECORD_IN_BASKET = _("This item is already in your cart");
50
    var MSG_RECORD_ADDED = _("This item has been added to your cart");
52
    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