Minor changes to correct for validity
[koha.git] / koha-tmpl / intranet-tmpl / default / en / includes / auth-top.inc
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 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 language="JavaScript" type="text/javascript">
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 type="text/css">
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
46 <body>
47 <!-- MENUS -->
48 <form>
49 <div id="menubar">
50         <span class="koha">KOHA</span>
51         <a class="home" href="/cgi-bin/koha/mainpage.pl">Home</a>
52         <a class="catalogue" href="/cgi-bin/koha/loadmodules.pl?module=search&amp;type=intranet">Catalogue</a>
53         <a class="members" href="/cgi-bin/koha/members/members-home.pl">Members</a>
54         <a class="acquisition" href="/cgi-bin/koha/loadmodules.pl?module=acquisitions">Acquisitions</a>
55         <a class="circulation"  href="/cgi-bin/koha/circ/circulation.pl">Circulation</a>
56         <a class="authority" href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a>
57         <a class="reports" href="/cgi-bin/koha/reports-home.pl">Reports</a>
58         <a class="parameters" href="/cgi-bin/koha/admin-home.pl">Parameters</a>
59         <a class="about" href="/cgi-bin/koha/about.pl">About</a>
60         <a class="catalogue" href="javascript:Help()">Help</a>
61 </div>
62 <div id="submenu">
63         <span class="koha">options &gt;&gt;&nbsp;&nbsp;</span>
64         <select name="authtype">
65                 <!-- TMPL_LOOP name="authtypesloop" -->
66                         <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->>
67                                 <!-- TMPL_VAR name="authtypetext" -->
68                         </option>
69                 <!-- /TMPL_LOOP -->
70         </select>
71         <a href="javascript:addauthority()" class="submenu2">
72                 Add authority</a>
73 </div>
74 </form>
75 <!-- TMPL_IF NAME="loggedinusername" -->
76     <p align="left">Logged in as: <!-- TMPL_VAR NAME="loggedinusername" --> [<a href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log Out</a>]</p>
77 <!-- TMPL_ELSE -->
78     <p align="left"><a href="/cgi-bin/koha/opac-user.pl">Log In</a> to Koha</p>
79 <!-- /TMPL_IF -->
80 <a href="
81 javascript:(
82   function(){
83      var newSS;
84      newSS=document.getElementById('codepoetry-debug-stylesheet');
85      if(newSS){
86         newSS.href=null;
87         document.documentElement.childNodes[0].removeChild(newSS);
88       } else {
89         newSS=document.createElement('link');
90         newSS.rel='stylesheet';
91         newSS.type='text/css';
92         newSS.href='http://www.codepoetry.net/stuff/css-debug-2.css';
93         newSS.id='codepoetry-debug-stylesheet';
94         document.documentElement.childNodes[0].appendChild(newSS);
95       }
96    }
97 )()">TOGGLE CSS</a>