width : 90%;
}
-div.message {
- border : 1px solid #8ebaff;
- padding : .3em;
- margin : .3em;
- width : 50%;
-}
-
#catalogue_detail_biblio table, #catalogue_detail_biblio td, #catalogue_detail_biblio th {
background-color : transparent;
border : 0;
.searchhighlightblob {
font-size:75%;
font-style : italic;
+}
+
+
+.dialog {
+ border: 1px solid #bcbcbc;
+ padding : .5em;
+ margin : 1em auto;
+ width: 65%;
+ }
+
+.dialog h2, .dialog h3, .dialog h4 {
+ margin : auto;
+ text-align : center;
+ }
+
+div.alert {
+ background : #FFC url(../../images/alert-bg.gif) repeat-x left 0;
+ text-align : center;
+}
+
+div.alert strong {
+ color : #900;
+}
+
+div.message {
+ background : white url("../../images/message-bg.gif") repeat-x left 0;
+ border : 1px solid #bcbcbc;
+ width : 55%;
}
\ No newline at end of file
<!-- TMPL_LOOP NAME="BORROWER_INFO" -->
<h2>Hello, <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> <span class="hint">(<a href="/cgi-bin/koha/opac-logout.pl">Click here</a> if you're not <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->)</span></h2>
+ <!-- TMPL_IF NAME="patronupdate" --><div class="dialog message"><h3>Thank you!</h3><p>Your corrections have been submitted to the library, and a staff member will update your record as soon as possible.</p></div><!-- /TMPL_IF -->
+
<!-- TMPL_IF NAME="opacnote"-->
<h3>Message from the library</h3>
<p><!-- TMPL_VAR name="opacnote" --></p>
}
);
+my $patronupdate = $query->param('patronupdate');
+
# get borrower information ....
my ( $borr, $flags ) = GetMemberDetails( $borrowernumber );
$template->param(
waiting_count => $wcount,
textmessaging => $borr->{textmessaging},
+ patronupdate => $patronupdate,
);
output_html_with_http_headers $query, $cookie, $template->output;
# do something if it works....
warn "Mail sent ok\n";
- print $query->redirect('/cgi-bin/koha/opac-user.pl');
+ print $query->redirect('/cgi-bin/koha/opac-user.pl?patronupdate=sent');
exit;
}
else {