b7a14de6cb7384084a1ebcf9b71caa4e91b8aa73
[koha-ffzg.git] / koha-tmpl / intranet-tmpl / default / en / includes / auth-top.inc
1 <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
2
3 <html>
4 <head>
5 <title>KOHA: INTRANET: Authorities</title>
6 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
7
8 <script language="JavaScript">
9 <!-- Hide from old browsers
10 function openWindow(targeturl, windowname) {
11 newwin =
12 window.open(targeturl,windowname,"height=480,width=640,scrollbars,resizable")
13 }
14 // end hiding -->
15 </script>
16
17 <script>
18 function Help() {
19         newin=window.open("/cgi-bin/koha/help.pl","Koha Help",'width=600,height=600,toolbar=false,scrollbars=yes');
20 }
21
22 function addauthority() {
23         X = document.forms[0].authtype.value;
24         window.location="/cgi-bin/koha/authorities/authorities.pl?authtypecode="+X;
25 }
26 </script>
27
28 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/includes/common-style.css">
29 <style>
30 .authority {
31         background-color: #6b7cbe;
32         color:#FFFFFF;
33         text-decoration: normal;
34         font-weight: bold;
35         background-image:none;
36         }
37 a.authority:hover {
38         background-color: #6b7cbe;
39         color: #FFFFFF;
40         text-decoration: normal;
41         font-weight: bold;
42         }
43 </style>
44 </head>
45 <body>
46 <!------------------------MENUS-------------------------------->
47 <form>
48 <div id="menubar">
49         <span class="koha">KOHA</span>
50         <a class="home" href="/cgi-bin/koha/mainpage.pl">Home</a>
51         <a class="catalogue" href="/cgi-bin/koha/loadmodules.pl?module=search&type=intranet">Catalogue</a>
52         <a class="members" href="/cgi-bin/koha/members/members-home.pl">Members</a>
53         <a class="acquisition" href="/cgi-bin/koha/loadmodules.pl?module=acquisitions">Acquisitions</a>
54         <a class="circulation"  href="/cgi-bin/koha/circ/circulation.pl">Circulation</a>
55         <a class="authority" href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a>
56         <a class="reports" href="/cgi-bin/koha/reports-home.pl">Reports</a>
57         <a class="parameters" href="/cgi-bin/koha/admin-home.pl">Parameters</a>
58         <a class="about" href="/cgi-bin/koha/about.pl">About</a>
59         <a class="catalogue" href="javascript:Help()">Help</a>
60 </div>
61 <div id="submenu">
62         <span class="koha">options &gt;&gt;&nbsp;&nbsp;</span>
63         <select name="authtype">
64                 <!-- TMPL_LOOP name="authtypesloop" -->
65                         <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->>
66                                 <!-- TMPL_VAR name="authtypetext" -->
67                         </option>
68                 <!-- /TMPL_LOOP -->
69         </select>
70         <a href="javascript:addauthority()" class="submenu2">
71                 Add authority</a>
72 </div>
73 </form>
74 <!-- TMPL_IF NAME="loggedinusername" -->
75     <p align=left>Logged in as: <!-- TMPL_VAR NAME="loggedinusername" --> [<a href=/cgi-bin/koha/mainpage.pl?logout.x=1>Log Out</a>]</p>
76 <!-- TMPL_ELSE -->
77     <p align=left><a href=/cgi-bin/koha/opac-user.pl>Log In</a> to Koha</p>
78 <!-- /TMPL_IF -->
79 <a href="
80 javascript:(
81   function(){
82      var newSS;
83      newSS=document.getElementById('codepoetry-debug-stylesheet');
84      if(newSS){
85         newSS.href=null;
86         document.documentElement.childNodes[0].removeChild(newSS);
87       } else {
88         newSS=document.createElement('link');
89         newSS.rel='stylesheet';
90         newSS.type='text/css';
91         newSS.href='http://www.codepoetry.net/stuff/css-debug-2.css';
92         newSS.id='codepoetry-debug-stylesheet';
93         document.documentElement.childNodes[0].appendChild(newSS);
94       }
95    }
96 )()">TOGGLE CSS</a>