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

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/kohaerror.tmpl (-6 / +20 lines)
Lines 2-12 Link Here
2
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
2
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3
</head>
3
</head>
4
<body>
4
<body>
5
<!--TMPL_INCLUDE NAME="masthead.inc" -->
5
<div id="doc3" class="yui-t7">
6
<!--TMPL_INCLUDE NAME="navigation.inc" -->
6
   <div id="bd">
7
<!-- TMPL_INCLUDE name="masthead.inc" -->
7
8
9
<div id="yui-g">
10
<div class="container">
11
<div id="kohaerror">
12
<div class="dialog message">
13
<h3>An Error has Occurred</h3>
14
<!-- TMPL_IF NAME="noadminemail" -->
15
<p>An error occurred when sending your message to the administrator. Please visit the library to update your personal details. </p>
16
<p><a href="/cgi-bin/koha/opac-user.pl">Return to your summary.</a></p>
17
<!-- TMPL_ELSE -->
18
<p><!-- TMPL_VAR NAME="errormessage" --></p>
19
<!-- /TMPL_IF -->
20
</div>
21
</div>
22
</div>
23
</div>
24
</div>
8
25
9
<div id="main">
26
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
10
<h3>An Error has Occurred</h3><!-- TMPL_VAR NAME="errormessage" --></div>
11
</body>
12
</html>
(-)a/opac/opac-userupdate.pl (-3 / +1 lines)
Lines 73-80 if ( $updateemailaddress eq '' ) { Link Here
73
    );
73
    );
74
74
75
    $template->param(
75
    $template->param(
76
        errormessage => 'KohaAdminEmailAddress system preference
76
        noadminemail => 1,
77
    is not set.  Please visit the library to update your user record'
78
    );
77
    );
79
78
80
    output_html_with_http_headers $query, $cookie, $template->output;
79
    output_html_with_http_headers $query, $cookie, $template->output;
81
- 

Return to bug 1153