new front page
[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 style='border: 1px solid #A7EA9D;'
48 -->
49                 <div id='sidebar_results_wrapper' class='hide_me'  style='border: 1px solid #A7EA9D;'>
50                         <div title="&navigate.titleGroupResults;" 
51                                 id='mresult_link_div' class="side_bar_item hide_me">
52                                 <a id='sidebar_title_group_results'>&navigate.titleGroupResults;</a>
53                         </div>
54                 
55                         <div title="&navigate.titleResults;"
56                                 id='result_link_div' class="side_bar_item hide_me">
57                                 <a id='sidebar_title_results'>&navigate.titleResults;</a>
58                         </div>
59         
60                         <div title="Record Details"
61                                 id='rdetail_link_div' class="side_bar_item hide_me">
62                                 <span>My Title Details</span>
63                         </div>
64                 </div>
65
66
67         </div>
68
69         <!--
70         <br/>
71         <div style='padding-top: 3px;'>
72                 <xi:include href="searchbar.xml"/> 
73         </div>
74         -->
75
76         <div id='subject_sidebar' class='sidebar_chunk hide_me'> 
77                 <div class='sidebar_header color_1'>&sidebar.relevantSubjects.headerLabel;</div>
78                 <ul style='margin-left: 1em; padding-left: 1em;'>
79                         <li id='subject_item' class='sidebar_extra_item'>
80                                 <a class='sidebar_extra_link' name='subject_item'> </a>
81                         </li>
82                 </ul>
83         </div>
84
85         <div id='author_sidebar' class='sidebar_chunk hide_me'> 
86                 <div class='sidebar_header color_1'>&sidebar.relevantAuthors.headerLabel;</div>
87                 <ul style='margin-left: 1em; padding-left: 1em;'>
88                         <li id='author_item' class='sidebar_extra_item'>
89                                 <a class='sidebar_extra_link' name='author_item'> </a>
90                         </li>
91                 </ul>
92         </div>
93
94         <div id='series_sidebar' class='sidebar_chunk hide_me'> 
95                 <div class='sidebar_header color_1'>&sidebar.relevantSeries.headerLabel;</div>
96                 <ul style='margin-left: 1em; padding-left: 1em;'>
97                         <li id='series_item' class='sidebar_extra_item'>
98                                 <a class='sidebar_extra_link' name='series_item'> </a>
99                         </li>
100                 </ul>
101         </div>
102
103
104         <!-- ============================================================================= -->
105         <!-- Our javascript -->
106         <script language='javascript' src='../js/sidebar.js'> </script>
107
108         <script language='javascript'>
109                 config.ids.sidebar = {};
110                 config.css.sidebar = {};
111                 config.names.sidebar = {};
112                 config.css.sidebar.item = {};
113                 config.ids.sidebar.home                         = 'home_link_div';
114                 config.ids.sidebar.advanced             = 'advanced_link_div';
115                 config.ids.sidebar.myopac                       = 'myopac_link_div';
116                 config.ids.sidebar.prefs                        = 'prefs_link_div';
117                 config.ids.sidebar.mresult                      = 'mresult_link_div';
118                 config.ids.sidebar.rresult                      = 'result_link_div';
119                 config.ids.sidebar.rdetail                      = "rdetail_link_div"; 
120                 config.ids.sidebar.login                        = 'login_link';
121                 config.ids.sidebar.logout                       = 'logout_link';
122                 config.ids.sidebar.logoutbox            = 'logout_link_div';
123                 config.ids.sidebar.loginbox             = 'login_link_div';
124                 config.ids.sidebar.logged_in_as = 'logged_in_as_div';
125                 config.ids.sidebar.username_dest        = 'username_dest';
126                 config.ids.sidebar.subject                      = 'subject_sidebar';
127                 config.ids.sidebar.subject_item = 'subject_item';
128                 config.ids.sidebar.author                       = 'author_sidebar';
129                 config.ids.sidebar.author_item  = 'author_item';
130                 config.ids.sidebar.series                       = 'series_sidebar';
131                 config.ids.sidebar.series_item  = 'series_item';
132                 
133                 config.ids.sidebar.home_link            = 'home_link'
134                 config.ids.sidebar.advanced_link        = 'advanced_link'
135                 config.ids.sidebar.myopac_link  = 'myopac_link'
136                 
137                 config.names.sidebar.subject_item       = 'subject_item';
138                 config.names.sidebar.author_item                = 'author_item';
139                 config.names.sidebar.series_item                = 'series_item';
140
141                 config.css.encircled                            = 'encircled';
142         </script>
143
144 </div>
145