Merge commit 'biblibre/3.2_biblibre' into to-push
[koha_fer] / koha-tmpl / opac-tmpl / prog / en / modules / opac-main.tmpl
index 0e04d3e..d1c5b3a 100644 (file)
@@ -1,17 +1,30 @@
 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
-<!-- TMPL_VAR NAME="LibraryNameTitle" --> -- Library Catalog
+<!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
 </head>
-<body>
+<body id="opac-main">
+<!-- TMPL_IF NAME="OpacNav" --><div id="doc3" class="yui-t1"><!-- TMPL_ELSE --><div id="doc3" class="yui-t7"><!-- /TMPL_IF -->
+   <div id="bd">
 <!--TMPL_INCLUDE NAME="masthead.inc" -->
 
-<div id="doc3" class="yui-t1">
-   <div id="bd">
        <div id="yui-main">
-       <div class="yui-b"><div class="yui-ge">
-    <div class="yui-u first">
+
+       <div class="yui-b">
+               <!-- TMPL_IF NAME="opacuserlogin" -->
+           <!-- TMPL_IF NAME="loggedinusername" -->
+                       <div class="yui-g">
+                       <div>
+                       <!-- TMPL_ELSE -->
+               <div class="yui-ge">
+               <div class="yui-u first">
+    <!-- /TMPL_IF -->
+       <!-- TMPL_ELSE -->
+               <div class="yui-g">
+               <div>
+       <!-- /TMPL_IF -->
+       
        <!-- TMPL_IF name="koha_news_count" -->
-<div id="news">
+<div id="news" class="container">
     <table>
     <!-- TMPL_LOOP name="koha_news" -->
     <tr><th><!-- TMPL_VAR name="title" --></th></tr>
 </div>
 <!-- /TMPL_IF -->
 
-<!-- TMPL_IF NAME="languages" -->
-<div id="opac-main-changelanguage">
-    <h1>Change language</h1>
-    <form action="/cgi-bin/koha/changelanguage.pl" method="post">
-        <label for="selectlang">Set language to</label>
-        <select id="selectlang" name="language" onchange="javascript:submit();">
-            <!-- TMPL_LOOP NAME="languages" -->
-                <option value="<TMPL_VAR NAME="language">">
-                    <!-- TMPL_VAR NAME="language" -->
-                </option>
-            <!-- /TMPL_LOOP -->
-        </select>
-        <input type="submit" value="Change" />
-    </form>
-</div>
-<!-- /TMPL_IF -->
-
-<!-- TMPL_IF NAME="recentacquiloop"-->
-    <div class="searchresults">
-        <table>
-        <tr>
-            <th>Title</th>
-            <th>Author</th>
-            <th>copyright</th>
-            <th>publication year</th>
-            <th>Date</th>
-        </tr>
-        <!-- TMPL_LOOP NAME="recentacquiloop" -->
-        <tr>
-            <td><p>
-                    <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
-                    <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
-                    <!-- TMPL_IF NAME="title"-->
-                        <!-- TMPL_VAR NAME="title" -->
-                    <!-- TMPL_ELSE -->
-                        <span class="problem">(no title)</span>
-                    <!-- /TMPL_IF -->
-                    </a>
-                    <!-- TMPL_ELSE -->
-                    <!-- TMPL_IF name="BiblioDefaultViewisbd" -->
-                    <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
-                    <!-- TMPL_IF NAME="title"-->
-                        <!-- TMPL_VAR NAME="title" -->
-                    <!-- TMPL_ELSE -->
-                        <span class="problem">(no title)</span>
-                    <!-- /TMPL_IF -->
-                    </a>
-                    <!-- TMPL_ELSE -->
-                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
-                    <!-- TMPL_IF NAME="title"-->
-                        <!-- TMPL_VAR NAME="title" -->
-                    <!-- TMPL_ELSE -->
-                        <span class="problem">(no title)</span>
-                    <!-- /TMPL_IF -->
-                    </a>
-                    <!-- /TMPL_IF -->
-                    <!-- /TMPL_IF -->
-                </p></td>
-            <td><a href="/cgi-bin/koha/opac-search.pl?q=au:<!-- TMPL_VAR NAME="author" -->">
-                    <!-- TMPL_VAR NAME="author" -->
-                </a></td>
-            <td><!-- TMPL_VAR NAME="copyrightdate" --></td>
-            <td><!-- TMPL_VAR NAME="publicationyear" --></td>
-            <td><!-- TMPL_VAR NAME="timestamp" --></td>
-        </tr>
-        <!-- /TMPL_LOOP -->
-        </table>
-     </div>
-<!-- /TMPL_IF -->
+       <!-- TMPL_IF NAME="OpacMainUserBlock" --><div id="opacmainuserblock" class="container"><!-- TMPL_VAR NAME="OpacMainUserBlock" --></div><!-- /TMPL_IF -->
 
-           </div>
-    <div class="yui-u">
-       
+</div>
+               
        <!-- TMPL_IF NAME="opacuserlogin" -->
-<div id="login">
     <!-- TMPL_UNLESS NAME="loggedinusername" -->
+    <!-- TMPL_UNLESS NAME="casAuthentication" -->
+    <div class="yui-u">
+       <div id="login" class="container">
        <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth">
+    <input type="hidden" name="koha_login_context" value="opac" />
        <fieldset class="brief">
                <legend>Log in to Your Account:</legend>
                <ol>
                <li><label for="userid">Login:</label><input type="text" id="userid" size="10" name="userid" /></li>
                <li><label for="password">Password:</label><input type="password" id="password" size="10" name="password" /></li>
-               </ol></fieldset>
-        <fieldset class="action">
+               </ol>    <fieldset class="action">
         <input type="submit" value="Log In" class="submit" />
-        </fieldset>
-        </form>
+        </fieldset></fieldset>
+       </form>
+       </div>
+        </div>
     <!-- /TMPL_UNLESS -->
-</div>
+    <!-- /TMPL_UNLESS -->
+       
 <!-- /TMPL_IF -->
-           </div>
 </div>
 </div>
 </div>
-<div class="yui-b">
+<!-- TMPL_IF NAME="OpacNav" --><div class="yui-b">
+<div id="opacnav" class="container">
 <!--TMPL_INCLUDE NAME="navigation.inc" -->
 </div>
+</div><!-- /TMPL_IF -->
 </div>
 
 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->