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

(-)a/koha-tmpl/opac-tmpl/prog/en/css/opac.css (-1 / +24 lines)
Lines 661-666 input.deleteshelf:active { Link Here
661
	background-color : #F8F8EB;
661
	background-color : #F8F8EB;
662
}
662
}
663
663
664
/* the shelving location list in advanced search */
665
#advsearch-shelvingloc table {
666
	border-collapse : separate;
667
	border-spacing : 3px;
668
	border : 0px;
669
	margin : 0px;
670
	background-color : white;
671
	border : 0px solid #D8DEB8;
672
}
673
674
#advsearch-shelvingloc table tr td {
675
	background-color : #F8F8EB;
676
	border : 0px;
677
	margin : 0px;
678
	width : 700px;
679
}
680
681
#advsearch-shelvingloc td {
682
	font-size : 0.8em;
683
	background-color : #F8F8EB;
684
}
685
686
664
body#advsearch #breadcrumbs {
687
body#advsearch #breadcrumbs {
665
	line-height : 1px;
688
	line-height : 1px;
666
	height : 1px;
689
	height : 1px;
Lines 2005-2008 div.ft { Link Here
2005
2028
2006
#plainmarc table { border: 0; margin: .7em 0 0 0; font-family: monospace; font-size: 95%; }
2029
#plainmarc table { border: 0; margin: .7em 0 0 0; font-family: monospace; font-size: 95%; }
2007
#plainmarc th { background-color : #FFF; border: 0; white-space: nowrap; text-align:left; vertical-align: top; padding: 2px; }
2030
#plainmarc th { background-color : #FFF; border: 0; white-space: nowrap; text-align:left; vertical-align: top; padding: 2px; }
2008
#plainmarc td { border: 0; padding : 2px; vertical-align: top; }
2031
#plainmarc td { border: 0; padding : 2px; vertical-align: top; }
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tmpl (+14 lines)
Lines 158-163 Link Here
158
                </select></p><!-- <a href="">Show all languages</a>-->
158
                </select></p><!-- <a href="">Show all languages</a>-->
159
    <!-- /LANGUAGE LIMIT -->
159
    <!-- /LANGUAGE LIMIT -->
160
    </fieldset>
160
    </fieldset>
161
    <div id="advsearch-shelvingloc" class="container">
162
	<fieldset>
163
    <legend>Limit to any of the following shelving locations:</legend>
164
    <table>
165
        <tr>
166
      <!--TMPL_LOOP Name="shelvinglocsloop"-->
167
        <td><input type="checkbox" id="<!-- TMPL_VAR NAME="ccl" -->-<!--TMPL_VAR Name="number" -->" name="limit" value="mc-<!-- TMPL_VAR NAME="ccl" -->:<!--TMPL_VAR Name="code" -->"/><label for="<!-- TMPL_VAR NAME="ccl" -->-<!--TMPL_VAR Name="number" -->">
168
        <!--TMPL_VAR Name="description" --></label></td>
169
        <!-- TMPL_UNLESS name="count5" --><!-- TMPL_UNLESS name="__last__" --></tr><tr><!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS -->
170
      <!--/TMPL_LOOP-->
171
		</tr>
172
    </table>
173
	</fieldset>
174
    </div>
161
<!-- TMPL_IF NAME="expanded_options" -->
175
<!-- TMPL_IF NAME="expanded_options" -->
162
    <!--TMPL_IF Name="usmarc"-->
176
    <!--TMPL_IF Name="usmarc"-->
163
        <!-- SUBTYPE LIMITS -->
177
        <!-- SUBTYPE LIMITS -->
(-)a/opac/opac-search.pl (-1 / +18 lines)
Lines 150-155 $template->param( Link Here
150
my $languages_limit_loop = getAllLanguages();
150
my $languages_limit_loop = getAllLanguages();
151
$template->param(search_languages_loop => $languages_limit_loop,);
151
$template->param(search_languages_loop => $languages_limit_loop,);
152
152
153
# add support for searching by shelving location
154
my @shelvinglocsloop;
155
my $selected=1;
156
my $cnt2;
157
my $shelflocations =GetAuthorisedValues("LOC");
158
for my $thisloc (sort {$a->{'lib_opac'} cmp $b->{'lib_opac'}} @$shelflocations) {
159
    my %row =(
160
                number => $cnt2++,
161
                ccl => 'loc',
162
                code => $thisloc->{authorised_value},
163
                selected => $selected,
164
                description => $thisloc->{'lib_opac'},
165
                count5 => $cnt2 % 4,
166
              );
167
    $selected = 0; # set to zero after first pass through
168
    push @shelvinglocsloop, \%row;
169
}
170
$template->param(shelvinglocsloop => \@shelvinglocsloop);
153
# load the Type stuff
171
# load the Type stuff
154
my $itemtypes = GetItemTypes;
172
my $itemtypes = GetItemTypes;
155
# the index parameter is different for item-level itemtypes
173
# the index parameter is different for item-level itemtypes
156
- 

Return to bug 4329