if (C4::Context->preference("marcflavour") eq "UNIMARC" ) {
$template->param('UNIMARC' => 1);
}
-if (C4::Context->preference("IntranetNumbersPreferPhrase")) {
- $template->param('numbersphr' => 1);
-}
if($cgi->cookie("holdfor")){
my $holdfor_patron = Koha::Patrons->find( $cgi->cookie("holdfor") );
+[% USE Koha %]
<select class="advsearch" name="idx">
<option value="kw">Keyword</option>
<option value="kw,phr"> Keyword as phrase</option>
[% END %]
<option value="bc">Barcode</option>
<option value="location">Shelving location</option>
- [% IF (numbersphr) %]
+ [% IF ( Koha.Preference('IntranetNumbersPreferPhrase') ) %]
<option value="sn,phr">Standard number</option>
[% ELSE %]
<option value="sn">Standard number</option>
[% END %]
<option value="nb"> ISBN</option>
<option value="ns"> ISSN</option>
- [% IF (numbersphr) %]
+ [% IF ( Koha.Preference('IntranetNumbersPreferPhrase') ) %]
<option value="callnum,phr"> Call number</option>
[% ELSE %]
<option value="callnum"> Call number</option>