4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog</title>
6 [% INCLUDE 'doc-head-close.inc' %]
7 [% BLOCK cssinclude %][% END %]
9 [% INCLUDE 'bodytag.inc' bodyid='opac-main' %]
10 [% INCLUDE 'masthead.inc' %]
13 <ul class="breadcrumb">
14 <li><a href="#">Home</a></li>
17 [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
18 [% IF ( loggedinusername ) %]
19 <div id="loggedin" class="container-fluid">
21 <div id="notloggedin" class="container-fluid">
24 <div id="notloggedin" class="container-fluid">
27 <div class="row-fluid">
28 [% IF ( OpacNav || OpacNavBottom ) %]
31 [% INCLUDE 'navigation.inc' %]
36 [% IF ( OpacNav || OpacNavBottom ) %]
41 [% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %]
42 <form id="news-branch-select" class="form-inline" name="news-branch-select" method="get" action="/cgi-bin/koha/opac-main.pl">
43 <label for="news-branch">Display news for: </label>
44 <select id="news-branch" name="branch">
45 [% IF ( branchcode == "" ) %]
46 <option value="" selected="selected">system-wide only</option>
48 <option value="" >system-wide only</option>
50 [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode, unfiltered => 1, ) %]
55 [% IF ( koha_news_count ) %]
57 <div id="news" class="newscontainer">
58 [% SET newsdisp = ( Koha.Preference('NewsAuthorDisplay') ) %]
59 [% FOREACH koha_new IN koha_news %]
60 <div class="newsitem">
61 <a name="newsitem[% koha_new.idnew %]"></a><h4 class="newsheader">[% koha_new.title %]</h4>
62 <div class="newsbody">[% koha_new.content %]</div>
63 <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>
67 <div id="rssnews-container">
68 <!-- Logged in users have a branch code or it could be explicitly set -->
69 <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-news-rss.pl?branchcode=[% branchcode %]"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png"></a>
70 [% IF Branches.all.size == 1 %]
72 RSS feed for [% Branches.GetName( branchcode ) %] library news.
74 RSS feed for library news.
78 RSS feed for [% Branches.GetName( branchcode ) %] and system-wide library news.
80 RSS feed for system-wide library news.
85 [% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %]
86 <div id="news" class="newscontainer">
87 <div class="newsitem">
88 <div class="newsbody">No news to display.</div>
89 <div class="newsfooter"></div>
95 [% IF ( display_daily_quote && daily_quote ) %]
96 <div id="daily-quote">
97 <h3>Quote of the Day</h3>
99 <span id="daily-quote-text">[% daily_quote.text %]</span><span id="daily-quote-sep"> ~ </span><span id="daily-quote-source">[% daily_quote.source %]</span>
104 [% IF ( OpacMainUserBlock ) %]<div id="opacmainuserblock">[% OpacMainUserBlock %]</div>[% END %]
105 </div> <!-- / .span 7/9 -->
107 [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) || OpacNavRight ) %]
109 [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
110 [% UNLESS ( loggedinusername ) %]
111 [% UNLESS ( casAuthentication || shibbolethAuthentication ) %]
113 <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth">
114 <input type="hidden" name="koha_login_context" value="opac" />
115 <fieldset class="brief">
116 <legend>Log in to your account:</legend>
117 <label for="userid">Login:</label><input type="text" id="userid" name="userid" />
118 <label for="password">Password:</label><input type="password" id="password" name="password" />
119 <fieldset class="action">
120 <input type="submit" value="Log in" class="btn" />
122 [% 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 %]
124 [% IF Koha.Preference('OpacPasswordChange') && Koha.Preference('OpacResetPassword') %]
125 <div id="forgotpassword">
126 <a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a>
129 [% IF Koha.Preference( 'NoLoginInstructions' ) %]
130 <div id="nologininstructions-main">
131 [% Koha.Preference( 'NoLoginInstructions' ) %]
135 </div> <!-- /#login -->
136 [% END # /casAuthentication %]
138 [% IF Koha.Preference('OPACUserSummary') %]
139 <div id="user_summary">
140 <h3>Welcome, <a href="/cgi-bin/koha/opac-user.pl"><span class="loggedinusername">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</span></a></h3>
141 <ul id="user_summary_shortcuts">
142 [% IF checkouts && checkouts > 0 %]
143 <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-checkouts"><span class="user_checkouts_count count_label">[% checkouts %]</span> Checkout(s)</a></li>
145 [% IF overdues && overdues > 0 %]
146 <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-overdues"><span class="user_overdues_count count_label">[% overdues %]</span> Overdue(s)</a></li>
148 [% IF holds_pending && holds_pending > 0 %]
149 <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-holds"><span class="user_holds_pending_count count_label">[% holds_pending %]</span> Hold(s) pending</a></li>
151 [% IF holds_waiting && holds_waiting > 0 %]
152 <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-holds"><span class="user_holds_waiting_count count_label">[% holds_waiting %]</span> Hold(s) waiting</a></li>
154 [% IF total_owing && total_owing > 0 %]
155 <li><a href="/cgi-bin/koha/opac-account.pl"><span class="user_fines_count count_label">[% total_owing | $Price with_symbol => 1 %]</span> Due</a></li>
160 [% END # /loggedinusername %]
161 [% END # /opacuserlogin %]
162 [% IF ( OpacNavRight ) %]
163 <div id="opacnavright">
166 [% END # /OpacNavRight %]
167 </div> <!-- / .span3 -->
168 [% END # /opacuserlogin || OpacNavRight %]
170 </div> <!-- /.container-fluid -->
171 </div> <!-- /.row-fluid -->
172 </div> <!-- /.main -->
174 [% INCLUDE 'opac-bottom.inc' %]
175 [% BLOCK jsinclude %][% END %]