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

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl (+16 lines)
Lines 87-92 Link Here
87
87
88
</div>
88
</div>
89
<div class="yui-u">
89
<div class="yui-u">
90
91
<!-- TMPL_IF NAME="intraneturl" -->
92
<!-- TMPL_IF NAME="patronimages" -->
93
<fieldset class="brief">
94
<legend>Patron Photo</legend>
95
<ol>
96
<!-- TMPL_IF NAME="picture" -->
97
<li><img src="http://<!-- TMPL_VAR NAME="intraneturl" -->/cgi-bin/koha/members/patronimage.pl?crdnum=<!-- TMPL_VAR NAME="cardnumber" -->" id="patronimage" alt="<!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)" border="0" style="max-width : 140px; margin: .3em 0 .3em .3em; padding: .2em; border: 1px solid #CCCCCC; width:auto !important; width:130px;" /></li>
98
<!-- TMPL_ELSE -->
99
<li><img src="http://<!-- TMPL_VAR NAME="intraneturl" -->/intranet-tmpl/prog/img/patron-blank.png" alt="<!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)" border="0" style="margin: .3em 0 .3em .3em; padding: .2em; border: 1px solid #CCCCCC;" /></li>
100
<!-- /TMPL_IF -->
101
</ol>
102
</fieldset>
103
<!-- /TMPL_IF -->
104
<!-- /TMPL_IF -->
105
90
<fieldset class="brief">
106
<fieldset class="brief">
91
<legend>Permanent Address</legend>
107
<legend>Permanent Address</legend>
92
<ol>
108
<ol>
(-)a/opac/opac-userupdate.pl (-1 / +6 lines)
Lines 174-177 $template->param( Link Here
174
    userupdateview => 1,
174
    userupdateview => 1,
175
);
175
);
176
176
177
if (C4::Context->preference('staffClientBaseURL')){
178
     $template->param( intraneturl => C4::Context->preference('staffClientBaseURL') );
179
     my ($picture, $dberror) = GetPatronImage($borr->{'cardnumber'});
180
     $template->param( picture => 1 ) if $picture;
181
}
182
177
output_html_with_http_headers $query, $cookie, $template->output;
183
output_html_with_http_headers $query, $cookie, $template->output;
178
- 

Return to bug 3516