diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index 7364333130..f57f20b227 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -889,13 +889,6 @@ div.tab-container { 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; @@ -993,4 +986,32 @@ line-height : 40px; .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 diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl index 18b3af0c33..cead61a9ba 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl @@ -23,6 +23,8 @@

Hello, (Click here if you're not )

+

Thank you!

Your corrections have been submitted to the library, and a staff member will update your record as soon as possible.

+

Message from the library

diff --git a/koha-tmpl/opac-tmpl/prog/images/alert-bg.gif b/koha-tmpl/opac-tmpl/prog/images/alert-bg.gif new file mode 100644 index 0000000000..44625a2ec2 Binary files /dev/null and b/koha-tmpl/opac-tmpl/prog/images/alert-bg.gif differ diff --git a/koha-tmpl/opac-tmpl/prog/images/message-bg.gif b/koha-tmpl/opac-tmpl/prog/images/message-bg.gif new file mode 100644 index 0000000000..553546f9b5 Binary files /dev/null and b/koha-tmpl/opac-tmpl/prog/images/message-bg.gif differ diff --git a/opac/opac-user.pl b/opac/opac-user.pl index 4e32b4b7d9..fdbaabff0d 100755 --- a/opac/opac-user.pl +++ b/opac/opac-user.pl @@ -44,6 +44,8 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( } ); +my $patronupdate = $query->param('patronupdate'); + # get borrower information .... my ( $borr, $flags ) = GetMemberDetails( $borrowernumber ); @@ -219,6 +221,7 @@ foreach ( @$alerts ) { $template->param( waiting_count => $wcount, textmessaging => $borr->{textmessaging}, + patronupdate => $patronupdate, ); output_html_with_http_headers $query, $cookie, $template->output; diff --git a/opac/opac-userupdate.pl b/opac/opac-userupdate.pl index eeef129430..dad7450f4a 100755 --- a/opac/opac-userupdate.pl +++ b/opac/opac-userupdate.pl @@ -102,7 +102,7 @@ EOF # 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 {