Lines 39-44
Link Here
|
39 |
[% END %] |
39 |
[% END %] |
40 |
|
40 |
|
41 |
[% IF ( koha_news_count ) %] |
41 |
[% IF ( koha_news_count ) %] |
|
|
42 |
[% IF Koha.Preference( 'OpacNewsBranchSelect' ) == 1 %] |
43 |
<form id="news-branch-select" class="form-inline" name="news-branch-select" method="get" action="/cgi-bin/koha/opac-main.pl"> |
44 |
<select id="news-branch" name="branch"> |
45 |
<option value="" selected="selected">See news for...</option> |
46 |
[% FOREACH BranchesLoo IN Branches.all %] |
47 |
<option value="[% BranchesLoo.branchcode %]">[% BranchesLoo.branchname %]</option> |
48 |
[% END %] |
49 |
</select> |
50 |
<button id="news-branch-submit" class="btn btn-link" type="submit">Change library</button> |
51 |
</form> |
52 |
[% END %] |
53 |
|
42 |
<div id="news" class="newscontainer"> |
54 |
<div id="news" class="newscontainer"> |
43 |
[% SET newsdisp = ( Koha.Preference('NewsAuthorDisplay') ) %] |
55 |
[% SET newsdisp = ( Koha.Preference('NewsAuthorDisplay') ) %] |
44 |
[% FOREACH koha_new IN koha_news %] |
56 |
[% FOREACH koha_new IN koha_news %] |
45 |
- |
|
|