MT 2050, Follow-up, Fast Cataloging
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / intranet-main.tmpl
index e112b1b..1751075 100644 (file)
@@ -1,35 +1,99 @@
 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
 <title>Koha staff client</title>
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<style type="text/css"> #koha-news { border: 1px solid #EEEEEE; margin: .2em;} #koha-news h3 {background-color: #EEEEEE; padding : .3em; margin: 0;} .newsitem {margin: .3em; border-bottom: 1px solid #EEE;} .newsitem:last-child {border-bottom : 0;} .newsfooter {font-size: 80%; color: #CCCCCC;} </style>
+</head>
+<body>
 <!-- TMPL_INCLUDE NAME="header.inc" -->
+<!-- TMPL_IF NAME="koha_news_count" --><div id="doc3" class="yui-t3"><!-- TMPL_ELSE --><div id="doc3" class="yui-t7"><!-- /TMPL_IF -->
+<div id="bd">
+<!-- TMPL_IF NAME="koha_news_count" --><div id="yui-main"><div class="yui-b"><div class="yui-g">
+<!-- TMPL_ELSE -->     <div class="yui-g"><!-- /TMPL_IF -->
 
-<div id="doc3" class="yui-t2">
-   
-   <div id="bd">
-       <div id="yui-main">
-       <div class="yui-b"><div class="yui-g">
+       <div class="yui-u first">
+       <!-- TMPL_IF NAME="CAN_user_circulate" -->
+       <h3><a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a></h3>
+       <ul><li>
+       <form method="post" action="/cgi-bin/koha/circ/circulation.pl">
+        <label for="navfindborrower">Check out to:</label>
+            <input accesskey="u" id="navfindborrower" name="findborrower" type="text" size="10" />
+            <input type="hidden" name="branch" value="<!-- TMPL_VAR name="branch" -->" />
+            <input type="hidden" name="printer" value="<!-- TMPL_VAR name="printer" -->" />
+            <input type="submit" class="submit" value="OK" />
+       </form>
+       </li>
+       <li><a accesskey="r" href="/cgi-bin/koha/circ/returns.pl">Check in</a></li>
+        <li><a href="/cgi-bin/koha/circ/branchtransfers.pl">Transfers</a></li></ul>
+       <!-- /TMPL_IF -->
+       <!-- TMPL_IF NAME="CAN_user_borrowers" -->
+               <h3><a href="/cgi-bin/koha/members/members-home.pl">Patrons</a></h3>
+               <ul>
+        <li><form action="/cgi-bin/koha/members/member.pl" method="post">
+           <label for="navmember">Search:&nbsp;</label>
+           <input id="navmember" type="text" size="10" name="member" />
+           <input type="submit" value="OK" class="submit" />
+            </form>
+        </li>
+    </ul>
+       <!-- /TMPL_IF -->
+       <!-- TMPL_IF NAME="CAN_user_catalogue" -->
+                <h3><a href="/cgi-bin/koha/catalogue/search.pl">Search</a></h3>
+                               <ul>
+                    <li>
+                        <form name="searchform" method="get" action="/cgi-bin/koha/catalogue/search.pl" id="searchform">
+                        <input type="hidden" name="idx" value="" />
+                        <label for="navkeyword">
+                            Search catalog:&nbsp;
+                        </label><input type="text" id="navkeyword" name="q" size="10" accesskey="q" />
+                        <input type="submit" value=" OK " class="submit" />
+                        </form>
+                     </li>
+                               </ul>
+   <!-- /TMPL_IF -->
+                <h3><a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a></h3>
+       </div>
        
-    <h1>Welcome to Koha</h1>
-    
-        <!-- TMPL_IF name="koha_news_count" -->
-            <p><!-- TMPL_VAR name="koha_news_count" --> recent news item(s)</p>
-            <table>
+       <div class="yui-u">
+    <!-- TMPL_IF NAME="CAN_user_editcatalogue_edit_catalogue" -->
+    <h3><a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a></h3>
+       <ul>
+        <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl">Add MARC Record</a></li>
+        <li><a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a></li>
+    </ul>
+    <!-- /TMPL_IF -->
+    <!-- TMPL_IF NAME="CAN_user_serials" -->
+    <h3><a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a></h3>
+    <!-- /TMPL_IF -->
+       <!-- TMPL_IF NAME="CAN_user_acquisition" --> <h3><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a></h3> <!-- /TMPL_IF -->
+    <!-- TMPL_IF NAME="CAN_user_reports"     --> <h3><a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> </h3> <!-- /TMPL_IF -->
+    <!-- TMPL_IF NAME="CAN_user_parameters" --> <h3> <a href="/cgi-bin/koha/admin/admin-home.pl">Koha administration</a></h3>
+               <ul>
+            <li><a href="/cgi-bin/koha/admin/systempreferences.pl">System preferences</a></li>
+        </ul>
+    <!-- /TMPL_IF -->
+    <!-- TMPL_IF NAME="CAN_user_tools" --> <h3><a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a></h3> <!-- /TMPL_IF -->
+    <h3><a href="/cgi-bin/koha/about.pl">About Koha</a></h3>
+       </div>
+       </div>
+               <!-- TMPL_IF NAME="IntranetmainUserblock" --><div id="mainuserblock" class="yui-g">
+                       <!-- TMPL_VAR NAME="IntranetmainUserblock" -->
+                       </div><!-- TMPL_ELSE -->&nbsp;
+               <!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="koha_news_count" -->
+       </div><!-- /yui-bd -->
+       </div><!-- /yui-main -->
+       <div class="yui-b">
+               <div id="koha-news">
+            <h3>News</h3>
             <!-- TMPL_LOOP name="koha_news" -->
-                <tr>
-                <th>
-                    on <!-- TMPL_VAR name="newdate" -->, <!-- TMPL_VAR name="title" -->
-                </th>
-                               </tr>
-                <tr><td>
-                    <p><!-- TMPL_VAR name="new" --></p>
-                </td></tr>
+                    <div class="newsitem" id="news<!-- TMPL_VAR NAME="idnew" -->"><h4><!-- TMPL_VAR name="title" --></h4>
+                                        <p><!-- TMPL_VAR name="new" --></p>
+                                       <p class="newsfooter"> Posted on <!-- TMPL_VAR name="newdate" --> <!-- TMPL_IF NAME="CAN_user_tools" -->
+    <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&amp;id=<!-- TMPL_VAR NAME="idnew" -->">Edit</a> | <a href="/cgi-bin/koha/tools/koha-news.pl?op=del&amp;ids=<!-- TMPL_VAR NAME="idnew" -->">Delete</a> | <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form">New</a><!-- /TMPL_IF --></p></div>
             <!-- /TMPL_LOOP -->
-            </table>
-        <!-- /TMPL_IF -->
-
-</div>
-</div>
+               </div><!-- /koha-news -->
+       </div>
+<!-- /TMPL_IF -->
+       
 </div>
-
-<!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->