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 ) %]
41 [% IF ( koha_news_count ) %]
42 <div id="news" class="newscontainer">
43 [% SET newsdisp = ( Koha.Preference('NewsAuthorDisplay') ) %]
44 [% FOREACH koha_new IN koha_news %]
45 <div class="newsitem">
46 <a name="newsitem[% koha_new.idnew %]"></a><h4 class="newsheader">[% koha_new.title %]</h4>
47 <div class="newsbody">[% koha_new.new %]</div>
48 <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>
52 <div id="rssnews-container">
53 <!-- Logged in users have a branch code or it could be explicitly set -->
54 <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-news-rss.pl?branchcode=[% branchcode %]"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png"></a>
55 [% IF Branches.all.size == 1 %]
57 RSS feed for [% Branches.GetName( branchcode ) %] library news.
59 RSS feed for library news.
63 RSS feed for [% Branches.GetName( branchcode ) %] and system-wide library news.
65 RSS feed for system-wide library news.
71 [% IF ( display_daily_quote && daily_quote ) %]
72 <div id="daily-quote">
73 <h3>Quote of the Day</h3>
75 <span id="daily-quote-text">[% daily_quote.text %]</span><span id="daily-quote-sep"> ~ </span><span id="daily-quote-source">[% daily_quote.source %]</span>
80 [% IF ( OpacMainUserBlock ) %]<div id="opacmainuserblock">[% OpacMainUserBlock %]</div>[% END %]
81 </div> <!-- / .span 7/9 -->
83 [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) || OpacNavRight ) %]
85 [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
86 [% UNLESS ( loggedinusername ) %]
87 [% UNLESS ( casAuthentication || shibbolethAuthentication ) %]
89 <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth" autocomplete="off">
90 <input type="hidden" name="koha_login_context" value="opac" />
91 <fieldset class="brief">
92 <legend>Log in to your account:</legend>
93 <label for="userid">Login:</label><input type="text" id="userid" name="userid" />
94 <label for="password">Password:</label><input type="password" id="password" name="password" />
95 <fieldset class="action">
96 <input type="submit" value="Log in" class="btn" />
98 [% 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 %]
100 [% IF Koha.Preference('OpacPasswordChange') && Koha.Preference('OpacResetPassword') %]
101 <div id="forgotpassword">
102 <a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a>
105 [% IF Koha.Preference( 'NoLoginInstructions' ) %]
106 <div id="nologininstructions-main">
107 [% Koha.Preference( 'NoLoginInstructions' ) %]
111 </div> <!-- /#login -->
112 [% END # /casAuthentication %]
114 <a href="#" class="persona-button" id="browserid" ><span>Sign in with your email</span></a>
116 [% END # / loggedinusername %]
117 [% END # /opacuserlogin %]
118 [% IF ( OpacNavRight ) %]
119 <div id="opacnavright">
122 [% END # /OpacNavRight %]
123 </div> <!-- / .span3 -->
124 [% END # /opacuserlogin || OpacNavRight %]
126 </div> <!-- /.container-fluid -->
127 </div> <!-- /.row-fluid -->
128 </div> <!-- /.main -->
130 [% INCLUDE 'opac-bottom.inc' %]
131 [% BLOCK jsinclude %][% END %]