Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Hide othernames on patron display if DisplayOtherNames is off.

  • Loading branch information...
commit 93b4ee69730c5bb0044f89c2c683a385279c7464 1 parent 74d6d7d
J. David Bavousett authored
View
3  koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl
@@ -156,7 +156,8 @@ if (nodename =="barcodes[]"){
<div class="yui-u first">
<div id="patron-information" style="padding : .5em;">
- <!-- TMPL_UNLESS NAME="I" --><!-- TMPL_IF NAME="othernames" -->&ldquo;<!-- TMPL_VAR NAME="othernames" -->&rdquo;<!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="showothernames" -->
+ <!-- TMPL_UNLESS NAME="I" --><!-- TMPL_IF NAME="othernames" -->&ldquo;<!-- TMPL_VAR NAME="othernames" -->&rdquo;<!-- /TMPL_IF --><!-- /TMPL_IF -->
<p class="address"><!-- TMPL_VAR NAME="streetnumber" -->
<!--TMPL_IF NAME="roaddetails"-->
View
1  members/moremember.pl
@@ -434,5 +434,6 @@ BEGIN
);
$template->param("showinitials" => C4::Context->preference('DisplayInitials'));
+$template->param("showothernames" => C4::Context->preference('DisplayOthernames'));
output_html_with_http_headers $input, $cookie, $template->output;
Please sign in to comment.
Something went wrong with that request. Please try again.