e22a263c080fdce229881d6c1ebff4538de68b0b
[Evergreen.git] / Open-ILS / web / opac / skin / default / xml / sidebar.xml
1 <?xml version='1.0'?>
2 <!DOCTYPE x [ <!ENTITY % ent SYSTEM "../../../locale/en-US/lang.dtd"> %ent; ] >
3
4 <!-- Navigation bar -->
5
6 <div id="sidebar_div" class="sidebar_div" xmlns:xi="http://www.w3.org/2001/XInclude">
7
8         <div class='sidebar_chunk'>
9
10                 <div title="&navigate.home.title;" 
11                         id='home_link_div' class="side_bar_item ">
12                         <a id='home_link' href='index.xml'>&navigate.home;</a>
13                 </div>
14         
15                 <div title="&navigate.advanced.title;"
16                         id='advanced_link_div' class="side_bar_item ">
17                         <a id='advanced_link' href='advanced.xml'>&navigate.advanced;</a>
18                 </div>
19
20                 <div title="&navigate.myopac.title;"
21                         id='myopac_link_div' class="side_bar_item ">
22                         <a  id='myopac_link' href='myopac/myopac.xml'>&navigate.myopac;</a>
23                 </div>
24
25                 <div title="&navigate.login.title;"
26                         id='login_link_div' class="side_bar_item ">
27                         <a id='login_link' href='javascript:void(0);'>&navigate.login;</a>
28                 </div>
29
30                 <div title="&navigate.logout.title;"
31                         id='logout_link_div' class="side_bar_item hide_me ">
32                         <a id='logout_link' href='javascript:void(0);'>&navigate.logout;</a>
33                 </div>
34
35
36                 <!--
37                 <xi:include href="xulsidebar.xml"/>
38                 -->
39
40                 <!-- Informational sidebar components -->
41
42                 <div id='logged_in_as_div' title="&navigate.loggedinas.title;" class="side_bar_item hide_me">
43                         <span >&navigate.loggedinas; <b id='username_dest'> </b></span>
44                 </div>
45
46         
47                 <div title="&navigate.titleResults;"
48                         id='result_link_div' class="side_bar_item hide_me">
49                         <span>&navigate.titleResults;</span>
50                 </div>
51
52                 <div title="Record Details"
53                         id='rdetail_link_div' class="side_bar_item hide_me">
54                         <span>Record Details</span>
55                 </div>
56
57                 <div title="&navigate.titleGroupResults;" 
58                         id='mresult_link_div' class="side_bar_item hide_me">
59                         <span>&navigate.titleGroupResults;</span>
60                 </div>
61
62         </div>
63
64         <!--
65         <br/>
66         <div style='padding-top: 3px;'>
67                 <xi:include href="searchbar.xml"/> 
68         </div>
69         -->
70
71         <div id='subject_sidebar' class='sidebar_chunk hide_me'> 
72                 <div class='sidebar_header color_1'>&sidebar.relevantSubjects.headerLabel;</div>
73                 <ul style='margin-left: 1em; padding-left: 1em;'>
74                         <li id='subject_item' class='sidebar_extra_item'>
75                                 <a class='sidebar_extra_link' name='subject_item'> </a>
76                         </li>
77                 </ul>
78         </div>
79
80         <div id='author_sidebar' class='sidebar_chunk hide_me'> 
81                 <div class='sidebar_header color_1'>&sidebar.relevantAuthors.headerLabel;</div>
82                 <ul style='margin-left: 1em; padding-left: 1em;'>
83                         <li id='author_item' class='sidebar_extra_item'>
84                                 <a class='sidebar_extra_link' name='author_item'> </a>
85                         </li>
86                 </ul>
87         </div>
88
89         <div id='series_sidebar' class='sidebar_chunk hide_me'> 
90                 <div class='sidebar_header color_1'>&sidebar.relevantSeries.headerLabel;</div>
91                 <ul style='margin-left: 1em; padding-left: 1em;'>
92                         <li id='series_item' class='sidebar_extra_item'>
93                                 <a class='sidebar_extra_link' name='series_item'> </a>
94                         </li>
95                 </ul>
96         </div>
97
98
99         <!-- ============================================================================= -->
100         <!-- Our javascript -->
101         <script language='javascript' src='../js/sidebar.js'> </script>
102
103         <script language='javascript'>
104                 config.ids.sidebar = {};
105                 config.css.sidebar = {};
106                 config.names.sidebar = {};
107                 config.css.sidebar.item = {};
108                 config.ids.sidebar.home                         = 'home_link_div';
109                 config.ids.sidebar.advanced             = 'advanced_link_div';
110                 config.ids.sidebar.myopac                       = 'myopac_link_div';
111                 config.ids.sidebar.prefs                        = 'prefs_link_div';
112                 config.ids.sidebar.mresult                      = 'mresult_link_div';
113                 config.ids.sidebar.rresult                      = 'result_link_div';
114                 config.ids.sidebar.rdetail                      = "rdetail_link_div"; 
115                 config.ids.sidebar.login                        = 'login_link';
116                 config.ids.sidebar.logout                       = 'logout_link';
117                 config.ids.sidebar.logoutbox            = 'logout_link_div';
118                 config.ids.sidebar.loginbox             = 'login_link_div';
119                 config.ids.sidebar.logged_in_as = 'logged_in_as_div';
120                 config.ids.sidebar.username_dest        = 'username_dest';
121                 config.ids.sidebar.subject                      = 'subject_sidebar';
122                 config.ids.sidebar.subject_item = 'subject_item';
123                 config.ids.sidebar.author                       = 'author_sidebar';
124                 config.ids.sidebar.author_item  = 'author_item';
125                 config.ids.sidebar.series                       = 'series_sidebar';
126                 config.ids.sidebar.series_item  = 'series_item';
127                 
128                 config.ids.sidebar.home_link            = 'home_link'
129                 config.ids.sidebar.advanced_link        = 'advanced_link'
130                 config.ids.sidebar.myopac_link  = 'myopac_link'
131                 
132                 config.names.sidebar.subject_item       = 'subject_item';
133                 config.names.sidebar.author_item                = 'author_item';
134                 config.names.sidebar.series_item                = 'series_item';
135
136                 config.css.encircled                            = 'encircled';
137         </script>
138
139 </div>
140