]> git.koha-community.org Git - koha.git/blob - koha-tmpl/intranet-tmpl/default/en/includes/auth-top.inc
minor css fixes
[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 function searchauthority() {
27         X = document.forms[0].authtype2.value;
28         Y = document.forms[0].value.value;
29         window.location="/cgi-bin/koha/authorities/authorities-home.pl?op=do_search&type=intranet&authtypecode="+X+"&value="+Y+"&marclist=&and_or=and&excluding=&operator=contains";
30 }
31 </script>
32
33 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/includes/common-style.css">
34 <style type="text/css">
35 .authority {
36         background-color: #6b7cbe;
37         color:#FFFFFF;
38         text-decoration: normal;
39         font-weight: bold;
40         background-image:none;
41         }
42 a.authority:hover {
43         background-color: #6b7cbe;
44         color: #FFFFFF;
45         text-decoration: normal;
46         font-weight: bold;
47         }
48 </style>
49 </head>
50
51 <body>
52 <!-- MENUS -->
53 <div id="menubar">
54         <span class="koha"><a class="home" href="/cgi-bin/koha/mainpage.pl">Koha</a></span>
55         <a class="acquisition" href="/cgi-bin/koha/loadmodules.pl?module=acquisitions">Acquisitions</a>
56         <a class="catalogue" href="/cgi-bin/koha/loadmodules.pl?module=search&amp;type=intranet">Catalogue</a>
57         <a class="circulation"  href="/cgi-bin/koha/circ/circulation.pl">Circulation</a>
58         <a class="members" href="/cgi-bin/koha/members/members-home.pl">Members</a>
59         <a class="authority" href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a>
60         <a class="reports" href="/cgi-bin/koha/reports-home.pl">Reports</a>
61         <a class="parameters" href="/cgi-bin/koha/admin-home.pl">Parameters</a>
62         <a class="about" href="/cgi-bin/koha/about.pl">About</a>
63         <a class="catalogue" href="/cgi-bin/koha/help.pl" onclick="Help(); return false;">Help</a>
64 </div>
65 <form>
66 <div id="submenu">
67         <span class="koha">options &gt;&gt;&nbsp;&nbsp;</span>
68         <select name="authtype2">
69                 <!-- TMPL_LOOP name="authtypesloop" -->
70                         <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->>
71                                 <!-- TMPL_VAR name="authtypetext" -->
72                         </option>
73                 <!-- /TMPL_LOOP -->
74         </select>
75         <input type="text" size="10" maxlength="100" name="value">
76         <a href="javascript:searchauthority()" class="submenu">
77                 Search
78         </a>
79         <select name="authtype">
80                 <!-- TMPL_LOOP name="authtypesloop" -->
81                         <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->>
82                                 <!-- TMPL_VAR name="authtypetext" -->
83                         </option>
84                 <!-- /TMPL_LOOP -->
85         </select>
86         <a href="javascript:addauthority()" class="submenu2">
87                 Add authority
88         </a>
89 </div>
90 </form>
91 <!-- TMPL_IF NAME="loggedinusername" -->
92     <p align="left">Logged in as: <!-- TMPL_VAR NAME="loggedinusername" --> [<a href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log Out</a>]</p>
93 <!-- TMPL_ELSE -->
94     <p align="left"><a href="/cgi-bin/koha/opac-user.pl">Log In</a> to Koha</p>
95 <!-- /TMPL_IF -->