[open-ils-commits] r892 - in conifer/branches/rel_1_6_0/web/opac/skin/default/xml: . common (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Jun 11 11:37:39 EDT 2010
Author: dbs
Date: 2010-06-11 11:37:36 -0400 (Fri, 11 Jun 2010)
New Revision: 892
Added:
conifer/branches/rel_1_6_0/web/opac/skin/default/xml/common/
conifer/branches/rel_1_6_0/web/opac/skin/default/xml/common/sidebar.xml
Log:
Change quick search defaults in staff client and OPAC to options deemed more suitable by committee
Added: conifer/branches/rel_1_6_0/web/opac/skin/default/xml/common/sidebar.xml
===================================================================
--- conifer/branches/rel_1_6_0/web/opac/skin/default/xml/common/sidebar.xml (rev 0)
+++ conifer/branches/rel_1_6_0/web/opac/skin/default/xml/common/sidebar.xml 2010-06-11 15:37:36 UTC (rev 892)
@@ -0,0 +1,220 @@
+
+<!-- Navigation bar -->
+
+<div id="sidebar_div" class="sidebar_div" xmlns:xi="http://www.w3.org/2001/XInclude">
+
+ <div class='sidebar_chunk'>
+
+ <div title="&navigate.home.title;"
+ id='home_link_div' class="side_bar_item ">
+ <a id='home_link' href='index.xml'>&navigate.home;</a>
+ </div>
+
+ <div title="&opac.navigate.advanced.title;"
+ id='advanced_link_div' class="side_bar_item ">
+ <a id='advanced_link' href='advanced.xml'>&opac.navigate.advanced;</a>
+ </div>
+
+ <div title="&navigate.myopac.title;"
+ id='myopac_link_div' class="side_bar_item ">
+ <a id='myopac_link' href='myopac/myopac.xml'>&navigate.myopac;</a>
+ </div>
+
+ <div title="&navigate.login.title;"
+ id='login_link_div' class="side_bar_item ">
+ <a id='login_link' href='javascript:void(0);'>&navigate.login;</a>
+ </div>
+
+ <div title="&navigate.logout.title;"
+ id='logout_link_div' class="side_bar_item hide_me ">
+ <a id='logout_link' href='javascript:void(0);'>&navigate.logout;</a>
+ </div>
+
+
+ <!-- Informational sidebar components -->
+
+ <div id='logged_in_as_div' title="&navigate.loggedinas.title;" class="side_bar_item hide_me">
+ <span>&navigate.loggedinas;<b id='username_dest'> </b></span>
+ </div>
+
+ <div id='sidebar_results_wrapper' class='hide_me border_1'>
+ <div title="&navigate.titleGroupResults;"
+ id='mresult_link_div' class="side_bar_item hide_me">
+ <a id='sidebar_title_group_results'>&navigate.titleGroupResults;</a>
+ </div>
+
+ <div title="&navigate.titleResults;"
+ id='result_link_div' class="side_bar_item hide_me">
+ <a id='sidebar_title_results'>&navigate.titleResults;</a>
+ </div>
+
+ <div title="&navigate.record.details;"
+ id='rdetail_link_div' class="side_bar_item hide_me">
+ <span>&navigate.title.details;</span>
+ </div>
+ </div>
+ </div>
+
+ <div id='subject_tree_sidebar' class='sidebar_chunk hide_me' style='margin-top: 12px;'>
+ <div id='subject_sidebar_tree_div'> </div>
+ <script language='javascript' type='text/javascript'>
+ removeChildren($('subject_sidebar_tree_div'));
+ var subjectSidebarTree = new SlimTree(
+ document.getElementById('subject_sidebar_tree_div'),
+ 'subjectSidebarTree', '../../../../images/slimtree/related.jpg');
+ subjectSidebarTree.addNode( 'subjectSidebarTreeRoot', -1,
+ "&sidebar.relevantSubjects.headerLabel;",
+ 'javascript:subjectSidebarTree.toggle(' +
+ '"subjectSidebarTreeRoot");');
+ </script>
+ </div>
+
+ <div id='author_tree_sidebar' class='sidebar_chunk hide_me'>
+ <hr/>
+ <div id='author_sidebar_tree_div'> </div>
+ <script language='javascript' type='text/javascript'>
+ removeChildren($('author_sidebar_tree_div'));
+ var authorSidebarTree = new SlimTree(
+ document.getElementById('author_sidebar_tree_div'),
+ 'authorSidebarTree','../../../../images/slimtree/people.jpg');
+ authorSidebarTree.addNode( 'authorSidebarTreeRoot', -1,
+ "&sidebar.relevantAuthors.headerLabel;",
+ 'javascript:authorSidebarTree.toggle(' +
+ '"authorSidebarTreeRoot");');
+ </script>
+ </div>
+
+ <div id='series_tree_sidebar' class='sidebar_chunk hide_me'>
+ <hr/>
+ <div id='series_sidebar_tree_div'> </div>
+ <script language='javascript' type='text/javascript'>
+ removeChildren($('series_sidebar_tree_div'));
+ var seriesSidebarTree = new SlimTree(
+ document.getElementById('series_sidebar_tree_div'),
+ 'seriesSidebarTree',
+ '../../../../images/slimtree/houses.jpg');
+ seriesSidebarTree.addNode( 'seriesSidebarTreeRoot', -1,
+ "&sidebar.relevantSeries.headerLabel;",
+ 'javascript:seriesSidebarTree.toggle(' +
+ '"seriesSidebarTreeRoot");');
+ </script>
+ </div>
+
+ <div id='adv_quick_search_sidebar' class='sidebar_chunk hide_me'
+ style='text-align:center; margin-top: 20px;'>
+ <hr/>
+ <div id='adv_quick_search'>
+ <div class='adv_quick_search color_4'><b>&sidebar.quick.search;</b></div>
+ <div style='margin-top: 8px;'>
+ <table><tbody><tr>
+ <td>
+ <select id='adv_quick_type' style='width: 6em;'>
+ <option value='isbn'>&opac.advanced.quick.isbn;</option>
+ <option value='issn'>&opac.advanced.quick.issn;</option>
+ <option id='adv_quick_type_cn' value='cn'>&opac.advanced.quick.cn;</option>
+ <option value='lccn'>&opac.advanced.quick.lccn;</option>
+ <option value='tcn'>&opac.advanced.quick.tcn;</option>
+ <option id='adv_quick_type_cn' value='barcode'>&opac.advanced.quick.barcode;</option>
+ </select>
+ </td><td>
+ <input type='text' id='adv_quick_text' size='16' />
+ </td>
+ </tr></tbody></table>
+ </div>
+ <script language='javascript' type='text/javascript'><![CDATA[
+ dojo.addOnLoad(function() {
+ if (isXUL()) {
+ dojo.query('#adv_quick_type_barcode').attr('selected', 'selected');
+ } else {
+ dojo.query('#adv_quick_type_cn').attr('selected', 'selected');
+ }
+ });
+ ]]>
+ </script>
+
+ <span class='hide_me' id='myopac.copy.not.found'>&sidebar.copy.not.found;</span>
+ <div style='margin-top: 8px;' class='adv_quick_search_submit'>
+ <a id='adv_quick_submit' href='javascript:advGenericSearch();' class='classic_link'>&common.submit;</a>
+ </div>
+ </div>
+ </div>
+
+ <div id='adv_marc_search_sidebar' class='sidebar_chunk hide_me'
+ style='text-align:center; margin-top: 20px;'>
+ <hr/>
+ <div class='adv_quick_search color_4'><b>&search.marc;</b></div>
+ <table style='margin: 3px; width: 100%;' id='adv_sdbar_table' class='border_4_3'>
+ <tbody>
+ <tr>
+ <td>&search.marc.tag;</td>
+ <td><input name='advanced.marc.tag' maxlength='3' size='3' /></td>
+ <td>&search.marc.subfield;</td>
+ <td><input name='advanced.marc.subfield' maxlength='1' size='1' /></td>
+ </tr>
+ <tr>
+ <td>&search.marc.value;</td>
+ <td colspan='3'><input name='advanced.marc.value' size='18' /></td>
+ </tr>
+ <tr name='crow' class='hide_me'>
+ <td colspan='4' align='center'>
+ <a href='javascript:void(0);' class='classic_link'
+ onclick='
+ var div = $("adv_marc_search_sidebar");
+ if( div.getElementsByTagName("table").length > 1 )
+ div.removeChild(this.parentNode.parentNode.parentNode.parentNode);'>&common.close;</a>
+ </td>
+ </tr>
+
+ </tbody>
+ </table>
+ <div id='adv_marc_submit' class='adv_quick_search_submit'>
+ <a style='margin-right: 4px;' class='classic_link' href='javascript:advAddMARC();'>&search.marc.add.row;</a>
+ <a style='margin-left: 4px;' class='classic_link' href='javascript:advMARCRun();'>&common.submit;</a>
+ </div>
+ </div>
+
+
+
+
+ <!-- ============================================================================= -->
+ <!-- Our javascript -->
+ <script language='javascript' type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/skin/default/js/sidebar.js'></script>
+
+ <script language='javascript' type='text/javascript'>
+ config.ids.sidebar = {};
+ config.css.sidebar = {};
+ config.names.sidebar = {};
+ config.css.sidebar.item = {};
+ config.ids.sidebar.home = 'home_link_div';
+ config.ids.sidebar.advanced = 'advanced_link_div';
+ config.ids.sidebar.myopac = 'myopac_link_div';
+ config.ids.sidebar.prefs = 'prefs_link_div';
+ config.ids.sidebar.mresult = 'mresult_link_div';
+ config.ids.sidebar.rresult = 'result_link_div';
+ config.ids.sidebar.rdetail = "rdetail_link_div";
+ config.ids.sidebar.login = 'login_link';
+ config.ids.sidebar.logout = 'logout_link';
+ config.ids.sidebar.logoutbox = 'logout_link_div';
+ config.ids.sidebar.loginbox = 'login_link_div';
+ config.ids.sidebar.logged_in_as = 'logged_in_as_div';
+ config.ids.sidebar.username_dest = 'username_dest';
+ config.ids.sidebar.subject = 'subject_sidebar';
+ config.ids.sidebar.subject_item = 'subject_item';
+ config.ids.sidebar.author = 'author_sidebar';
+ config.ids.sidebar.author_item = 'author_item';
+ config.ids.sidebar.series = 'series_sidebar';
+ config.ids.sidebar.series_item = 'series_item';
+
+ config.ids.sidebar.home_link = 'home_link'
+ config.ids.sidebar.advanced_link = 'advanced_link'
+ config.ids.sidebar.myopac_link = 'myopac_link'
+
+ config.names.sidebar.subject_item = 'subject_item';
+ config.names.sidebar.author_item = 'author_item';
+ config.names.sidebar.series_item = 'series_item';
+
+ config.css.encircled = 'encircled';
+ </script>
+
+</div>
+
More information about the open-ils-commits
mailing list