da818cfa693eb9ee355b73c001ea24564c855771
[Evergreen.git] / Open-ILS / web / opac / skin / default / xml / sidebar.xml
1 <?xml version='1.0'?>
2
3 <!-- Navigation bar -->
4
5 <div id="sidebar_div" class="sidebar_div" xmlns:xi="http://www.w3.org/2001/XInclude">
6
7         <div class='sidebar_chunk'>
8
9                 <div title="&navigate.home.title;" 
10                         id='home_link_div' class="side_bar_item ">
11                         <a id='home_link' href='index.xml'>&navigate.home;</a>
12                 </div>
13         
14                 <div title="&navigate.advanced.title;"
15                         id='advanced_link_div' class="side_bar_item ">
16                         <a id='advanced_link' href='advanced.xml'>&navigate.advanced;</a>
17                 </div>
18
19                 <div title="&navigate.myopac.title;"
20                         id='myopac_link_div' class="side_bar_item ">
21                         <a  id='myopac_link' href='myopac/myopac.xml'>&navigate.myopac;</a>
22                 </div>
23
24                 <div title="&navigate.login.title;"
25                         id='login_link_div' class="side_bar_item ">
26                         <a id='login_link' href='javascript:void(0);'>&navigate.login;</a>
27                 </div>
28
29                 <div title="&navigate.logout.title;"
30                         id='logout_link_div' class="side_bar_item hide_me ">
31                         <a id='logout_link' href='javascript:void(0);'>&navigate.logout;</a>
32                 </div>
33
34
35                 <!-- Informational sidebar components -->
36
37                 <div id='logged_in_as_div' title="&navigate.loggedinas.title;" class="side_bar_item hide_me">
38                         <span>&navigate.loggedinas;<b id='username_dest'> </b></span>
39                 </div>
40
41                 <div id='sidebar_results_wrapper' class='hide_me'  style='border: 1px solid #A7EA9D;'>
42                         <div title="&navigate.titleGroupResults;" 
43                                 id='mresult_link_div' class="side_bar_item hide_me">
44                                 <a id='sidebar_title_group_results'>&navigate.titleGroupResults;</a>
45                         </div>
46                 
47                         <div title="&navigate.titleResults;"
48                                 id='result_link_div' class="side_bar_item hide_me">
49                                 <a id='sidebar_title_results'>&navigate.titleResults;</a>
50                         </div>
51         
52                         <div title="Record Details"
53                                 id='rdetail_link_div' class="side_bar_item hide_me">
54                                 <span>My Title Details</span>
55                         </div>
56                 </div>
57         </div>
58
59         <br/>
60         <div id='subject_tree_sidebar' class='sidebar_chunk hide_me'> 
61                 <div id='subject_sidebar_tree_div'> </div>
62                 <script language='javascript'>
63                         var subjectSidebarTree = new SlimTree(
64                                 document.getElementById('subject_sidebar_tree_div'),
65                                 'subjectSidebarTree', '../../../images/slimtree/related.jpg');
66                         subjectSidebarTree.addNode( 'subjectSidebarTreeRoot', -1, 
67                                 "&sidebar.relevantSubjects.headerLabel;", null);
68                 </script>
69         </div>
70
71         <div id='author_tree_sidebar' class='sidebar_chunk hide_me'> 
72                 <hr/>
73                 <div id='author_sidebar_tree_div'> </div>
74                 <script language='javascript'>
75                         var authorSidebarTree = new SlimTree(
76                                 document.getElementById('author_sidebar_tree_div'),
77                                 'authorSidebarTree','../../../images/slimtree/people.jpg');
78                         authorSidebarTree.addNode( 'authorSidebarTreeRoot', -1, 
79                                 "&sidebar.relevantAuthors.headerLabel;", null);
80                 </script>
81         </div>
82
83         <div id='series_tree_sidebar' class='sidebar_chunk hide_me'> 
84                 <hr/>
85                 <div id='series_sidebar_tree_div'> </div>
86                 <script language='javascript'>
87                         var seriesSidebarTree = new SlimTree(
88                                 document.getElementById('series_sidebar_tree_div'),
89                                 'seriesSidebarTree','../../../images/slimtree/houses.jpg');
90                         seriesSidebarTree.addNode( 'seriesSidebarTreeRoot', -1, 
91                                 "&sidebar.relevantSeries.headerLabel;", null);
92                 </script>
93         </div>
94
95
96
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