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

(-)a/circ/circulation.pl (-1 / +4 lines)
Lines 103-109 for (@failedrenews) { $renew_failed[$_] = 1; } Link Here
103
103
104
my $sessionID = $query->cookie("CGISESSID") ;
104
my $sessionID = $query->cookie("CGISESSID") ;
105
my $session = get_session($sessionID);
105
my $session = get_session($sessionID);
106
my $sounderror;
106
my ( $sounderror, $soundok );
107
my @soundederrors = @{ $session->param( 'soundederrors' ) } if ( $session->param( 'soundederrors' ) );
107
my @soundederrors = @{ $session->param( 'soundederrors' ) } if ( $session->param( 'soundederrors' ) );
108
my %soundederrors;
108
my %soundederrors;
109
for ( @soundederrors ) { $soundederrors{ $_ } = 1; }
109
for ( @soundederrors ) { $soundederrors{ $_ } = 1; }
Lines 302-307 if ($barcode) { Link Here
302
    # we have no blockers for issuing and any issues needing confirmation have been resolved
302
    # we have no blockers for issuing and any issues needing confirmation have been resolved
303
        AddIssue( $borrower, $barcode, $datedue, $cancelreserve );
303
        AddIssue( $borrower, $barcode, $datedue, $cancelreserve );
304
        $inprocess = 1;
304
        $inprocess = 1;
305
	$soundok = 1;
305
    }
306
    }
306
  elsif ($issueconfirmed){	# FIXME: Do something? Or is this to *intentionally* do nothing?
307
  elsif ($issueconfirmed){	# FIXME: Do something? Or is this to *intentionally* do nothing?
307
  }
308
  }
Lines 328-333 if ($barcode) { Link Here
328
			if ($noquestion) {
329
			if ($noquestion) {
329
				AddIssue( $borrower, $barcode, $datedue );
330
				AddIssue( $borrower, $barcode, $datedue );
330
				$inprocess = 1;
331
				$inprocess = 1;
332
				$soundok = 1;
331
			}
333
			}
332
   	    }
334
   	    }
333
		$template->param(
335
		$template->param(
Lines 767-772 $template->param( picture => 1 ) if $picture; Link Here
767
$session->param('soundederrors', [ keys %soundederrors ] );
769
$session->param('soundederrors', [ keys %soundederrors ] );
768
$template->param(
770
$template->param(
769
    sounderror => $sounderror,
771
    sounderror => $sounderror,
772
    soundok => $soundok,
770
    );
773
    );
771
774
772
$template->param(
775
$template->param(
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/sound.inc (+3 lines)
Line 0 Link Here
1
<!-- TMPL_IF NAME="sounderror" --><OBJECT data="/intranet-tmpl/prog/img/error.swf" WIDTH="1" HEIGHT="1" TYPE="application/x-shockwave-flash"></OBJECT><!-- /TMPL_IF -->
2
<!-- TMPL_IF NAME="soundok" --><OBJECT data="/intranet-tmpl/prog/img/ok.swf" WIDTH="1" HEIGHT="1" TYPE="application/x-shockwave-flash"></OBJECT><!-- /TMPL_IF -->
3
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl (-2 / +1 lines)
Lines 60-67 $.tablesorter.addParser({ Link Here
60
<!-- /TMPL_IF -->
60
<!-- /TMPL_IF -->
61
61
62
<!--  INITIAL BLOC : PARAMETERS & BORROWER INFO -->
62
<!--  INITIAL BLOC : PARAMETERS & BORROWER INFO -->
63
<!-- TMPL_IF NAME="sounderror" --><EMBED src="/intranet-tmpl/prog/img/error.swf" quality="high"  WIDTH="1" HEIGHT="1" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED><!-- /TMPL_IF -->
63
<!-- TMPL_INCLUDE NAME="sound.inc" -->
64
<!-- TMPL_IF NAME="inprocess" --><!-- Sound on successful issueing --><EMBED src="/intranet-tmpl/prog/img/ok.swf" quality="high"  WIDTH="1" HEIGHT="1" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED><!-- /TMPL_IF -->
65
64
66
<!-- TMPL_IF NAME="dateexpiry" --><div class="dialog message">Patron's account has been renewed until <!-- TMPL_VAR NAME="dateexpiry" --></div><!-- /TMPL_IF -->
65
<!-- TMPL_IF NAME="dateexpiry" --><div class="dialog message">Patron's account has been renewed until <!-- TMPL_VAR NAME="dateexpiry" --></div><!-- /TMPL_IF -->
67
<!-- TMPL_IF NAME="NEEDSCONFIRMATION" -->
66
<!-- TMPL_IF NAME="NEEDSCONFIRMATION" -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tmpl (-2 / +1 lines)
Lines 317-324 function Dopop(link) { Link Here
317
    </form>
317
    </form>
318
</div>
318
</div>
319
319
320
<!-- TMPL_IF NAME="sounderror" --><EMBED src="/intranet-tmpl/prog/img/error.swf" quality="high"  WIDTH="1" HEIGHT="1" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED><!-- /TMPL_IF -->
320
<!-- TMPL_INCLUDE NAME="sound.inc" -->
321
<!-- TMPL_IF NAME="soundok" --><EMBED src="/intranet-tmpl/prog/img/ok.swf" quality="high"  WIDTH="1" HEIGHT="1" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED><!-- /TMPL_IF -->
322
<!-- TMPL_IF Name="returned" -->
321
<!-- TMPL_IF Name="returned" -->
323
<div class="yui-g">    <table>
322
<div class="yui-g">    <table>
324
        <tr><th>Item Information</th><th>Patron Information</th></tr>
323
        <tr><th>Item Information</th><th>Patron Information</th></tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl (-2 / +1 lines)
Lines 81-87 if (nodename =="barcodes[]"){ Link Here
81
	<div id="yui-main">
81
	<div id="yui-main">
82
	<div class="yui-b">
82
	<div class="yui-b">
83
<!-- TMPL_INCLUDE NAME="members-toolbar.inc" -->
83
<!-- TMPL_INCLUDE NAME="members-toolbar.inc" -->
84
<!-- TMPL_IF NAME="sounderror" --><EMBED src="/intranet-tmpl/prog/img/error.swf" quality="high"  WIDTH="1" HEIGHT="1" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED><!-- <!-- TMPL_VAR NAME="sounderror" --> --><!-- /TMPL_IF -->
84
<!-- TMPL_INCLUDE NAME="sound.inc" -->
85
<!-- TMPL_IF NAME="error" -->
85
<!-- TMPL_IF NAME="error" -->
86
<div class="dialog alert">
86
<div class="dialog alert">
87
<!-- TMPL_IF NAME="AUTH_UPDATE_FAILED" -->
87
<!-- TMPL_IF NAME="AUTH_UPDATE_FAILED" -->
88
- 

Return to bug 1080