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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt (+7 lines)
Lines 24-29 Link Here
24
    [% END %]
24
    [% END %]
25
25
26
    <div class="row-fluid">
26
    <div class="row-fluid">
27
	[% IF Koha.Preference( 'opacnewsbranchselect' ) == 1 %]
28
	<ul>
29
        [% FOREACH branch IN branches %]
30
        <li><a href="?branchcode=[% branch.branchcode %]">[% branch.branchname %]</a></li>
31
        [% END %]
32
	</ul>
33
	[% END %]
27
    [% IF ( OpacNav ||  OpacNavBottom ) %]
34
    [% IF ( OpacNav ||  OpacNavBottom ) %]
28
        <div class="span2">
35
        <div class="span2">
29
            <div id="navigation">
36
            <div id="navigation">
(-)a/opac/opac-main.pl (-1 / +2 lines)
Lines 25-30 use C4::Output; Link Here
25
use C4::NewsChannels;    # GetNewsToDisplay
25
use C4::NewsChannels;    # GetNewsToDisplay
26
use C4::Languages qw(getTranslatedLanguages accept_language);
26
use C4::Languages qw(getTranslatedLanguages accept_language);
27
use C4::Koha qw( GetDailyQuote );
27
use C4::Koha qw( GetDailyQuote );
28
use C4::Branch qw( GetBranchesLoop );
28
29
29
my $input = new CGI;
30
my $input = new CGI;
30
my $dbh   = C4::Context->dbh;
31
my $dbh   = C4::Context->dbh;
Lines 64-69 $template->param( Link Here
64
    koha_news_count     => $koha_news_count,
65
    koha_news_count     => $koha_news_count,
65
    display_daily_quote => C4::Context->preference('QuoteOfTheDay'),
66
    display_daily_quote => C4::Context->preference('QuoteOfTheDay'),
66
    daily_quote         => $quote,
67
    daily_quote         => $quote,
68
    branches            => &GetBranchesLoop($homebranch),
67
);
69
);
68
70
69
# If GoogleIndicTransliteration system preference is On Set paramter to load Google's javascript in OPAC search screens
71
# If GoogleIndicTransliteration system preference is On Set paramter to load Google's javascript in OPAC search screens
70
- 

Return to bug 14764