3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog</title>
5 [% INCLUDE 'doc-head-close.inc' %]
6 [% BLOCK cssinclude %][% END %]
8 [% INCLUDE 'bodytag.inc' bodyid='opac-main' %]
9 [% INCLUDE 'masthead.inc' %]
12 <ul class="breadcrumb">
13 <li><a href="#">Home</a></li>
16 [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
17 [% IF ( loggedinusername ) %]
18 <div id="loggedin" class="container-fluid">
20 <div id="notloggedin" class="container-fluid">
23 <div id="notloggedin" class="container-fluid">
26 <div class="row-fluid">
27 [% IF ( OpacNav || OpacNavBottom ) %]
30 [% INCLUDE 'navigation.inc' %]
35 [% IF ( OpacNav || OpacNavBottom ) %]
40 [% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %]
41 <form id="news-branch-select" class="form-inline" name="news-branch-select" method="get" action="/cgi-bin/koha/opac-main.pl">
42 <label for="news-branch">Display news for: </label>
43 <select id="news-branch" name="branch">
44 [% IF ( branchcode == "" ) %]
45 <option value="" selected="selected">system-wide only</option>
47 <option value="" >system-wide only</option>
49 [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode, unfiltered => 1, ) %]
54 [% IF ( koha_news_count ) %]
56 <div id="news" class="newscontainer">
57 [% SET newsdisp = ( Koha.Preference('NewsAuthorDisplay') ) %]
58 [% FOREACH koha_new IN koha_news %]
59 <div class="newsitem">
60 <a name="newsitem[% koha_new.idnew %]"></a><h4 class="newsheader">[% koha_new.title %]</h4>
61 <div class="newsbody">[% koha_new.content %]</div>
62 <div class="newsfooter">(published on [% koha_new.newdate %][% IF ( (newsdisp == 'opac' || newsdisp == 'both') && koha_new.borrowernumber ) %] by <span class="newsauthor_title">[% koha_new.author_title %] </span>[% koha_new.author_firstname %] [% koha_new.author_surname %][% END %])</div>
66 <div id="rssnews-container">
67 <!-- Logged in users have a branch code or it could be explicitly set -->
68 <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-news-rss.pl?branchcode=[% branchcode %]"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png"></a>
69 [% IF Branches.all.size == 1 %]
70 RSS feed for [% IF ( branchcode ) %][% Branches.GetName( branchcode ) %][% END %] library news.
72 RSS feed for [% IF ( branchcode ) %][% Branches.GetName( branchcode ) %] <i>and</i> [% END %] system-wide library news.
76 [% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %]
77 <div id="news" class="newscontainer">
78 <div class="newsitem">
79 <div class="newsbody">No news to display.</div>
80 <div class="newsfooter"></div>
86 [% IF ( display_daily_quote && daily_quote ) %]
87 <div id="daily-quote">
88 <h3>Quote of the Day</h3>
90 <span id="daily-quote-text">[% daily_quote.text %]</span><span id="daily-quote-sep"> ~ </span><span id="daily-quote-source">[% daily_quote.source %]</span>
95 [% IF ( OpacMainUserBlock ) %]<div id="opacmainuserblock">[% OpacMainUserBlock %]</div>[% END %]
96 </div> <!-- / .span 7/9 -->
98 [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) || OpacNavRight ) %]
100 [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
101 [% UNLESS ( loggedinusername ) %]
102 [% UNLESS ( casAuthentication || shibbolethAuthentication ) %]
104 <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth">
105 <input type="hidden" name="koha_login_context" value="opac" />
106 <fieldset class="brief">
107 <legend>Log in to your account:</legend>
108 <label for="userid">Login:</label><input type="text" id="userid" name="userid" />
109 <label for="password">Password:</label><input type="password" id="password" name="password" />
110 <fieldset class="action">
111 <input type="submit" value="Log in" class="btn" />
113 [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]<div id="patronregistration"><p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p></div>[% END %]
115 [% IF Koha.Preference('OpacPasswordChange') && Koha.Preference('OpacResetPassword') %]
116 <div id="forgotpassword">
117 <a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a>
120 [% IF Koha.Preference( 'NoLoginInstructions' ) %]
121 <div id="nologininstructions-main">
122 [% Koha.Preference( 'NoLoginInstructions' ) %]
126 </div> <!-- /#login -->
127 [% END # /casAuthentication %]
128 [% END # / loggedinusername %]
129 [% END # /opacuserlogin %]
130 [% IF ( OpacNavRight ) %]
131 <div id="opacnavright">
134 [% END # /OpacNavRight %]
135 </div> <!-- / .span3 -->
136 [% END # /opacuserlogin || OpacNavRight %]
138 </div> <!-- /.container-fluid -->
139 </div> <!-- /.row-fluid -->
140 </div> <!-- /.main -->
142 [% INCLUDE 'opac-bottom.inc' %]
143 [% BLOCK jsinclude %][% END %]