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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt (-12 / +53 lines)
Lines 34-51 Link Here
34
      [% INCLUDE 'serials-toolbar.inc' %]
34
      [% INCLUDE 'serials-toolbar.inc' %]
35
35
36
      <h2>Serials subscriptions</h2>
36
      <h2>Serials subscriptions</h2>
37
37
      [% UNLESS ( done_searched ) %]
38
      <div id="advsearch">
38
      <div id="advsearch">
39
        <form action="/cgi-bin/koha/serials/serials-search.pl" method="get">
39
        <form action="/cgi-bin/koha/serials/serials-search.pl" method="get">
40
          <fieldset class="rows">
40
          <fieldset class="rows">
41
          <legend onclick="$('#advsearch_form').slideToggle(400);">
41
          <legend>Search subscriptions</legend>
42
              <a id="unfold_advsearch" style="cursor:pointer">Search subscriptions</a>
43
          </legend>
44
            [% IF ( done_searched ) %]
45
              <div id="advsearch_form" style="display:none">
46
            [% ELSE %]
47
              <div>
48
            [% END %]
49
              <ol>
42
              <ol>
50
                <li>
43
                <li>
51
                  <label for="issn">ISSN:</label>
44
                  <label for="issn">ISSN:</label>
Lines 87-97 Link Here
87
              <fieldset class="action">
80
              <fieldset class="action">
88
                <input type="submit" value="Search" />
81
                <input type="submit" value="Search" />
89
              </fieldset>
82
              </fieldset>
90
            </div>
91
          </fieldset>
83
          </fieldset>
92
        </form>
84
        </form>
93
      </div>
85
      </div>
94
86
      [% END %]
95
      [% IF ( done_searched ) %]
87
      [% IF ( done_searched ) %]
96
        [% IF ( subscriptions ) %]
88
        [% IF ( subscriptions ) %]
97
          <table id="srlt">
89
          <table id="srlt">
Lines 180-185 Link Here
180
172
181
  <div class="yui-b">
173
  <div class="yui-b">
182
    [% INCLUDE 'serials-menu.inc' %]
174
    [% INCLUDE 'serials-menu.inc' %]
175
    [% IF ( done_searched ) %]
176
    <div id="advsearch">
177
        <form action="/cgi-bin/koha/serials/serials-search.pl" method="get">
178
          <fieldset class="brief">
179
            <h4>Search subscriptions</h4>
180
              <ol>
181
                <li>
182
                  <label for="issn">ISSN:</label>
183
                  <input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter %]" />
184
                </li>
185
                <li>
186
                  <label for="title">Title:</label>
187
                  <input type="text" id="title" name="title_filter" value="[% title_filter %]" />
188
                </li>
189
                [% IF ( marcflavour == "UNIMARC" ) %]
190
                <li>
191
                  <label for="ean">EAN:</label>
192
                  <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter %]" />
193
                </li>
194
                [% END %]
195
                <li>
196
                  <label for="publisher">Publisher:</label>
197
                  <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter %]" />
198
                </li>
199
                <li>
200
                  <label for="bookseller">Bookseller:</label>
201
                  <input type="text" id="bookseller" name="bookseller_filter" value="[% bookseller_filter %]" />
202
                </li>
203
                <li>
204
                  <label for="branch">Branch:</label>
205
                  <select id="branch" name="branch_filter">
206
                    <option value="">All</option>
207
                    [% FOREACH branch IN branches_loop %]
208
                      [% IF ( branch.selected ) %]
209
                        <option selected="selected" value="[% branch.branchcode %]">[% branch.branchname %]</option>
210
                      [% ELSE %]
211
                        <option value="[% branch.branchcode %]">[% branch.branchname %]</option>
212
                      [% END %]
213
                    [% END %]
214
                  </select>
215
                </li>
216
              </ol>
217
              <input type="hidden" name="searched" value="1" />
218
              <fieldset class="action">
219
                <input type="submit" value="Search" />
220
              </fieldset>
221
            </div>
222
          </fieldset>
223
        </form>
224
      [% END %]
183
  </div>
225
  </div>
184
</div>
226
</div>
185
[% INCLUDE 'intranet-bottom.inc' %]
227
[% INCLUDE 'intranet-bottom.inc' %]
186
- 

Return to bug 8851