</div>
<div class="yui-u">
<!-- TMPL_IF NAME="intraneturl" -->
<!-- TMPL_IF NAME="patronimages" -->
<fieldset class="brief">
<legend>Patron Photo</legend>
<ol>
<!-- TMPL_IF NAME="picture" -->
<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>
<!-- TMPL_ELSE -->
<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>
<!-- /TMPL_IF -->
</ol>
</fieldset>
<legend>Permanent Address</legend>
userupdateview => 1,
);
if (C4::Context->preference('staffClientBaseURL')){
$template->param( intraneturl => C4::Context->preference('staffClientBaseURL') );
my ($picture, $dberror) = GetPatronImage($borr->{'cardnumber'});
$template->param( picture => 1 ) if $picture;
}
output_html_with_http_headers $query, $cookie, $template->output;
-