[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. d0b23335fd00ecc7e8b4f7c1f386c5b430c079dc
Evergreen Git
git at git.evergreen-ils.org
Tue Aug 2 17:11:36 EDT 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_1 has been updated
via d0b23335fd00ecc7e8b4f7c1f386c5b430c079dc (commit)
from 370ae5e9d573558ac7d83c8d7fa4405e7d0cece0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d0b23335fd00ecc7e8b4f7c1f386c5b430c079dc
Author: Joseph Lewis <joehms22 at gmail.com>
Date: Tue Aug 2 14:41:37 2011 -0600
Remove craftsman skin.
Signed-off-by: Joseph Lewis <joehms22 at gmail.com>
Via LP:
https://bugs.launchpad.net/evergreen/+bug/820010
And this email thread:
http://libmail.georgialibraries.org/pipermail/open-ils-dev/2010-August/006269.html
Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
diff --git a/Open-ILS/web/Makefile.am b/Open-ILS/web/Makefile.am
index 38c7ac8..b453a38 100644
--- a/Open-ILS/web/Makefile.am
+++ b/Open-ILS/web/Makefile.am
@@ -50,14 +50,9 @@ webcore-install:
cp -r @top_srcdir@/Open-ILS/web/. $(DESTDIR)$(WEBDIR)
cp @top_srcdir@/Open-ILS/xsl/*.xsl $(opacextrasdir)
cp @top_srcdir@/Open-ILS/xsl/*.xsl $(DESTDIR)$(XSLDIR)
- cp -r $(DESTDIR)$(WEBDIR)/opac/skin/default/* $(DESTDIR)$(WEBDIR)/opac/skin/craftsman/
- cp -r @top_srcdir@/Open-ILS/web/opac/skin/craftsman/* $(DESTDIR)$(WEBDIR)/opac/skin/craftsman/
for i in mresult.xml rresult.xml rdetail.xml advanced.xml myopac.xml cnbrowse.xml; do \
cd $(DESTDIR)$(WEBDIR)/opac/skin/default/xml/ && rm -f $$i && $(LN_S) index.xml $$i; \
done
- for i in mresult.xml rresult.xml rdetail.xml advanced.xml myopac.xml cnbrowse.xml; do \
- cd $(DESTDIR)$(WEBDIR)/opac/skin/craftsman/xml/ && rm -f $$i && $(LN_S) index.xml $$i; \
- done
offline-install:
@echo "Installing offline CGIs to $(CGIDIR)/offline";
diff --git a/Open-ILS/web/opac/skin/craftsman/css/default.css b/Open-ILS/web/opac/skin/craftsman/css/default.css
deleted file mode 100644
index 254157e..0000000
--- a/Open-ILS/web/opac/skin/craftsman/css/default.css
+++ /dev/null
@@ -1,269 +0,0 @@
-body { margin: 0; padding: 0; background: #f8f5e4 url(../../../images/bg.gif) repeat-x top left; }
-
-img { border: 0; }
-.clear { clear: both; }
-
-#container { height: 1%; }
-
-/* --------------- header --------------- */
-#header { background: #2e8469 url(../../../images/header-bg.gif) repeat-x top left; border-bottom: 1px solid #145440; min-height: 95px; }
-#header img.logo {display: block; width: 260px; }
-#header-shadow { background: url(../../../images/header-shadow.gif) repeat-x top left; height: 5px; }
-
-/* --------------- Home Search ---------- */
-.home-searcharea { margin: 65px auto 0 auto; padding: 6px; background: #fff url(../../../images/searchbox-bg.gif) repeat-x bottom left; width: 800px; -moz-border-radius: 6px; border: 1px solid #ccc8b1; }
-.home-logo { padding: 35px 40px 45px 40px; text-align: center; }
-.home-title { padding: 6px; font-size: 14px; font-weight: bold; color: #f08d4d; text-align: center; }
-.home-search-panel { margin-bottom: 5px; padding: 6px; background: #fffefa; border: 1px solid #809fb2; text-align: center; }
-.home-search-panel .search-home-input { height: 25px; padding: 4px; background: #fff; border: 1px solid #a7a6aa; font-size: 13px; width: 400px; }
-.home-search-panel .submit { padding: 3px 6px; }
-.home-filter-panel { padding: 6px; background: #fbf9ee; border: 1px solid #809fb2; text-align: center; }
-.home-filter-panel select { padding: 3px; }
-
-.home-bottom-tabs { margin: 0 auto; width: 800px; text-align: center; }
-.home-bottom-tabs ul { margin: 0 auto; padding: 0; list-style: none; width: 500px; }
-.home-bottom-tabs ul li { float: left; margin: 0 2px; padding: 12px; background: #f7f4e7 url(../../../images/home-bottom-tag-bg.gif) repeat-x bottom left; -moz-border-radius: 6px; border: 1px solid #4e819c; border-top: 0; }
-.home-bottom-tabs ul li a { display: block; padding: 5px 0 5px 25px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #333; text-decoration: none; }
-.home-bottom-tabs ul li a.advancedsearch { background: url(../../../images/advancedsearch-icon.gif) no-repeat 0 50%; }
-.home-bottom-tabs ul li a.chooselibrary { background: url(../../../images/chooselibrary-icon.gif) no-repeat 0 50%; }
-.home-bottom-tabs ul li a.myaccount { background: url(../../../images/myaccount-icon.gif) no-repeat 0 50%; }
-.home-bottom-tabs ul li a:hover { color: #000; }
-.home-bottom-tabs ul li:hover { background: #fff url(../../../images/sidebar-bg.gif) repeat-x bottom left; }
-
-/* --------------- text size --------------- */
-#header #text_size_div { padding: 3px 2px 3px 0; }
-#header #text_size_div ul { float: right; margin: 0; padding: 0; list-style: none; }
-#header #text_size_div ul li { float: left; padding: 0 2px; font-size: 12px; color: #fff; letter-spacing: 0.1em; }
-#header #text_size_div ul li a { font-size: 12px; color: #fff; text-decoration: underline; }
-#header #text_size_div ul li a:hover { font-size: 12px; color: #fff; text-decoration: none; }
-
-/* --------------- search bar --------------- */
-#header #searchbar { padding: 3px; }
-#header #searchbar ul { margin: 0; padding: 0; list-style: none; }
-#header #searchbar ul li { float: left; }
-#header #searchbar ul li input.input { padding: 4px; background: #fff; font-size: 13px; height: 25px; width: 200px; border: 1px solid #aeafb2; }
-#header #searchbar ul li input.submit { margin-left: 10px; padding: 2px 0; font-size: 13px; width: 80px; }
-#header #searchbar ul li select { margin: 2px 5px 2px 10px; padding: 3px; font-size: 13px; }
-#header #searchbar ul li a.classic_link { margin-left: 5px; display: block; background: url(../../../images/libselect-btn.gif) no-repeat; width: 163px; height: 25px; text-indent: -9000em; overflow: hidden; }
-#header #searchbar ul li a.classic_link:hover { background-position: bottom; }
-
-/* --------------- status bar --------------- */
-#header #statusbar { padding: 0 2px 0 0; font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; font-size: 12px; }
-#header #statusbar td { color: #fff; vertical-align: middle; }
-#header #statusbar ul { margin: 0; padding: 3px 0 0 0; list-style: none; }
-#header #statusbar ul li { float: left; }
-#header #statusbar ul li label { display: block; padding: 4px 0 0 0; }
-#header #statusbar .title { font-size: 15px; letter-spacing: 0.1em; }
-#header #statusbar li.checkbox { padding: 3px 5px 0 5px; }
-#header #statusbar input { margin: 0; padding: 0 5px 0 5px; font-size: 13px; }
-#header #statusbar select { font-size: 11px; font-size: 13px; padding: 3px; }
-/* --------------- end Header --------------- */
-
-/* --------------- Content --------------- */
-#main-content { min-height: 300px; border-collapse: collapse; }
-#main-content tbody td { vertical-align: top; }
-#main-content tbody td#main_left_cell { width: 300px; min-width: 300px; }
-#main-content tbody td#main_right_cell { width: 100%; padding-top: 5px; padding-right: 5px }
-#main-content tbody td#main_right_cell div#content { background: #fff url(../../../images/content-bg.jpg) repeat-x bottom left; -moz-border-radius: 6px; border: 1px solid #a4a39e; min-height: 450px; }
-/* --------------- end Content --------------- */
-
-/* --------------- footer --------------- */
-#footer { margin: 10px 5px 0 5px; background: #797457 url(../../../images/footer-bg.gif) repeat-x bottom; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #e0dcc6; -moz-border-radius: 6px; border: 1px solid #454337; }
-#footer .inner { padding: 0 10px 0 10px; -moz-border-radius: 6px; border: 3px solid #938f76; min-height: 45px; height: 65px; }
-#footer table { border-collapse: collapse; width: 100%; }
-#footer td { padding: 10px; color: #e0dcc6; font-size: 11px; vertical-align: middle; }
-#footer td.right { text-align: right }
-
-#footer a { color: #e0dcc6; text-decoration: underline; }
-#footer a:hover { color: #fff; text-decoration: none; }
-/* --------------- end footer --------------- */
-
-/* --------------- Main Left Menu ----------- */
-#main-left-menu { margin: 5px; padding: 5px; background: #fbfaf1; -moz-border-radius: 6px; border: 1px solid #b0ad97; }
-#main-left-menu ul { margin: 0; padding: 0; list-style: none; }
-#main-left-menu ul li { cursor: pointer; padding: 1px; font-family: Verdana, Arial, Helvetica, sans-serif; -moz-border-radius: 6px; border: 1px solid #fbfaf1; }
-#main-left-menu ul li:hover { background: #fff url(../../../../images/sidebar-bg.gif) repeat-x bottom left; -moz-border-radius: 6px; border: 1px solid #a0bbcb; }
-#main-left-menu ul li a { display: block; padding: 8px 5px 8px 38px; color: #000; text-decoration: none; }
-#main-left-menu ul li a.home-btn { background: url(../../../images/home-icon.gif) no-repeat 5px 50%; }
-#main-left-menu ul li a.home-btn:hover { background: url(../../../images/home-icon-u.gif) no-repeat 5px 50%; }
-#main-left-menu ul li a.advancedsearch-btn { background: url(../../../images/inner-advanced-icon.gif) no-repeat 5px 50%; }
-#main-left-menu ul li a.advancedsearch-btn:hover { background: url(../../../images/inner-advanced-icon-u.gif) no-repeat 5px 50%; }
-#main-left-menu ul li a.account-btn { background: url(../../../images/inner-account-icon.gif) no-repeat 5px 50%; }
-#main-left-menu ul li a.account-btn:hover { background: url(../../../images/inner-account-icon-u.gif) no-repeat 5px 50%; }
-#main-left-menu ul li a.login-btn { background: url(../../../images/login-icon.gif) no-repeat 8px 50%; }
-#main-left-menu ul li a.login-btn:hover { background: url(../../../images/login-icon-u.gif) no-repeat 8px 50%; }
-#main-left-menu ul li a.logout-btn { background: url(../../../images/logout-icon.gif) no-repeat 8px 50%; }
-#main-left-menu ul li a.logout-btn:hover { background: url(../../../images/logout-icon-u.gif) no-repeat 8px 50%; }
-#main-left-menu ul li a.title-btn { background: url(../../../images/title-icon.gif) no-repeat 5px 50%; }
-#main-left-menu ul li a.title-btn:hover { background: url(../../../images/title-icon-u.gif) no-repeat 5px 50%; }
-#main-left-menu ul li span { display: block; padding: 8px 5px 8px 38px; color: #000; text-decoration: none; }
-#main-left-menu ul li span.titledetails-btn { background: url(../../../images/titledetails-icon-u.gif) no-repeat 5px 50%; }
-#main-left-menu ul li span.loginas-btn { background: url(../../../images/loginas-icon.gif) no-repeat 10px 50%; }
-
-#main-left-inner { margin: 5px; padding: 5px; background: #f6f5ea; -moz-border-radius: 6px; border: 1px solid #d1cebc; }
-
-#main-left-menu div.subject_sidebar { cursor: pointer; padding: 8px; font-family: Verdana, Arial, Helvetica, sans-serif; -moz-border-radius: 6px; border: 1px solid #f6f5ea; }
-#main-left-menu div.subject_sidebar:hover { background: #fff url(../../../../images/sidebar-bg.gif) repeat-x bottom left; -moz-border-radius: 6px; border: 1px solid #a0bbcb; }
-#main-left-menu div.subject_sidebar a { color: #000; text-decoration: none; }
-#main-left-menu div.subject_sidebar a:hover { color: #4c83c7; text-decoration: underline; }
-
-#main-left-menu div.author_sidebar { cursor: pointer; padding: 8px; font-family: Verdana, Arial, Helvetica, sans-serif; -moz-border-radius: 6px; border: 1px solid #f6f5ea; }
-#main-left-menu div.author_sidebar:hover { background: #fff url(../../../../images/sidebar-bg.gif) repeat-x bottom left; -moz-border-radius: 6px; border: 1px solid #a0bbcb; }
-#main-left-menu div.author_sidebar a { color: #000; text-decoration: none; }
-#main-left-menu div.author_sidebar a:hover { color: #4c83c7; text-decoration: underline; }
-
-#main-left-menu div.series_sidebar { cursor: pointer; padding: 8px; font-family: Verdana, Arial, Helvetica, sans-serif; -moz-border-radius: 6px; border: 1px solid #f6f5ea; }
-#main-left-menu div.series_sidebar:hover { background: #fff url(../../../../images/sidebar-bg.gif) repeat-x bottom left; -moz-border-radius: 6px; border: 1px solid #a0bbcb; }
-#main-left-menu div.series_sidebar a { color: #000; text-decoration: none; }
-#main-left-menu div.series_sidebar a:hover { color: #4c83c7; text-decoration: underline; }
-
-#main-left-search { margin: 5px; padding: 5px; background: #f3f2e6; -moz-border-radius: 6px; border: 1px solid #b0ad97; font-family: Verdana, Arial, Helvetica, sans-serif; }
-#main-left-search h2 { margin: 0; padding: 6px 8px; background: #b0ad97; -moz-border-radius: 6px; font-size: 12px; color: #fff; }
-#main-left-search .content { padding: 6px 8px 10px 8px; font-size: 11px; }
-#main-left-search .content table { border-collapse: 0; }
-#main-left-search .content table td { padding: 3px; vertical-align: middle; }
-#main-left-search .content input, #main-left-search .content select { font-size: 11px; }
-#main-left-search .buttons { padding: 0 8px 8px 8px; }
-#main-left-search .buttons a { padding: 4px 8px; background: #f79456; font-size: 10px; -moz-border-radius: 6px; border: 1px solid #fb853c; color: #fff; text-decoration: none; }
-#main-left-search .buttons a:hover { background: #74b6ca; font-size: 10px; -moz-border-radius: 6px; border: 1px solid #247b9a; }
-/* --------------- end Main Left Menu ------ */
-
-/* --------------- Tool Bar ---------------- */
-.search-toolbar { background: #c8dfed; -moz-border-radius: 6px; border: 1px solid #b5cbd8; width: 90%; font-family: Verdana, Arial, Helvetica, sans-serif; }
-.search-toolbar ul { margin: 0; padding: 0; list-style: none; }
-.search-toolbar ul li { float: left; display: block; -moz-border-radius: 6px; border: 1px solid #c8dfed; }
-.search-toolbar ul li:hover { background: #fff url(../../../images/sidebar-bg.gif) repeat-x bottom left; -moz-border-radius: 6px; border: 1px solid #b5cbd8; }
-.search-toolbar ul li a { display: block; padding: 10px 10px 10px 32px; text-decoration: none; font-size: 11px; }
-.search-toolbar ul li a.expandall-btn { background: url(../../../images/expandall-icon.gif) no-repeat 10px 50%; }
-.search-toolbar ul li a.expandall-btn:hover { background: url(../../../images/expandall-icon-u.gif) no-repeat 10px 50%; }
-.search-toolbar ul li a.closeall-btn { background: url(../../../images/closeall-icon.gif) no-repeat 10px 50%; }
-.search-toolbar ul li a.closeall-btn:hover { background: url(../../../images/closeall-icon-u.gif) no-repeat 10px 50%; }
-.search-toolbar ul li a.cancel-btn { background: url(../../../images/cancel-icon.gif) no-repeat 14px 50%; }
-.search-toolbar ul li a.cancel-btn:hover { background: url(../../../images/cancel-icon-u.gif) no-repeat 14px 50%; }
-.search-toolbar ul li a:hover { color: #000; }
-/* --------------- end Tool Bar ------------ */
-
-/* --------------- org_tree_container ------ */
-.tips_box { padding: 15px; background: #fff url(../../../../images/sidebar-bg.gif) repeat-x bottom left; -moz-border-radius: 6px; border: 1px solid #a0bbcb; font-family: Verdana, Arial, Helvetica, sans-serif; text-align: center; }
-
-.org_tree_container { cursor: pointer; padding: 8px; font-family: Verdana, Arial, Helvetica, sans-serif; -moz-border-radius: 6px; border: 1px solid #f6f5ea; }
-.org_tree_container:hover { background: #fff url(../../../../images/sidebar-bg.gif) repeat-x bottom left; -moz-border-radius: 6px; border: 1px solid #a0bbcb; }
-.org_tree_container a { color: #000; text-decoration: none; }
-.org_tree_container a:hover { color: #4c83c7; text-decoration: underline; }
-/* --------------- end org_tree_container -- */
-
-/* --------------- resultinfo -------------- */
-.resultinfo-box { margin-bottom: 2px; padding: 5px; background: #c8dfed; -moz-border-radius: 6px; border: 1px solid #b5cbd8; }
-.resultinfo-box table { border-collapse: collapse; width: 100%; }
-.resultinfo-box td { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; vertical-align: middle; }
-
-.resultinfo-bottom-box { padding: 5px; background: #e3eff6; -moz-border-radius: 6px; border: 1px solid #e3eff6; }
-.resultinfo-bottom-box table { border-collapse: collapse; width: 100%; }
-.resultinfo-bottom-box td { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #365364; vertical-align: middle; }
-/* --------------- end resultinfo ---------- */
-
-/* --------------- book-results ------------ */
-.book-results { border-collapse: collapse; width: 100% }
-.book-results td { padding: 6px; border-bottom: 1px solid #ddd; font-family: Verdana, Arial, Helvetica, sans-serif; vertical-align: middle; }
-.book-results td.bookjacket { text-align: middle; width: 10%; vertical-align: middle; }
-.book-results td.bookjacket img { display: block; margin: 0 auto; width: 60px; } /* border: 1px solid #b2c0c8; */
-.book-results h1 { margin: 0; padding: 0; font-size: 16px; }
-.book-results h1 a { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 16px; color: #db752a; }
-.book-results h1 a:hover { color: #569ebe; }
-.book-results h2 { margin: 0; padding: 0; font-size: 13px; }
-.book-results h2 a { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font-weight: normal; color: #208acb; }
-.book-results h2 a:hover { color: #000; }
-.book-results blockquote { margin: 0; padding: 0; font-size: 12px; color: #5f6361; }
-.book-results td.count { text-align: center; font-size: 12px; font-weight: bold; vertical-align: middle; }
-.book-results tr:hover { background: #ecf5fa; }
-
-.book-results { }
-.book-results .tool-icons { float: left; margin: 5px 0; padding: 3px 3px 1px 3px; background: #fbf9ee; -moz-border-radius: 6px; border: 1px solid #cac5ab; } /* width: 320px; */
-/*
-.book-results .tool-icons ul { margin: 0; padding: 0; list-style: none; }
-.book-results .tool-icons ul li { float: left; }
-.book-results .tool-icons ul li a { display: block; padding: 2px; -moz-border-radius: 6px; border: 1px solid #fbf9ee; }
-.book-results .tool-icons ul li a:hover { background: #fff; -moz-border-radius: 6px; border: 1px solid #cac5ab; }
-*/
-.book-results .tool-icons a { display: block; float: left; padding: 2px; -moz-border-radius: 6px; border: 1px solid #fbf9ee; height: 25px; text-align: center; }
-.book-results .tool-icons a:hover { background: #fff; -moz-border-radius: 6px; border: 1px solid #cac5ab; }
-.book-results .tool-icons a img { display: block; margin: 0 auto; }
-.book-results .placeholder { float: left; display: block; margin: 5px; width: 110px; padding: 2px 3px 2px 3px; background: #eeece0; -moz-border-radius: 6px; border: 1px solid #e3dfc9; }
-.book-results .placeholder a { display: block; padding: 9px 5px 8px 30px; background: url(../../../images/tor/placeholder-icon.gif) no-repeat 5px 50%; font-size: 10px; color: #4c7b8c; -moz-border-radius: 6px; border: 1px solid #eeece0; }
-.book-results .placeholder a:hover { background: #fff url(../../../images/tor/placeholder-icon.gif) no-repeat 5px 50%; color: #000; -moz-border-radius: 6px; border: 1px solid #cac5ab; }
-
-.pageresults-box { margin: 5px 5px 0 0; padding: 10px; background: #fffefa; -moz-border-radius: 6px; border: 1px solid #8dacbf; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #666; }
-/* --------------- end book-results -------- */
-
-/* --------------- Low Hits ---------------- */
-.lowhits-box { margin: 5px 5px 0 0; padding: 10px; background: #fbfce5; -moz-border-radius: 6px; border: 1px solid #c4b7b7; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #666; }
-.lowhits-box ul { margin: 0; padding: 0; list-style: none; }
-.lowhits-box ul li { padding: 5px 5px 5px 25px; background: url(../../../images/list-icon.gif) no-repeat 5px 50%; }
-/* --------------- end Low Hits ------------ */
-
-/* --------------- tips-box ---------------- */
-.tips-bottom-box { margin-top: 5px; padding: 15px; background: #fff url(../../../../images/sidebar-bg.gif) repeat-x bottom left; -moz-border-radius: 6px; border: 1px solid #a0bbcb; font-family: Verdana, Arial, Helvetica, sans-serif; text-align: center; }
-/* --------------- end tips-box ------------ */
-
-/* --------------- Advanced Search Box------ */
-.advancedsearch-box { }
-.advancedsearch-box .form-panels { margin-top: 5px; padding: 10px; background: #fff url(../../../../images/sidebar-bg.gif) repeat-x bottom left; -moz-border-radius: 6px; border: 1px solid #a0bbcb; font-family: Verdana, Arial, Helvetica, sans-serif; text-align: center; }
-.advancedsearch-box h2 { margin: 0; padding: 8px; background: #666; font-size: 12px; color: #fff; -moz-border-radius: 6px; border: 1px solid #333; }
-.advancedsearch-box tbody td { padding: 3px; font-size: 11px; border-bottom: 1px solid #ddd; }
-.advancedsearch-box tbody td input, .advancedsearch-box tbody td textaream, .advancedsearch-box tbody td select { font-size: 13px; }
-.advancedsearch-box .submit { padding: 6px; }
-/* --------------- end Advanced Search Box - */
-
-/* --------------- Login ------------------- */
-.login-box {}
-.login-box .form-panels { margin: 5px auto; width: 500px; padding: 15px; background: #fff url(../../../../images/sidebar-bg.gif) repeat-x bottom left; -moz-border-radius: 6px; border: 1px solid #a0bbcb; font-family: Verdana, Arial, Helvetica, sans-serif; text-align: center; }
-.login-box h2 { margin: 0; padding: 8px; background: #666; font-size: 12px; color: #fff; -moz-border-radius: 6px; border: 1px solid #333; text-align: left; }
-.login-box tbody td { padding: 6px; font-size: 11px; border-bottom: 1px solid #ddd; vertical-align: middle; font-size: 1em; }
-.login-box tbody td input { padding: 6px; font-size: 11px; }
-.login-box .submit { padding: 6px; }
-.login-box .info { padding: 10px; background: #fbfce5; -moz-border-radius: 6px; border: 1px solid #c4b7b7; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #666; }
-/* --------------- end Login --------------- */
-
-/* --------------- Book Details Page --------------- */
-.details-grid {}
-.details-grid table { border-collapse: collapse; }
-.details-grid table td { padding: 6px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #000; border-bottom: 1px solid #dee2e4; }
-.details-grid td.title { color: #3c5564; white-space: nowrap; }
-/* --------------- end Book Details Page --------------- */
-
-/* --------------- Book Details Record Summary and Place Hold --------------- */
-.detailsinfo-box { margin: 2px 2px 2px 2px; padding: 5px; background: #c8dfed; -moz-border-radius: 6px; border: 1px solid #b5cbd8; }
-.detailsinfo-box table { border-collapse: collapse; width: 100%; }
-.detailsinfo-box td { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; vertical-align: middle; }
-
-.detailsinfo-bottom-box { margin: 2px 2px 2px 2px; padding: 5px; background: #e3eff6; -moz-border-radius: 6px; border: 1px solid #e3eff6; }
-.detailsinfo-bottom-box table { border-collapse: collapse; width: 100%; }
-.detailsinfo-bottom-box td { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #365364; vertical-align: middle; }
-
-.detailsinfo-right {}
-.detailsinfo-right ul { float: right; margin: 0; padding: 0; list-style: none; }
-.detailsinfo-right ul li { float: left; }
-
-.detailsinfo-bottom-box .placeholder { display: block; width: 110px; padding: 2px 3px 2px 3px; background: #eeece0; -moz-border-radius: 6px; border: 1px solid #e3dfc9; }
-.detailsinfo-bottom-box .placeholder a { display: block; padding: 9px 5px 8px 30px; background: url(../../../images/tor/placeholder-icon.gif) no-repeat 5px 50%; font-size: 10px; color: #4c7b8c; -moz-border-radius: 6px; border: 1px solid #eeece0; }
-.detailsinfo-bottom-box .placeholder a:hover { background: #fff url(../../../images/tor/placeholder-icon.gif) no-repeat 5px 50%; color: #000; -moz-border-radius: 6px; border: 1px solid #cac5ab; }
-
-.detailsinfo-bottom-box .selectBox { display: block; padding: 9px 3px 0 12px; }
-/* --------------- Book Details Record Summary and Place Hold --------------- */
-
-/* --------------- Details footer Datagrid --------------- */
-.details-footer-datagrid { border-collapse: collapse; }
-.details-footer-datagrid td { }
-.details-footer-datagrid td a { display: block; padding: 10px 25px; background: #dadada url(../../../images/details-f-bg-u.gif) repeat-x bottom; font-family: Verdana, Arial, Helvetica, sans-serif; -moz-border-radius: 6px; border-top: 1px solid #9f9f9f; border-right: 1px solid #9f9f9f; border-left: 1px solid #9f9f9f; color: #000; text-decoration: none; }
-.details-footer-datagrid td a:hover { background: #d9d9d9 url(../../../images/details-f-bg.gif) repeat-x bottom; color: #000; }
-.details-footer-datagrid td.rdetail_extras_selected a { display: block; padding: 10px 25px; background: #fbf9ee url(../../../images/details-f-bg.gif) repeat-x bottom; font-family: Verdana, Arial, Helvetica, sans-serif; -moz-border-radius: 6px; border-top: 1px solid #9f9f9f; border-right: 1px solid #9f9f9f; border-left: 1px solid #9f9f9f; color: #000; text-decoration: none; }
-
-.details-datagrid { border-collapse: collapse; border: 0; }
-.details-datagrid thead { border: 1px solid #91a8b5; }
-.details-datagrid thead td { padding: 6px; background: #e3eff6 url(../../../images/details-headers-bg.gif) repeat-x bottom; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; }
-.details-datagrid tbody td { padding: 6px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; }
-
-.details-base { padding: 10px; /*background: #d6d6d6; border: 1px solid #9f9f9f; -moz-border-radius: 6px;*/
- background: #fff url(../../../images/searchbox-bg.gif) repeat-x bottom left; -moz-border-radius: 6px; border: 1px solid #ccc8b1;
- }
-/* --------------- end Details footer Datagrid --------------- */
\ No newline at end of file
diff --git a/Open-ILS/web/opac/skin/craftsman/css/layout.css b/Open-ILS/web/opac/skin/craftsman/css/layout.css
deleted file mode 100644
index fbb8606..0000000
--- a/Open-ILS/web/opac/skin/craftsman/css/layout.css
+++ /dev/null
@@ -1,246 +0,0 @@
-.main_header { width: 100%; }
-.space { padding-right:5px; }
-.vert_space { padding-top: 82px; width: 100%;}
-.right { position:absolute; right: 0px; }
-.hide_me { display:none; visibility: hidden; }
-
-table { border-collapse: collapse; }
-
-/* generic CSS for a table with data */
-.data_grid { font-weight: 500; border-collapse: collapse;}
-.data_grid thead tr { }
-.data_grid thead td { padding-right: 5px; padding-left: 5px;}
-.data_grid tbody td { padding: 5px; }
-.data_grid_center { text-align: center; }
-
-.data_grid_nb { font-weight: 500; border-collapse: collapse;}
-.data_grid_nb thead tr { color: #000000; }
-.data_grid_nb thead td { padding-right: 5px; padding-left: 5px;}
-.data_grid_nb tbody td { padding: 5px; }
-
-
-.classic_link { text-decoration: underline; color: black;}
-.classic_link:visited { text-decoration: underline; color: black;}
-.classic_link_col { text-decoration: underline; color: red;}
-
-.encircled { border: 1px solid black; }
-
-
-.adv_quick_search { padding: 3px;}
-.adv_quick_search_submit { padding: 3px;}
-
-.overdue { color: red; font-weight: bold;}
-
-#main_table { border-collapse: collapse; width: 100%; }
-#main_left_cell { width: 20%; vertical-align: top;margin: 0px; padding: 0px;}
-#main_right_cell { width: 80%; vertical-align: top; margin: 0px; padding:0px;}
-
-
-/*#content { min-height: 300px; }*/
-
-.canvas { min-height: 300px; padding-left: 4px; -moz-border-radius: 6px;}
-#canvas_main { padding-bottom: 4px; }
-
-#loading_div { width: 100%;}
-
-
-
-.shadowed { background: #F0F0E0; }
-.no_copies { background: #E0E0E0; }
-.overdue_circ { border: 2px dashed #F0D0E0; }
-
-.org_tree { padding-left: 2px; padding-right: 2px; }
-.org_link { padding-right: 15px; }
-#org_link_container { margin-bottom: 5px; padding-left: 4px; padding-bottom: 3px; padding-top: 3px; width: 100%; }
-#left_div { float:left; width: 20%; }
-#statusbar {}
-
-#frontsearch_table { }
-#frontsearch_table tr { margin: 6px; }
-
-/* ---------------------------------------------------------------------- */
-.sidebar_div { }
-.sidebar_header { margin-top: 10px; padding-left: 3px; margin-right: 6px; }
-
-.sidebar_extra_item { padding: 0px; margin-right: 8px;}
-.side_bar_item { padding-left: 8px; padding-right: 8px; padding-top: 4px; padding-bottom: 4px; margin-right: 8px; }
-
-.sidebar_item_active { margin-right: 0px; }
-
-.sidebar_chunk { width: 100%; }
-
-/* ---------------------------------------------------------------------- */
-/*
-#searchbar { margin-top: 18px; width: 100%; }
-#searchbar table tr td {font-weight: bold; font-size: 8pt; }
-#searchbar select, input { border-collapse: collapse; font-size: 9pt; }
-.searchbar_item { margin: 3px; font-size: 9pt; }
-.searchbar_label_span { font-size: 9pt; }
-#searchbar_table { border-collapse: collapse; }
-
-.search_box_container { width: 240px; padding: 3px; } border: 1px solid #A0A0A0;' class='color_2'>
-#search_box { width: 260px; }
-*/
-
-/* ---------------------------------------------------------------------- */
-#login_box { width: 70%; padding: 5px;}
-.login_text { margin-left: 8px; }
-
-/* ---------------------------------------------------------------------- */
-#result_table_div { text-align: left; width: 100%; }
-
-#search_nav_links { width: 100%; }
-#result_info_box { text-align: left; }
-#next_prev_links { padding-left: 2px; padding-right: 2px; text-align: left;}
-#goto_page_links { text-align: left; padding-left: 2px; padding-right: 2px;}
-
-#next_prev_links_dead {padding-left: 5px; padding-right: 5px;}
-
-#res_table { width: 100%; }
-
-.result_table_pic_cell { width: 43px;}
-.result_table_pic { height: 50px; width: 40px; border: none;}
-.result_table_pic_header { width: 43px; }
-
-.result_table_row { text-align: left; width: 100%;}
-.result_table_subtable { width: 100%; border-collapse: collapse; vertical-align: top;}
-.result_table_subtbody { height: 100%; width: 100%; }
-.result_table_title_cell { text-align: left; }
-
-.copy_count_cell { width: 12%; vertical-align: middle; text-align: center; }
-.copy_count_div { width: 4em; height: 99%; vertical-align: middle; text-align: center; }
-
-.search_page_nav_link { margin-right: 5px; }
-
-.np_nav_link { margin-right: 5px; }
-
-/* ---------------------------------------------------------------------- */
-
-#rdetail_detail_main { width: 100%; }
-#rdetail_details_table { padding-top: 10px; width: 100%; padding: 30px; border-collapse: collapse;}
-.rdetail_header { padding: 3px; padding-left: 10px;}
-.rdetail_desc { padding: 2px; padding-left: 2px; padding-right: 2px;}
-.rdetail_item { width: 75%; padding-left: 10px; }
-#rdetail_image { padding-right: 10px; }
-#rdetail_copy_info_table { padding: 4px; width: 100%; border-collapse: collapse; }
-.rdetail_copy_info_header_cell { padding: 2px; }
-.rdetail_copy_count_cell { text-align: center; }
-
-
-.tor_pic { width: 17px; height: 17px; border: none;}
-
-.dim2_border { border: 1px solid #F06000; -moz-border-radius: 3px;}
-
-.dim2 {
- filter:alpha(opacity=50);
- -moz-opacity:0.5;
- opacity: 0.5;
- text-decoration: none; }
-
-.dim {
- filter:alpha(opacity=10);
- -moz-opacity:0.1;
- opacity: 0.1;
- text-decoration: none; }
-
-/* ---------------------------------------------------------------------- */
-
-.myopac_link { width: 12%; margin: 3px; padding: 3px; text-align: center; vertical-align: middle; }
-.myopac_link_active { font-weight: 700;}
-.myopac_table thead tr td { padding: 2px; font-weight: 500; border: 1px solid #808080;}
-.myopac_table td { padding: 3px; }
-.myopac_form_pic { width: 20px; height: 20px; }
-
-.tips { padding: 2px; text-align: center; border: solid #E0E0E0 3px; -moz-border-radius: 3px; width: 99%; }
-
-.holds_cell { border: 1px solid #E0E0E0; padding: 5px; width: 50%;}
-.myopac_update_cell { border: 3px solid #E0E0E0; width:100%; padding-top: 4px; padding-bottom: 4px;}
-.myopac_update_span { padding: 5px;}
-
-
-.lowhits_div { width: 100%; border-top: 1px solid #E0E0E0; text-align: center;
- padding-top: 8px; padding-bottom: 8px; }
-
-.rdetail_extras_div {
- }
-
-.copy_info_region_row {
- padding: 6px;
- border: 2px solid #E0E0E0;
- font-weight: 600;
-}
-
-.rdetail_extras_td { padding-right: 15px; padding-left: 15px; border-right: 1px solid #888; }
-.rdetails_extra_links { border: 1px solid #808080; padding-right: 5px; padding-left: 5px; }
-
-
-.cn_browse_item { }
-.cn_browse_info { padding: 4px; border-bottom: 1px dashed #E0E0E0;}
-
-.bookshelf {
- /*background-image: url(http://10.4.0.10/woodgrain.jpeg);*/
- /*
- background-image: url(http://dev.gapines.org/opac/images/woodgrain.jpg);
- background-repeat: repeat;
- */
- border-bottom: 1px solid black;
-}
-
-.cn_browse_loading { width: 95%; padding: 15px; text-align: center; background: #E0F0E0; }
-
-.cn_browse_home_cn { border: 2px solid #E0F0E0; background: green; font-weight: 700;}
-
-.rdetail_context_row { background: #F0E0E0; }
-
-.unadorned_link { text-decoration: none; vertical-align: bottom; }
-
-
-/* ie does not support disabling <option> elements */
-.disabled_option { color: #808080; }
-
-.copy_more_info { padding-left: 6px; color: #804070; }
-
-.invalid_hold { background: #F0F0D0; }
-.myopac_summary_table td { padding : 3px; }
-
-.jacket_attrib { font-size: 7pt; }
-
-/* block that contains footer links and copyright */
-#copyright_block {
- width: 100%;
- text-align: center;
- vertical-align: bottom;
- margin-top: 10px;
-}
-
-/* block that contains the footer links */
-#footer_links {
- width: 80%;
- text-align: center;
- padding: 10px;
- margin: auto;
-}
-
-/* span for each link in the footer */
-.footer-link {
- margin-left: 10px;
- margin-right: 10px;
-}
-
-/* block that contains the copyright text */
-#copyright_text {
- margin-top: 4px;
-}
-
-/* block that contains the logo */
-#footer_logo {
- text-align: center;
- margin: auto;
-}
-
-#opac.result.sort { margin-left: 5px; }
-
-#xul_recipient_me { margin-left: 25px; }
-#myopac_holds_thaw_date_form {padding: 10px; text-align: center;}
-#myopac_holds_freeze_select_thaw {margin-right: 100px; margin-left: 100px; }
-
diff --git a/Open-ILS/web/opac/skin/craftsman/js/rdetail.js b/Open-ILS/web/opac/skin/craftsman/js/rdetail.js
deleted file mode 100644
index 025851b..0000000
--- a/Open-ILS/web/opac/skin/craftsman/js/rdetail.js
+++ /dev/null
@@ -1,1132 +0,0 @@
-
-/* */
-
-detachAllEvt('common', 'run');
-attachEvt("common", "run", rdetailDraw);
-attachEvt("rdetail", "recordDrawn", rdetailBuildStatusColumns);
-attachEvt("rdetail", "recordDrawn", rdetailBuildInfoRows);
-attachEvt("rdetail", "recordDrawn", rdetailGetPageIds);
-
-/* Per-skin configuration settings */
-var rdetailLocalOnly = true;
-var rdetailShowLocal = true;
-var rdetailShowCopyLocation = true;
-var rdetailGoogleBookPreview = true;
-var rdetailDisplaySerialHoldings = true;
-var rdetailEnableRefWorks = false;
-var rdetailRefWorksHost = 'http://www.refworks.com';
-
-/* vars vars vars */
-var record = null;
-var cp_statuses = null;
-var recordsCache = [];
-
-var copyRowParent = null;
-var copyRow = null;
-var statusRow = null;
-var numStatuses = null;
-var defaultCN;
-var callnumberCache = {};
-var globalCNCache = {};
-var localTOC;
-var cachedRecords;
-var _statusPositions = {};
-var opac_strings;
-
-var nextContainerIndex;
-
-var nextRecord;
-var prevRecord;
-
-var rdetailPrev = null;
-var rdetailNext = null;
-var rdetailStart = null;
-var rdetailEnd = null;
-
-/* serials are currently the only use of Dojo strings in the OPAC */
-if (rdetailDisplaySerialHoldings) {
- dojo.require("dijit.Menu");
- dojo.require("dijit.form.Button");
- dojo.requireLocalization("openils.opac", "opac");
- opac_strings = dojo.i18n.getLocalization("openils.opac", "opac");
-}
-
-function rdetailReload() {
- var args = {};
- args[PARAM_LOCATION] = getNewSearchLocation();
- args[PARAM_DEPTH] = depthSelGetDepth();
- goTo(buildOPACLink(args));
-}
-
-/* looks to see if we have a next and/or previous record in the
- record cache, if so, set up the nav links */
-function rdetailSetPaging(ids) {
-
- cachedRecords = {};
- cachedRecords.ids = ids;
-
- for( var i = 0; i < cachedRecords.ids.length; i++ ) {
- var rec = cachedRecords.ids[i];
- if( rec == getRid() ) {
- if( i > 0 ) prevRecord = cachedRecords.ids[i-1];
- if( i < cachedRecords.ids.length - 1 )
- nextRecord = cachedRecords.ids[i+1];
- break;
- }
- }
-
- $('np_offset').appendChild(text(i + 1));
- $('np_count').appendChild(text(getHitCount()));
-
- if(prevRecord) {
- unHideMe($('np_table'));
- unHideMe($('np_prev'));
- unHideMe($('np_start'));
- rdetailPrev = function() { _rdetailNav(prevRecord); };
- rdetailStart = function() { _rdetailNav(cachedRecords.ids[0]); };
- }
-
- if(nextRecord) {
- unHideMe($('np_table'));
- unHideMe($('np_next'));
- unHideMe($('np_end'));
- rdetailNext = function() { _rdetailNav(nextRecord); };
- rdetailEnd = function() { _rdetailNav(cachedRecords.ids[cachedRecords.ids.length-1]); };
- }
-
- runEvt('rdetail', 'nextPrevDrawn', i, cachedRecords.ids.length);
-}
-
-
-function _rdetailNav(id, offset) {
- var args = {};
- args[PARAM_RID] = id;
- goTo(buildOPACLink(args));
-}
-
-function rdetailDraw() {
-
- detachAllEvt('common','depthChanged');
- detachAllEvt('common','locationUpdated');
- attachEvt('common','depthChanged', rdetailReload);
- attachEvt('common','locationUpdated', rdetailReload);
- attachEvt('common','holdUpdated', rdetailReload);
- attachEvt('common','holdUpdateCanceled', rdetailReload);
-
- copyRowParent = G.ui.rdetail.cp_info_row.parentNode;
- copyRow = copyRowParent.removeChild(G.ui.rdetail.cp_info_row);
- statusRow = G.ui.rdetail.cp_status.parentNode;
- statusRow.id = '__rdsrow';
-
- G.ui.rdetail.cp_info_local.onclick = rdetailShowLocalCopies;
- G.ui.rdetail.cp_info_all.onclick = rdetailShowAllCopies;
-
- if(getLocation() == globalOrgTree.id())
- hideMe(G.ui.rdetail.cp_info_all);
-
- if(getRid()) {
-
- var req = new Request(FETCH_RMODS, getRid());
- req.callback(_rdetailDraw);
- req.send();
-
- } else { // No record ID was specified
-
- // If we have an ISBN in the URL, let's try to find that record
- // This allows direct linking by ISBN.
- // Note, this uses the first record it finds
- if(getRtype() == RTYPE_ISBN) {
- var req = new Request(FETCH_ADV_ISBN_RIDS, getAdvTerm() );
- req.callback(
- function(r) {
- var blob = r.getResultObject();
- if(blob && blob.count > 0)
- RID = blob.ids[0];
- var req2 = new Request(FETCH_RMODS, getRid());
- req2.callback(_rdetailDraw);
- req2.send();
- }
- );
- req.send();
- }
- }
-
-
- if (rdetailDisplaySerialHoldings) {
- var req = new Request(FETCH_MFHD_SUMMARY, getRid());
- req.callback(_holdingsDraw);
- req.send();
- if (isXUL()) {
- var here = findOrgUnit(getLocation());
- dojo.place("<div id='mfhd_ad_menu'></div>", "rdetail_details_table", "after");
- var mfhd_add = new dijit.Menu({style:"float: right;"});
- new dijit.MenuItem({onClick:function(){
- var req = new Request(CREATE_MFHD_RECORD, G.user.session, 1, here.id(), getRid());
- var res = req.send();
- alert(dojo.string.substitute(opac_strings.CREATED_MFHD_RECORD, [here.name()]));
- }, label:opac_strings.CREATE_MFHD}).placeAt(mfhd_add);
- mfhd_add.placeAt(mfhd_ad_menu);
- }
- }
-
- detachAllEvt("result", "idsReceived");
- G.evt.result.hitCountReceived = [];
- G.evt.result.recordReceived = [];
- G.evt.result.copyCountsReceived = [];
- G.evt.result.allRecordsReceived = [];
-
- if(isXUL())
- unHideMe($('rdetail_show_orders'));
-}
-
-function rdetailGetPageIds() {
- attachEvt("result", "idsReceived", rdetailSetPaging );
- resultFetchAllRecords = true;
- rresultCollectIds(true);
-}
-
-
-function buildunAPISpan (span, type, id) {
- var cgi = new CGI();
- var d = new Date();
-
- addCSSClass(span,'unapi-id');
-
- span.setAttribute(
- 'title', 'tag:' + cgi.server_name + ',' +
- d.getFullYear() + ':' + type + '/' + id
- );
-}
-
-function rdetailViewMarc(r,id) {
- hideMe($('rdetail_extras_loading'));
- $('rdetail_view_marc_box').innerHTML = r.getResultObject();
-
- var div = elem('div', { "class" : 'hide_me' });
- var span = div.appendChild( elem('abbr') );
-
- buildunAPISpan( span, 'biblio-record_entry', record.doc_id() );
-
- $('rdetail_view_marc_box').insertBefore(span, $('rdetail_view_marc_box').firstChild);
-}
-
-
-function rdetailShowLocalCopies() {
- rdetailShowLocal = true;
- rdetailBuildInfoRows();
- hideMe(G.ui.rdetail.cp_info_local);
- unHideMe(G.ui.rdetail.cp_info_all);
- hideMe(G.ui.rdetail.cp_info_none);
-}
-
-function rdetailShowAllCopies() {
-
- rdetailShowLocal = false;
- rdetailBuildInfoRows();
- hideMe(G.ui.rdetail.cp_info_all);
- unHideMe(G.ui.rdetail.cp_info_local);
- hideMe(G.ui.rdetail.cp_info_none);
-}
-
-function OpenMarcEditWindow(pcrud, rec) {
- /*
- To run in Firefox directly, must set signed.applets.codebase_principal_support
- to true in about:config
- */
- netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
- win = window.open('/xul/server/cat/marcedit.xul'); // XXX version?
- dojo.require('openils.PermaCrud');
-
- win.xulG = {
- "record": {"marc": rec.marc(), "rtype": "sre"},
- "save": {
- "label": opac_strings.SAVE_MFHD_LABEL,
- "func": function(xmlString) {
- rec.marc(xmlString);
- rec.ischanged(true);
- pcrud.update(rec);
- }
- },
- 'lock_tab' : typeof xulG != 'undefined' ? (typeof xulG['lock_tab'] != 'undefined' ? xulG.lock_tab : undefined) : undefined,
- 'unlock_tab' : typeof xulG != 'undefined' ? (typeof xulG['unlock_tab'] != 'undefined' ? xulG.unlock_tab : undefined) : undefined
- };
-}
-
-function loadMarcEditor(recId) {
- var pcrud = new openils.PermaCrud({"authtoken": G.user.session});
- var rec = pcrud.retrieve("sre", recId);
- if (rec) {
- OpenMarcEditWindow(pcrud, rec);
- }
-}
-
-/*
- * This function could be written much more intelligently
- * Limited brain power means that I'm brute-forcing it for now
- */
-function _holdingsDraw(h) {
- holdings = h.getResultObject();
- if (!holdings) { return null; }
-
- dojo.forEach(holdings, _holdingsDrawMFHD);
-
-}
-
-function _holdingsDrawMFHD(holdings, entryNum) {
-
- var here = findOrgUnit(getLocation());
- if (getDepth() > 0 || getDepth === 0 ) {
- while (getDepth() < findOrgDepth(here))
- here = findOrgUnit( here.parent_ou() );
- if (!orgIsMine(findOrgUnit(here), findOrgUnit(holdings.owning_lib()))) {
- return null;
- }
- }
-
- var hh = holdings.holdings();
- var hch = holdings.current_holdings();
- var hs = holdings.supplements();
- var hcs = holdings.current_supplements();
- var hi = holdings.indexes();
- var hci = holdings.current_indexes();
- var ho = holdings.online();
- var hm = holdings.missing();
- var hinc = holdings.incomplete();
- var hloc = holdings.location() || 'MFHD';
-
- if ( hh.length == 0 && hch.length == 0 && hs.length == 0 &&
- hcs.length == 0 && hi.length == 0 && hci.length == 0 &&
- ho.length == 0 && hm.length == 0 && hinc.length == 0
- ) {
-
- if (isXUL()) {
- /*
- * If we have a record, but nothing to show for it, then the
- * record is likely empty or corrupt. This gives cataloguers a
- * chance to add holdings or correct the record
- */
- hh = 'PLACEHOLDER';
- } else {
- return null;
- }
- }
-
- dojo.place("<table style='width: 100%;'><caption id='mfhdHoldingsCaption" + entryNum + "' class='rdetail_header color_1'>" +
- dojo.string.substitute(opac_strings.HOLDINGS_TABLE_CAPTION, [hloc]) +
- "</caption><tbody id='rdetail_holdings_tbody_" + entryNum +
- "'></tbody></table>", "rdetail_details_table", "after"
- );
- if (hh.length > 0) { _holdingsDrawMFHDEntry(entryNum, opac_strings.HOLDINGS, hh); }
- if (hch.length > 0) { _holdingsDrawMFHDEntry(entryNum, opac_strings.CURRENT_HOLDINGS, hch); }
- if (hs.length > 0) { _holdingsDrawMFHDEntry(entryNum, opac_strings.SUPPLEMENTS, hs); }
- if (hcs.length > 0) { _holdingsDrawMFHDEntry(entryNum, opac_strings.CURRENT_SUPPLEMENTS, hcs); }
- if (hi.length > 0) { _holdingsDrawMFHDEntry(entryNum, opac_strings.INDEXES, hi); }
- if (hci.length > 0) { _holdingsDrawMFHDEntry(entryNum, opac_strings.CURRENT_INDEXES, hci); }
- if (ho.length > 0) { _holdingsDrawMFHDEntry(entryNum, opac_strings.ONLINE_VOLUMES, ho); }
- if (hm.length > 0) { _holdingsDrawMFHDEntry(entryNum, opac_strings.MISSING_VOLUMES, hm); }
- if (hinc.length > 0) { _holdingsDrawMFHDEntry(entryNum, opac_strings.INCOMPLETE_VOLUMES, hinc); }
-
- if (isXUL()) {
- dojo.require('openils.Event');
- dojo.require('openils.PermaCrud');
- var mfhd_edit = new dijit.Menu({});
- new dijit.MenuItem({onClick: function(){loadMarcEditor(holdings.id())}, label:opac_strings.EDIT_MFHD_RECORD}).placeAt(mfhd_edit, "first");
- new dijit.MenuItem({onClick:function(){
- var pcrud = new openils.PermaCrud({"authtoken": G.user.session});
- var mfhd_rec = pcrud.retrieve("sre", holdings.id());
- if (mfhd_rec) {
- pcrud.eliminate(mfhd_rec);
- alert(dojo.string.substitute(opac_strings.DELETED_MFHD_RECORD, [holdings.id()]));
- }
- }, label:opac_strings.DELETE_MFHD}).placeAt(mfhd_edit, "last");
- // new dijit.MenuItem({onClick:function(){alert("Edit properties " + holdings.id());}, label:opac_strings.EDIT_PROPERTIES}).placeAt(mfhd_edit, "last");
- var mfhd_mb = new dijit.form.DropDownButton({dropDown: mfhd_edit, label:opac_strings.EDIT_MFHD_MENU, style:"float:right"});
- mfhd_mb.placeAt("mfhdHoldingsCaption" + entryNum, "last");
- mfhd_edit.startup();
- }
-}
-
-function _holdingsDrawMFHDEntry(entryNum, entryName, entry) {
- var flatEntry = entry.toString().replace(/,/g, ', ');
- dojo.place("<tr><td> </td><td nowrap='nowrap' class='rdetail_desc'>" + entryName + "</td><td class='rdetail_item'>" + flatEntry + "</td></tr>", "rdetail_holdings_tbody_" + entryNum, "last");
-}
-
-function _rdetailDraw(r) {
- record = r.getResultObject();
-
- runEvt('rdetail', 'recordRetrieved', record.doc_id());
-
- G.ui.rdetail.title.appendChild(text(record.title()));
- buildSearchLink(STYPE_AUTHOR, record.author(), G.ui.rdetail.author);
- G.ui.rdetail.isbn.appendChild(text(cleanISBN(record.isbn())));
- G.ui.rdetail.edition.appendChild(text(record.edition()));
- G.ui.rdetail.pubdate.appendChild(text(record.pubdate()));
- G.ui.rdetail.publisher.appendChild(text(record.publisher()));
- $('rdetail_physical_desc').appendChild(text(record.physical_description()));
- r = record.types_of_resource();
- if(r) {
- G.ui.rdetail.tor.appendChild(text(r[0]));
- setResourcePic( G.ui.rdetail.tor_pic, r[0]);
- }
- G.ui.rdetail.abstr.appendChild(text(record.synopsis()));
-
- try{
- if(record.isbn()) {
- if(ENABLE_ADDED_CONTENT_ATTRIB_LINKS) {
- unHideMe($('rdetail.jacket_attrib_div'));
- var href = $('rdetail.jacket_attrib_link').getAttribute('href') +cleanISBN(record.isbn());
- $('rdetail.jacket_attrib_link').setAttribute('href', href);
- }
- rdetailCheckForGBPreview();
-
- } else {
- hideMe($("rdetail.jacket_attrib_div"));
- hideMe($("rdetail_img_link"));
- }
- } catch(E) {}
-
-
- // see if the record has any external links
- var links = record.online_loc();
- for( var i = 0; links && links.length > 0 && i < links.length; i = i + 3 ) {
- var href = links[i];
- // avoid matching "HTTP: The Complete Reference"
- if( href.match(/https?:\/|ftps?:\/|mailto:/i) ) {
- unHideMe($('rdetail_online_row'));
- // MODS can contain a display label (used for the text of the link)
- // as well as a note about the URL; many legacy systems conflate the
- // two and generate MARC records that expect the note to be used as
- // the text of the link, with no display label; here's the canonical
- // format:
- //
- // 856 40 $uhttp://localhost$yDisplay label$zPublic note
- //
- // Note that the MARC21slim2MODS XSL concatenates $3 and $y together
- // (as $y was defined later in MARC21's life as the display label)
- var displayLabel = '' + links[i+1];
- var note = '' + links[i+2];
- if(!displayLabel || displayLabel.match(/https?:\/|ftps?:\/|mailto:/i)) {
- if(!note || note.match(/https?:\/|ftps?:\/|mailto:/i)) {
- displayLabel = href;
- } else {
- displayLabel = note;
- }
- }
- $('rdetail_online').appendChild(elem('a', {href:href,'class':'classic_link'}, displayLabel));
- if (note && note != displayLabel) {
- $('rdetail_online').appendChild(elem('span', {'class':'url_note'}, ' - ' + note));
- }
- $('rdetail_online').appendChild(elem('br'));
- }
- }
-
- // Fill in our unAPI ID, if anyone cares
- var abbrs = document.getElementsByTagName('abbr');
- var span;
- for (var i = 0; i < abbrs.length; i++) {
- if (abbrs[i].getAttribute('name') == 'unapi') {
- span = abbrs[i];
- break;
- }
- }
- buildunAPISpan( span, 'biblio-record_entry', record.doc_id() );
-
- $('rdetail_place_hold').setAttribute(
- 'href','javascript:holdsDrawEditor({record:"'+record.doc_id()+'",type:"T"});');
-
- var RW = $('rdetail_exp_refworks');
- if (RW && rdetailEnableRefWorks) {
-
- var here = (findOrgUnit(getLocation())).name();
- var org_name = here.replace(" ", "+");
- var cgi = new CGI();
-
- RW.setAttribute(
- 'href',
- rdetailRefWorksHost + '/express/expressimport.asp?vendor='
- + org_name
- + '&filter=MARC+Format&database=All+MARC+Formats&encoding=65001&url=http%3A%2F%2F'
- + cgi.server_name + '/opac/extras/supercat/marctxt/record/'
- + record.doc_id()
- );
-
- RW.setAttribute('target', 'RefWorksMain');
-
- unHideMe($('rdetail_exp_refworks_span'));
- }
-
- $('rdetail_img_link').setAttribute('href', buildISBNSrc(cleanISBN(record.isbn()), 'large'));
- G.ui.rdetail.image.setAttribute("src", buildISBNSrc(cleanISBN(record.isbn())));
- runEvt("rdetail", "recordDrawn");
- recordsCache.push(record);
-
- rdetailSetExtrasSelector();
-
- var breq = new Request(FETCH_BRE, [getRid()]);
- breq.callback( rdetailCheckDeleted );
- breq.send();
-
- resultBuildCaches( [ record ] );
- resultDrawSubjects();
- resultDrawSeries();
-
- // grab added content
-
- // Proxied through Evergreen AddedContent module
- acCollectData(cleanISBN(record.isbn()), rdetailhandleAC);
-
- var currentISBN = cleanISBN(record.isbn());
-
- // Not proxied, cross-site javascript
-
- // ChiliFresh
- if (chilifresh && chilifresh != '(none)' && currentISBN) {
- $('chilifreshReviewLink').setAttribute('id','isbn_'+currentISBN);
- $('chilifreshReviewResult').setAttribute('id','chili_review_'+currentISBN);
- unHideMe($('rdetail_reviews_link'));
- unHideMe($('rdetail_chilifresh_reviews'));
- try {
- chili_init();
- } catch(E) {
- dump(E + '\n');
- hideMe($('rdetail_reviews_link'));
- hideMe($('rdetail_chilifresh_reviews'));
- }
- }
-
- // Novelist
- if (novelist && currentISBN) {
- unHideMe($('rdetail_novelist_link'));
- }
-}
-
-
-
-function rdetailCheckDeleted(r) {
- var br = r.getResultObject()[0];
- if( isTrue(br.deleted()) ) {
- hideMe($('rdetail_place_hold'));
- $('rdetail_more_actions_selector').disabled = true;
- unHideMe($('rdetail_deleted_exp'));
- }
-}
-
-function rdetailSetExtrasSelector() {
- if(!grabUser()) return;
- unHideMe($('rdetail_more_actions'));
-
- var req = new Request(
- FETCH_CONTAINERS, G.user.session, G.user.id(), 'biblio', 'bookbag' );
- req.callback(rdetailAddBookbags);
- req.send();
-}
-
-function rdetailAddBookbags(r) {
-
- var containers = r.getResultObject();
- var selector = $('rdetail_more_actions_selector');
- var found = false;
- var index = 3;
- doSelectorActions(selector);
-
- for( var i = 0; i < containers.length; i++ ) {
- found = true;
- var container = containers[i];
- insertSelectorVal( selector, index++, container.name(),
- "container_" + container.id(), rdetailAddToBookbag, 1 );
- }
-
- nextContainerIndex = index;
-}
-
-var _actions = {};
-function rdetailNewBookbag() {
- var name = prompt($('rdetail_bb_new').innerHTML,"");
- if(!name) return;
-
- var id;
- if( id = containerCreate( name ) ) {
- alert($('rdetail_bb_success').innerHTML);
- var selector = $('rdetail_more_actions_selector');
- insertSelectorVal( selector, nextContainerIndex++, name,
- "container_" + id, rdetailAddToBookbag, 1 );
- setSelector( selector, 'start' );
- }
-}
-
-
-function rdetailAddToBookbag() {
- var selector = $('rdetail_more_actions_selector');
- var id = selector.options[selector.selectedIndex].value;
- setSelector( selector, 'start' );
-
- if( containerCreateItem( id.substring(10), record.doc_id() )) {
- alert($('rdetail_bb_item_success').innerHTML);
- }
-}
-
-
-var rdetailMarcFetched = false;
-function rdetailShowExtra(type, args) {
-
- hideMe($('rdetail_copy_info_div'));
- hideMe($('rdetail_summary_div'));
- hideMe($('rdetail_reviews_div'));
- hideMe($('rdetail_toc_div'));
- hideMe($('rdetail_anotes_div'));
- hideMe($('rdetail_excerpt_div'));
- hideMe($('rdetail_preview_div'));
- hideMe($('rdetail_marc_div'));
- hideMe($('cn_browse'));
- hideMe($('rdetail_cn_browse_div'));
- hideMe($('rdetail_novelist_div'));
- hideMe($('rdetail_notes_div'));
-
- removeCSSClass($('rdetail_copy_info_link'), 'rdetail_extras_selected');
- removeCSSClass($('rdetail_viewcn_link'), 'rdetail_extras_selected');
- removeCSSClass($('rdetail_summary_link'), 'rdetail_extras_selected');
- removeCSSClass($('rdetail_reviews_link'), 'rdetail_extras_selected');
- removeCSSClass($('rdetail_toc_link'), 'rdetail_extras_selected');
- removeCSSClass($('rdetail_excerpt_link'), 'rdetail_extras_selected');
- removeCSSClass($('rdetail_preview_link'), 'rdetail_extras_selected');
- removeCSSClass($('rdetail_anotes_link'), 'rdetail_extras_selected');
- removeCSSClass($('rdetail_annotation_link'), 'rdetail_extras_selected');
- removeCSSClass($('rdetail_viewmarc_link'), 'rdetail_extras_selected');
- removeCSSClass($('rdetail_novelist_link'), 'rdetail_extras_selected');
-
- switch(type) {
-
- case "copyinfo":
- unHideMe($('rdetail_copy_info_div'));
- addCSSClass($('rdetail_copy_info_link'), 'rdetail_extras_selected');
- break;
-
- case "summary":
- addCSSClass($('rdetail_summary_link'), 'rdetail_extras_selected');
- unHideMe($('rdetail_summary_div'));
- break;
-
- case "reviews":
- addCSSClass($('rdetail_reviews_link'), 'rdetail_extras_selected');
- unHideMe($('rdetail_reviews_div'));
- break;
-
- case "excerpt":
- addCSSClass($('rdetail_excerpt_link'), 'rdetail_extras_selected');
- unHideMe($('rdetail_excerpt_div'));
- break;
-
- case "preview":
- addCSSClass($('rdetail_preview_link'), 'rdetail_extras_selected');
- unHideMe($('rdetail_preview_div'));
- rdetailDisplayGBPreview();
- break;
-
- case "anotes":
- addCSSClass($('rdetail_anotes_link'), 'rdetail_extras_selected');
- unHideMe($('rdetail_anotes_div'));
- break;
-
- case "toc":
- addCSSClass($('rdetail_toc_link'), 'rdetail_extras_selected');
- unHideMe($('rdetail_toc_div'));
- break;
-
- case "marc":
- addCSSClass($('rdetail_viewmarc_link'), 'rdetail_extras_selected');
- unHideMe($('rdetail_marc_div'));
- if(rdetailMarcFetched) return;
- unHideMe($('rdetail_extras_loading'));
- rdetailMarcFetched = true;
- var req = new Request( FETCH_MARC_HTML, record.doc_id() );
- req.callback(rdetailViewMarc);
- req.send();
- break;
-
- case "novelist":
- addCSSClass($('rdetail_novelist_link'), 'rdetail_extras_selected');
- unHideMe($('rdetail_novelist_div'));
- break;
-
- case 'cn':
- addCSSClass($('rdetail_viewcn_link'), 'rdetail_extras_selected');
- unHideMe($('rdetail_cn_browse_div'));
- rdetailShowCNBrowse(defaultCN, getLocation(), null, true);
- break;
-
- }
-}
-
-function rdetailVolumeDetails(args) {
- var row = $(args.rowid);
- var tbody = row.parentNode;
- cpdBuild( tbody, row, record, args.cn, args.org, args.depth, args.copy_location );
- return;
-}
-
-function rdetailBuildCNList() {
-
- var select = $('cn_browse_selector');
- var index = 0;
- var arr = [];
- for( var cn in callnumberCache ) arr.push( cn );
- arr.sort();
-
- if( arr.length == 0 ) {
- hideMe($('rdetail_cn_browse_select_div'));
- return;
- }
-
- for( var i = 0; i < arr.length; i++ ) {
- var cn = arr[i];
- var opt = new Option(cn);
- select.options[index++] = opt;
- }
- select.onchange = rdetailGatherCN;
-}
-
-function rdetailGatherCN() {
- var cn = getSelectorVal($('cn_browse_selector'));
- rdetailShowCNBrowse( cn, getLocation(), getDepth(), true );
- setSelector( $('cn_browse_selector'), cn );
-}
-
-
-function rdetailShowCNBrowse( cn, loc, depth, fromOnclick ) {
-
- if(!cn) {
- unHideMe($('cn_browse_none'));
- hideMe($('rdetail_cn_browse_select_div'));
- return;
- }
-
- unHideMe($('rdetail_cn_browse_select_div'));
- rdetailBuildCNList();
- setSelector( $('cn_browse_selector'), cn );
- hideMe($('rdetail_copy_info_div'));
- hideMe($('rdetail_reviews_div'));
- hideMe($('rdetail_summary_div'));
- hideMe($('rdetail_toc_div'));
- hideMe($('rdetail_marc_div'));
- unHideMe($('rdetail_cn_browse_div'));
- unHideMe($('cn_browse'));
- if( !rdetailLocalOnly && ! fromOnclick ) depth = findOrgDepth(globalOrgTree);
- cnBrowseGo(cn, loc, depth);
-}
-
-function rdetailhandleAC(data) {
-
- if( data.summary.html ) {
- $('rdetail_summary_div').innerHTML = data.summary.html;
- unHideMe($('rdetail_summary_link'));
- }
-
- if( data.reviews.html ) {
- $('rdetail_review_container').innerHTML = data.reviews.html;
- unHideMe($('rdetail_reviews_link'));
- }
-
- if( data.toc.html ) {
- $('rdetail_toc_div').innerHTML = data.toc.html;
- unHideMe($('rdetail_toc_link'));
- }
-
- if( data.excerpt.html ) {
- $('rdetail_excerpt_div').innerHTML = data.excerpt.html;
- unHideMe($('rdetail_excerpt_link'));
- }
-
- if( data.anotes.html ) {
- $('rdetail_anotes_div').innerHTML = data.anotes.html;
- unHideMe($('rdetail_anotes_link'));
- }
-}
-
-function rdetailShowReviews(r) {
- hideMe($('rdetail_extras_loading'));
- var res = r.getResultObject();
- var par = $('rdetail_reviews_div');
- var template = par.removeChild($('rdetail_review_template'));
- if( res && res.length > 0 ) {
- unHideMe($('rdetail_reviews_link'));
- for( var i = 0; i < res.length; i++ ) {
- var rev = res[i];
- if( rev.text && rev.info ) {
- var node = template.cloneNode(true);
- $n(node, 'review_header').appendChild(text(rev.info));
- $n(node, 'review_text').appendChild(text(rev.text));
- par.appendChild(node);
- }
- }
- }
-}
-
-
-function rdetailShowTOC(r) {
- hideMe($('rdetail_extras_loading'));
- var resp = r.getResultObject();
- if(resp) {
- unHideMe($('rdetail_toc_link'));
- $('rdetail_toc_div').innerHTML = resp;
- }
-}
-
-function rdetailBuildInfoRows() {
- var req;
- var method = FETCH_COPY_COUNTS_SUMMARY;
- if (rdetailShowCopyLocation)
- method = FETCH_COPY_LOCATION_COUNTS_SUMMARY;
-
- if( rdetailShowLocal )
- req = new Request(method, record.doc_id(), getLocation(), getDepth())
- else
- req = new Request(method, record.doc_id());
- req.callback(_rdetailBuildInfoRows);
- req.send();
-}
-
-function _rdetailRows(node) {
-
- if( rdetailShowLocal && getLocation() != globalOrgTree.id() ) {
- var loc = findOrgUnit(getLocation());
- if( node ) {
- if( !orgIsMine(node, loc) && !orgIsMine(loc,node) ) return;
- } else {
- var kids = globalOrgTree.children();
- if (kids) {
- for( var i = 0; i < kids.length; i++ ) {
- var org = findOrgUnit(kids[i]);
- if( orgIsMine(org, loc) ) {
- node = org;
- break;
- }
- }
- }
- }
- }
-
- if(!node && findOrgType(globalOrgTree.ou_type()).can_have_vols())
- node = globalOrgTree;
-
-
- /* don't show hidden orgs */
-
- if(node) {
-
- if(!isXUL() && !isTrue(node.opac_visible())) return;
-
- var row = copyRow.cloneNode(true);
- row.id = "cp_info_" + node.id();
-
- var libtd = findNodeByName( row, config.names.rdetail.lib_cell );
- var cntd = findNodeByName( row, config.names.rdetail.cn_cell );
- var cpctd = findNodeByName( row, config.names.rdetail.cp_count_cell );
- var actions = $n(row, 'rdetail_actions_cell');
-
- var p = libtd.getElementsByTagName('a')[0];
- libtd.insertBefore(text(node.name()), p);
- libtd.setAttribute("style", "padding-left: " + ((findOrgDepth(node) - 1) * 9) + "px;");
-
- if(!findOrgType(node.ou_type()).can_have_vols()) {
-
- row.removeChild(cntd);
- row.removeChild(cpctd);
- row.removeChild(actions);
- row.setAttribute('novols', '1');
-
- libtd.setAttribute("colspan", numStatuses + 3 );
- libtd.colSpan = numStatuses + 3;
- addCSSClass(row, 'copy_info_region_row');
- }
-
- copyRowParent.appendChild(row);
-
- } else { node = globalOrgTree; }
-
- var kids = node.children();
- if (kids) {
- for( var c = 0; c < kids.length; c++ )
- _rdetailRows(kids[c]);
- }
-}
-
-function rdetailCNPrint(orgid, cn) {
- var div = cpdBuildPrintWindow( record, orgid);
- var template = div.removeChild($n(div, 'cnrow'));
- var rowNode = $("cp_info_" + orgid);
- cpdStylePopupWindow(div);
- openWindow(div.innerHTML);
-}
-
-var localCNFound = false;
-var ctr = 0;
-function _rdetailBuildInfoRows(r) {
-
- if (rdetailShowCopyLocation)
- unHideMe( $n( $('rdetail_copy_info_table'), 'rdetail_copylocation_header' ) );
-
- removeChildren(copyRowParent);
-
- _rdetailRows();
-
- var summary = r.getResultObject();
- if(!summary) return;
-
- var found = false;
- for( var i = 0; i < summary.length; i++ ) {
-
- var arr = summary[i];
- globalCNCache[arr[1]] = 1;
- var thisOrg = findOrgUnit(arr[0]);
- var rowNode = $("cp_info_" + thisOrg.id());
- if(!rowNode) continue;
-
- if(rowNode.getAttribute("used")) {
-
- if( rowNode.nextSibling ) {
- sib = rowNode.nextSibling;
- o ='cp_info_'+thisOrg.id()+'_';
- /* push the new row on as the last row for this org unit */
- while( sib && sib.id.match(o) ) {
- sib = sib.nextSibling;
- }
- if(sib)
- rowNode = copyRowParent.insertBefore(copyRow.cloneNode(true), sib);
- else
- rowNode = copyRowParent.appendChild(copyRow.cloneNode(true));
- } else {
- rowNode = copyRowParent.appendChild(copyRow.cloneNode(true));
- }
-
- var n = findNodeByName( rowNode, config.names.rdetail.lib_cell );
- n.appendChild(text(thisOrg.name()));
- n.setAttribute("style", "padding-left: " + ((findOrgDepth(thisOrg) - 1) * 9) + "px;");
- rowNode.id = "cp_info_" + thisOrg.id() + '_' + (++ctr);
-
- } else {
- rowNode.setAttribute("used", "1");
- }
-
- var cpc_temp = rowNode.removeChild(
- findNodeByName(rowNode, config.names.rdetail.cp_count_cell));
-
- var statuses = arr[2];
- var cl = '';
- if (rdetailShowCopyLocation) {
- cl = arr[2];
- statuses = arr[3];
- }
-
-
- rdetailApplyStatuses(rowNode, cpc_temp, statuses);
-
- var isLocal = false;
- if( orgIsMine( findOrgUnit(getLocation()), thisOrg ) ) {
- found = true;
- isLocal = true;
- if(!localCNFound) {
- localCNFound = true;
- defaultCN = arr[1];
- }
- }
-
- //if(isLocal) unHideMe(rowNode);
- unHideMe(rowNode);
-
- rdetailSetPath( thisOrg, isLocal );
- rdetailBuildBrowseInfo( rowNode, arr[1], isLocal, thisOrg, cl );
-
- if( i == summary.length - 1 && !defaultCN) defaultCN = arr[1];
- }
-
- if(!found) unHideMe(G.ui.rdetail.cp_info_none);
-}
-
-function rdetailBuildBrowseInfo(row, cn, local, orgNode, cl) {
-
- if(local) {
- var cache = callnumberCache[cn];
- if( cache ) cache.count++;
- else callnumberCache[cn] = { count : 1 };
- }
-
- var depth = getDepth();
- if( !local ) depth = findOrgDepth(globalOrgTree);
-
- $n(row, 'rdetail_callnumber_cell').appendChild(text(cn));
-
- if (rdetailShowCopyLocation) {
- var cl_cell = $n(row, 'rdetail_copylocation_cell');
- cl_cell.appendChild(text(cl));
- unHideMe(cl_cell);
- }
-
- _debug('setting action clicks for cn ' + cn);
-
- var dHref = 'javascript:rdetailVolumeDetails('+
- '{copy_location : "'+cl.replace(/\"/g, '\\"')+'", rowid : "'+row.id+'", cn :"'+cn.replace(/\"/g, '\\"')+'", depth:"'+depth+'", org:"'+orgNode.id()+'", local: '+local+'});';
-
- var bHref = 'javascript:rdetailShowCNBrowse("' + cn.replace(/\"/g, '\\"') + '", '+orgNode.id()+', "'+depth+'");';
-
- unHideMe( $n(row, 'details') )
- $n(row, 'details').setAttribute('href', dHref);
- unHideMe( $n(row, 'browse') )
- $n(row, 'browse').setAttribute('href', bHref);
-
- if(isXUL()) {
- unHideMe($n(row, 'hold_div'));
- $n(row, 'hold').onclick = function() {
- var req = new Request(FETCH_VOLUME_BY_INFO, cn, record.doc_id(), orgNode.id());
- req.callback(
- function(r) {
- var vol = r.getResultObject();
- holdsDrawEditor({type: 'V', volumeObject : vol});
- }
- );
- req.send();
- };
- }
-}
-
-// sets the path to org as 'active' and displays the path if it's local
-function rdetailSetPath(org, local) {
- if( findOrgDepth(org) == 0 ) return;
- var row = $("cp_info_" + org.id());
- row.setAttribute("hasinfo", "1");
- unHideMe(row);
- rdetailSetPath(findOrgUnit(org.parent_ou()), local);
-}
-
-//Append all the statuses for a given summary to the
-//copy summary table
-function rdetailApplyStatuses( row, template, statuses ) {
- for( var j in _statusPositions ) {
- var stat = _statusPositions[j];
- var val = statuses[stat.id()];
- var nn = template.cloneNode(true);
- if(val) nn.appendChild(text(val));
- else nn.appendChild(text(0));
- row.appendChild(nn);
- }
-}
-
-//Add one td (creating a new column) to the copy summary
-//table for each opac_visible copy status
-function rdetailBuildStatusColumns() {
-
- rdetailGrabCopyStatuses();
- var parent = statusRow;
- var template = parent.removeChild(G.ui.rdetail.cp_status);
-
- var i = 0;
- for( i = 0; i < cp_statuses.length; i++ ) {
-
- var c = cp_statuses[i];
- if( c && isTrue(c.opac_visible()) ) {
- var name = c.name();
- _statusPositions[i] = c;
- var node = template.cloneNode(true);
- var data = findNodeByName( node, config.names.rdetail.cp_status);
-
- data.appendChild(text(name));
- parent.appendChild(node);
- }
- }
-
- numStatuses = 0;
- for(x in _statusPositions) numStatuses++;
-}
-
-function rdetailGrabCopyStatuses() {
- if(cp_statuses) return cp_statuses;
- var req = new Request(FETCH_COPY_STATUSES);
- req.send(true);
- cp_statuses = req.result();
- cp_statuses = cp_statuses.sort(_rdetailSortStatuses);
-}
-
-function _rdetailSortStatuses(a, b) {
- return parseInt(a.id()) - parseInt(b.id());
-}
-
-/**
- * Check for a Google Book preview after the main page loads
- */
-function rdetailCheckForGBPreview() {
- if (!rdetailGoogleBookPreview) return;
- dojo.addOnLoad(function() {
- searchForGBPreview( cleanISBN(record.isbn()) );
- });
-}
-
-/**
- *
- * @param {DOM object} isbn The form element containing the input parameters "isbns"
- */
-function searchForGBPreview( isbn ) {
- dojo.require("dojo.io.script");
- dojo.io.script.get({"url": "https://www.google.com/jsapi"});
- dojo.io.script.get({"url": "http://books.google.com/books/api.js", "content": {"key": "notsupplied", "callback": "google.loader.callbacks.books"}});
- dojo.io.script.get({"url": "http://books.google.com/books", "content": { "bibkeys": isbn, "jscmd": "viewapi", "callback": "GBPreviewCallback"}});
-}
-
-/**
- * This function is the call-back function for the JSON scripts which
- * executes a Google book search response.
- *
- * XXX I18N of text needed
- *
- * @param {JSON} GBPBookInfo is the JSON object pulled from the Google books service.
- */
-function GBPreviewCallback(GBPBookInfo) {
- var GBPreviewDiv = document.getElementById("rdetail_preview_div");
- var GBPBook;
-
- for ( i in GBPBookInfo ) {
- GBPBook = GBPBookInfo[i];
- }
-
- if ( !GBPBook ) {
- return;
- }
-
- if ( GBPBook.preview != "noview" ) {
- // Add a button below the book cover image to load the preview.
- GBPBadge = document.createElement( 'img' );
- GBPBadge.src = 'http://books.google.com/intl/en/googlebooks/images/gbs_preview_button1.gif';
- GBPBadge.title = $('rdetail_preview_badge').innerHTML;
- GBPBadge.style.border = 0;
- GBPBadgelink = document.createElement( 'a' );
- GBPBadgelink.href = 'javascript:rdetailShowExtra("preview");';
- GBPBadgelink.appendChild( GBPBadge );
- $('rdetail_image_cell').appendChild( GBPBadgelink );
- $('rdetail_preview_div').style.height = 600;
-
- /* Display the "Preview" tab in the Extras section */
- unHideMe( $('rdetail_preview_link' ) );
- }
-}
-
-/**
- * This is called when the user clicks on the 'Preview' link. We assume
- * a preview is available from Google if this link was made visible.
- *
- * XXX I18N of Google Book Preview language attribute needed
- */
-function rdetailDisplayGBPreview() {
- unHideMe($('rdetail_extras_loading'));
- GBPreviewPane = $('rdetail_preview_div');
- if ( GBPreviewPane.getAttribute('loaded') == null ||
- GBPreviewPane.getAttribute('loaded') == "false" ) {
- google.load("books", "0", {"callback" : rdetailGBPViewerLoadCallback, "language": "en"} );
- GBPreviewPane.setAttribute('loaded', 'true');
- }
-}
-
-function rdetailGBPViewerLoadCallback() {
- hideMe($('rdetail_extras_loading'));
- var GBPViewer = new google.books.DefaultViewer(document.getElementById('rdetail_preview_div'));
- GBPViewer.load('ISBN:' + cleanISBN(record.isbn()) );
-
-}
-
diff --git a/Open-ILS/web/opac/skin/craftsman/js/result_common.js b/Open-ILS/web/opac/skin/craftsman/js/result_common.js
deleted file mode 100644
index 1ae9074..0000000
--- a/Open-ILS/web/opac/skin/craftsman/js/result_common.js
+++ /dev/null
@@ -1,822 +0,0 @@
-
-var recordsHandled = 0;
-var recordsCache = [];
-var lowHitCount = 4;
-var isbnList = '';
-var googleBooksLink = true;
-
-var resultFetchAllRecords = false;
-var resultCompiledSearch = null;
-
-/* set up the event handlers */
-if( findCurrentPage() == MRESULT || findCurrentPage() == RRESULT ) {
- G.evt.result.hitCountReceived.push(resultSetHitInfo);
- G.evt.result.recordReceived.push(resultDisplayRecord, resultAddCopyCounts);
- G.evt.result.copyCountsReceived.push(resultDisplayCopyCounts);
- G.evt.result.allRecordsReceived.push(resultBuildCaches, resultDrawSubjects,
- resultDrawAuthors, resultDrawSeries, function(){unHideMe($('result_info_2'))},
- fetchGoogleBooksLink,fetchChiliFreshReviews);
-
- attachEvt('result','lowHits',resultLowHits);
- attachEvt('result','zeroHits',resultZeroHits);
- attachEvt( "common", "locationUpdated", resultSBSubmit );
- /* do this after we have ID's so the rank for mr pages will be correct */
- attachEvt("result", "preCollectRecords", resultPaginate);
-}
-
-function resultSBSubmit(){searchBarSubmit();}
-
-/* returns the last 'index' postion ocurring in this page */
-function resultFinalPageIndex() {
- if(getHitCount() < (getOffset() + getDisplayCount()))
- return getHitCount() - 1;
- return getOffset() + getDisplayCount() - 1;
-}
-
-
-
-
-/* generic search method */
-function resultCollectSearchIds( type, method, handler ) {
-
- var sort = (getSort() == SORT_TYPE_REL) ? null : getSort();
- var sortdir = (sort) ? ((getSortDir()) ? getSortDir() : SORT_DIR_ASC) : null;
-
- var item_type;
- var item_form;
- var args = {};
-
- if( type ) {
- var form = parseForm(getForm());
- item_type = form.item_type;
- item_form = form.item_form;
-
- } else {
- item_type = (getItemType()) ? getItemType().split(/,/) : null;
- item_form = (getItemForm()) ? getItemForm().split(/,/) : null;
- }
-
- var limit = (resultFetchAllRecords) ? 1000 : getDisplayCount();
-
- if( getOffset() > 0 ) {
- if( getHitCount() > 0 && (getOffset() + getDisplayCount()) > getHitCount() )
- limit = getHitCount() - getOffset();
- }
-
- var lasso = getLasso();
-
- if (lasso) args.org_unit = -lasso;
- else args.org_unit = getLocation();
-
- args.depth = getDepth();
- args.limit = limit;
- args.offset = getOffset();
- args.visibility_limit = 3000;
- args.default_class = getStype();
-
- if(sort) args.sort = sort;
- if(sortdir) args.sort_dir = sortdir;
- if(item_type) args.item_type = item_type;
- if(item_form) args.item_form = item_form;
- if(getAvail()) args.available = 1;
-
-
- if(getAudience()) args.audience = getAudience().split(/,/);
- if(getLitForm()) args.lit_form = getLitForm().split(/,/);
- if(getLanguage()) args.language = getLanguage().split(/,/);
- if(getBibLevel()) args.bib_level = getBibLevel().split(/,/);
- if(getCopyLocs()) args.locations = getCopyLocs().split(/,/);
- if(getPubdBefore()) args.before = getPubdBefore();
- else if(getPubdAfter()) args.after = getPubdAfter();
- else if(getPubdBetween()) args.between = getPubdBetween().split(/,/);
-
- _debug('Search args: ' + js2JSON(args));
- _debug('Raw query: ' + getTerm());
-
- var req = new Request(method, args, getTerm(), 1);
- req.callback(handler);
- req.send();
-}
-
-
-
-
-
-/* set the search result info, number of hits, which results we're
- displaying, links to the next/prev pages, etc. */
-function resultSetHitInfo() {
-
- var lasso = getLasso();
- if (!lasso) {
- /* tell the user where the results are coming from */
- var baseorg = findOrgUnit(getLocation());
- var depth = getDepth();
- var mydepth = findOrgDepth(baseorg);
- if( findOrgDepth(baseorg) != depth ) {
- var tmporg = baseorg;
- while( mydepth > depth ) {
- mydepth--;
- tmporg = findOrgUnit(tmporg.parent_ou());
- }
- unHideMe($('including_results_for'));
- $('including_results_location').appendChild(text(tmporg.name()));
- }
- }
-
-
- try{searchTimer.stop()}catch(e){}
-
- //if( findCurrentPage() == MRESULT ) {
- if( findCurrentPage() == MRESULT ||
-
- (findCurrentPage() == RRESULT &&
- (
- getRtype() == RTYPE_TITLE ||
- getRtype() == RTYPE_AUTHOR ||
- getRtype() == RTYPE_SUBJECT ||
- getRtype() == RTYPE_SERIES ||
- getRtype() == RTYPE_KEYWORD
- )
-
- ) ) {
-
- if(getHitCount() <= lowHitCount && getTerm())
- runEvt('result', 'lowHits');
- }
-
- if(getHitCount() == 0) {
- runEvt('result', 'zeroHits');
- return;
- }
-
-
- var pages = getHitCount() / getDisplayCount();
- if(pages % 1) pages = parseInt(pages) + 1;
-
-
-
- var cpage = (getOffset()/getDisplayCount()) + 1;
-
- G.ui.result.current_page.appendChild(text(cpage));
- G.ui.result.num_pages.appendChild(text(pages + ")")); /* the ) is dumb */
-
- $('current_page2').appendChild(text(cpage));
- $('num_pages2').appendChild(text(pages + ")")); /* the ) is dumb */
-
- /* set the offsets */
- var offsetEnd = getDisplayCount() + getOffset();
- if( getDisplayCount() > (getHitCount() - getOffset()))
- offsetEnd = getHitCount();
-
- G.ui.result.offset_end.appendChild(text(offsetEnd));
- G.ui.result.offset_start.appendChild(text(getOffset() + 1));
-
- $('offset_end2').appendChild(text(offsetEnd));
- $('offset_start2').appendChild(text(getOffset() + 1));
-
- G.ui.result.result_count.appendChild(text(getHitCount()));
- unHideMe(G.ui.result.info);
-
- $('result_count2').appendChild(text(getHitCount()));
- unHideMe($('result_info_div2'));
-}
-
-function resultLowHits() {
- showCanvas();
- unHideMe($('result_low_hits'));
- if(getHitCount() > 0)
- unHideMe($('result_low_hits_msg'));
-
- var words = [];
- for(var key in resultCompiledSearch.searches)
- words.push(resultCompiledSearch.searches[key].term);
-
- var sreq = new Request(CHECK_SPELL, words.join(' '));
- sreq.callback(resultSuggestSpelling);
- sreq.send();
-
- for(var key in resultCompiledSearch.searches) {
- var areq = new Request(FETCH_CROSSREF, key, resultCompiledSearch.searches[key].term);
- areq.callback(resultLowHitXRef);
- areq.send();
- }
-
- if( !(getForm() == null || getForm() == 'all' || getForm() == "") ) {
- var a = {};
- a[PARAM_FORM] = "all";
- $('low_hits_remove_format_link').setAttribute('href',buildOPACLink(a));
- unHideMe($('low_hits_remove_format'));
- }
-
- resultSuggestSearchClass();
-
- if(getTerm()) resultExpandSearch(); /* advanced search */
-}
-
-var lowHitsXRefSet = {};
-var lowHitsXRefLink;
-var lowHitsXRefLinkParent;
-function resultLowHitXRef(r) {
- if(!lowHitsXRefLink){
- lowHitsXRefLinkParent = $('low_hits_xref_link').parentNode;
- lowHitsXRefLink = lowHitsXRefLinkParent.removeChild($('low_hits_xref_link'));
- }
- var res = r.getResultObject();
- var arr = res.from;
- arr.concat(res.also);
- if(arr && arr.length > 0) {
- unHideMe($('low_hits_cross_ref'));
- var word;
- var c = 0;
- while( word = arr.shift() ) {
-
- if (lowHitsXRefSet[word] == 1) continue;
- lowHitsXRefSet[word] = 1;
-
- if(c++ > 20) break;
- var a = {};
- a[PARAM_TERM] = word;
- var template = lowHitsXRefLink.cloneNode(true);
- template.setAttribute('href',buildOPACLink(a));
- template.appendChild(text(word));
- lowHitsXRefLinkParent.appendChild(template);
- lowHitsXRefLinkParent.appendChild(text(' '));
- }
- }
-}
-
-function resultZeroHits() {
- showCanvas();
- unHideMe($('result_low_hits'));
- unHideMe($('result_zero_hits_msg'));
- //if(getTerm()) resultExpandSearch(); /* advanced search */
-}
-
-function resultExpandSearch() {
- var top = findOrgDepth(globalOrgTree);
- if(getDepth() == top) return;
- unHideMe($('low_hits_expand_range'));
- var par = $('low_hits_expand_link').parentNode;
- var template = par.removeChild($('low_hits_expand_link'));
-
- var bottom = getDepth();
- while( top < bottom ) {
- var a = {};
- a[PARAM_DEPTH] = top;
- var temp = template.cloneNode(true);
- temp.appendChild(text(findOrgTypeFromDepth(top).opac_label()))
- temp.setAttribute('href',buildOPACLink(a));
- par.appendChild(temp);
- top++;
- }
-}
-
-function resultSuggestSearchClass() {
- var stype = getStype();
- if(stype == STYPE_KEYWORD) return;
- var a = {}; var ref;
- unHideMe($('low_hits_search_type'));
- if(stype != STYPE_TITLE) {
- ref = $('low_hits_title_search');
- unHideMe(ref);
- a[PARAM_STYPE] = STYPE_TITLE;
- ref.setAttribute('href',buildOPACLink(a));
- }
- if(stype != STYPE_AUTHOR) {
- ref = $('low_hits_author_search');
- unHideMe(ref);
- a[PARAM_STYPE] = STYPE_AUTHOR;
- ref.setAttribute('href',buildOPACLink(a));
- }
- if(stype != STYPE_SUBJECT) {
- ref = $('low_hits_subject_search');
- unHideMe(ref);
- a[PARAM_STYPE] = STYPE_SUBJECT;
- ref.setAttribute('href',buildOPACLink(a));
- }
- if(stype != STYPE_KEYWORD) {
- ref = $('low_hits_keyword_search');
- unHideMe(ref);
- a[PARAM_STYPE] = STYPE_KEYWORD;
- ref.setAttribute('href',buildOPACLink(a));
- }
- if(stype != STYPE_SERIES) {
- ref = $('low_hits_series_search');
- unHideMe(ref);
- a[PARAM_STYPE] = STYPE_SERIES;
- ref.setAttribute('href',buildOPACLink(a));
- }
-}
-
-function resultSuggestSpelling(r) {
- var res = r.getResultObject();
- var phrase = getTerm();
- var words = phrase.split(/ /);
-
- var newterm = "";
-
- for( var w = 0; w < words.length; w++ ) {
- var word = words[w];
- var blob = grep(res, function(i){return (i.word == word);});
- if( blob ) blob = blob[0];
- else continue;
- if( blob.word == word ) {
- if( blob.suggestions && blob.suggestions[0] ) {
- newterm += " " + blob.suggestions[0];
- unHideMe($('did_you_mean'));
- } else {
- newterm += " " + word;
- }
- }
- }
-
- var arg = {};
- arg[PARAM_TERM] = newterm;
- $('spell_check_link').setAttribute('href', buildOPACLink(arg));
- $('spell_check_link').appendChild(text(newterm));
-}
-
-
-function resultPaginate() {
- var o = getOffset();
-
- if( !( ((o) + getDisplayCount()) >= getHitCount()) ) {
-
- var args = {};
- args[PARAM_OFFSET] = o + getDisplayCount();
- args[PARAM_SORT] = SORT;
- args[PARAM_SORT_DIR] = SORT_DIR;
- args[PARAM_RLIST] = new CGI().param(PARAM_RLIST);
-
- G.ui.result.next_link.setAttribute("href", buildOPACLink(args));
- addCSSClass(G.ui.result.next_link, config.css.result.nav_active);
-
- $('next_link2').setAttribute("href", buildOPACLink(args));
- addCSSClass($('next_link2'), config.css.result.nav_active);
-
- args[PARAM_OFFSET] = getHitCount() - (getHitCount() % getDisplayCount());
-
- /* when hit count is divisible by display count, we have to adjust */
- if( getHitCount() % getDisplayCount() == 0 )
- args[PARAM_OFFSET] -= getDisplayCount();
-
- /*
- G.ui.result.end_link.setAttribute("href", buildOPACLink(args));
- addCSSClass(G.ui.result.end_link, config.css.result.nav_active);
-
- $('end_link2').setAttribute("href", buildOPACLink(args));
- addCSSClass($('end_link2'), config.css.result.nav_active);
- */
- }
-
- if( o > 0 ) {
-
- var args = {};
- args[PARAM_SORT] = SORT;
- args[PARAM_SORT_DIR] = SORT_DIR;
- args[PARAM_RLIST] = new CGI().param(PARAM_RLIST);
-
- args[PARAM_OFFSET] = o - getDisplayCount();
- G.ui.result.prev_link.setAttribute( "href", buildOPACLink(args));
- addCSSClass(G.ui.result.prev_link, config.css.result.nav_active);
-
- $('prev_link2').setAttribute( "href", buildOPACLink(args));
- addCSSClass($('prev_link2'), config.css.result.nav_active);
-
- args[PARAM_OFFSET] = 0;
- G.ui.result.home_link.setAttribute( "href", buildOPACLink(args));
- addCSSClass(G.ui.result.home_link, config.css.result.nav_active);
-
- $('search_home_link2').setAttribute( "href", buildOPACLink(args));
- addCSSClass($('search_home_link2'), config.css.result.nav_active);
- }
-
- if(getDisplayCount() < getHitCount()) {
- unHideMe($('start_end_links_span'));
- unHideMe($('start_end_links_span2'));
- }
-
- showCanvas();
- try{searchTimer.stop()}catch(e){}
-}
-
-function buildunAPISpan (span, type, id) {
- var cgi = new CGI();
- var d = new Date();
-
- addCSSClass(span,'unapi-id');
-
- span.setAttribute(
- 'title',
- 'tag:' + cgi.server_name + ',' +
- d.getFullYear() +
- ':' + type + '/' + id
- );
-}
-
-function unhideGoogleBooksLink (data) {
- for ( var i in data ) {
- //if (data[i].preview == 'noview') continue;
-
- var gbspan = $n(document.documentElement, 'googleBooksLink-' + i);
- var gba = $n(gbspan, "googleBooks-link");
-
- gba.setAttribute(
- 'href',
- data[i].info_url
- );
- removeCSSClass( gbspan, 'hide_me' );
- }
-}
-
-/* display the record info in the record display table 'pos' is the
- zero based position the record should have in the display table */
-function resultDisplayRecord(rec, pos, is_mr) {
-
- if(rec == null) rec = new mvr(); /* so the page won't die if there was an error */
- recordsHandled++;
- recordsCache.push(rec);
-
- var r = table.rows[pos + 1];
- var currentISBN = cleanISBN(rec.isbn());
-
- if (googleBooksLink) {
- var gbspan = $n(r, "googleBooksLink");
- if (currentISBN) {
- gbspan.setAttribute(
- 'name',
- gbspan.getAttribute('name') + '-' + currentISBN
- );
-
- if (isbnList) isbnList += ', ';
- isbnList += currentISBN;
- }
- }
-
- if (currentISBN && chilifresh && chilifresh != '(none)') {
- var cfrow = $n(r, "chilifreshReview");
- if (cfrow) {
- removeCSSClass( cfrow, 'hide_me' );
- }
- var cflink = $n(r, "chilifreshReviewLink");
- if (cflink) {
- cflink.setAttribute(
- 'id',
- 'isbn_' + currentISBN
- );
- }
- var cfdiv = $n(r, "chilifreshReviewResult");
- if (cfdiv) {
- cfdiv.setAttribute(
- 'id',
- 'chili_review_' + currentISBN
- )
- }
- }
-
-/*
- try {
- var rank = parseFloat(ranks[pos + getOffset()]);
- rank = parseInt( rank * 100 );
- var relspan = $n(r, "relevancy_span");
- relspan.appendChild(text(rank));
- unHideMe(relspan.parentNode);
- } catch(e){ }
-*/
-
- var pic = $n(r, config.names.result.item_jacket);
- pic.setAttribute("src", buildISBNSrc(currentISBN));
-
- var title_link = $n(r, config.names.result.item_title);
- var author_link = $n(r, config.names.result.item_author);
-
- if( is_mr ) {
- var onlyrec = onlyrecord[ getOffset() + pos ];
- if(onlyrec) {
- buildunAPISpan($n(r,'unapi'), 'biblio-record_entry', onlyrec);
-
- var args = {};
- args.page = RDETAIL;
- args[PARAM_OFFSET] = 0;
- args[PARAM_RID] = onlyrec;
- args[PARAM_MRID] = rec.doc_id();
- pic.parentNode.setAttribute("href", buildOPACLink(args));
- title_link.setAttribute("href", buildOPACLink(args));
- title_link.appendChild(text(normalize(truncate(rec.title(), 65))));
-
- var here = findOrgUnit(getLocation());
- if (findOrgType(here.ou_type()).can_have_vols()) { // show the callnumber list
- dojo.require('openils.BibTemplate');
- var l_cn_list = $n(r,'local_callnumber_list');
-
- setTimeout(
- function () {
- unHideMe(l_cn_list);
- new openils.BibTemplate({
- root : l_cn_list,
- record : '' + onlyrec + '[10]',
- org_unit : here.shortname()
- }).render();
- }, 0
- );
- }
-
- } else {
- buildunAPISpan($n(r,'unapi'), 'metabib-metarecord', rec.doc_id());
-
- buildTitleLink(rec, title_link);
- var args = {};
- args.page = RRESULT;
- args[PARAM_OFFSET] = 0;
- args[PARAM_MRID] = rec.doc_id();
- pic.parentNode.setAttribute("href", buildOPACLink(args));
- }
-
- unHideMe($n(r,'place_hold_span'));
- $n(r,'place_hold_link').setAttribute(
- 'href','javascript:holdsDrawEditor({record:"'+rec.doc_id()+'",type:"M"});');
-
- } else {
- buildunAPISpan($n(r,'unapi'), 'biblio-record_entry', rec.doc_id());
-
- buildTitleDetailLink(rec, title_link);
- var args = {};
- args.page = RDETAIL;
- args[PARAM_OFFSET] = 0;
- args[PARAM_RID] = rec.doc_id();
- pic.parentNode.setAttribute("href", buildOPACLink(args));
-
- unHideMe($n(r,'place_hold_span'));
- $n(r,'place_hold_link').setAttribute(
- 'href','javascript:holdsDrawEditor({record:"'+rec.doc_id()+'",type:"T"});');
-
- var here = findOrgUnit(getLocation());
- if (findOrgType(here.ou_type()).can_have_vols()) { // show the callnumber list
- dojo.require('openils.BibTemplate');
- var l_cn_list = $n(r,'local_callnumber_list');
- var onlyrec = rec.doc_id();
-
- setTimeout(
- function () {
- unHideMe(l_cn_list);
- new openils.BibTemplate({
- root : l_cn_list,
- record : '' + onlyrec + '[10]',
- org_unit : here.shortname()
- }).render();
- }, 0
- );
- }
- }
-
- buildSearchLink(STYPE_AUTHOR, rec.author(), author_link);
-
- if(! is_mr ) {
-
- if(!isNull(rec.edition())) {
- unHideMe( $n(r, "result_table_extra_span"));
- $n(r, "result_table_edition_span").appendChild( text( rec.edition()) );
- }
- if(!isNull(rec.pubdate())) {
- unHideMe( $n(r, "result_table_extra_span"));
- unHideMe($n(r, "result_table_pub_span"));
- $n(r, "result_table_pub_span").appendChild( text( rec.pubdate() ));
- }
- if(!isNull(rec.publisher()) ) {
- unHideMe( $n(r, "result_table_extra_span"));
- unHideMe($n(r, "result_table_pub_span"));
- $n(r, "result_table_pub_span").appendChild( text( " " + rec.publisher() ));
- }
-
- if(!isNull(rec.physical_description()) ) {
- unHideMe( $n(r, "result_table_extra_span"));
- var t = " " + rec.physical_description();
- //$n(r, "result_table_phys_span").appendChild( text(t.replace(/:.*/g,'')));
- $n(r, "result_table_phys_span").appendChild( text(t));
- }
-
- }
-
- resultBuildFormatIcons( r, rec, is_mr );
-
- unHideMe(r);
-
- runEvt("result", "recordDrawn", rec.doc_id(), title_link);
-
- /*
- if(resultPageIsDone()) {
- runEvt('result', 'allRecordsReceived', recordsCache);
- }
- */
-}
-
-function _resultFindRec(id) {
- for( var i = 0; i != recordsCache.length; i++ ) {
- var rec = recordsCache[i];
- if( rec && rec.doc_id() == id )
- return rec;
- }
- return null;
-}
-
-
-function resultBuildFormatIcons( row, rec, is_mr ) {
-
- var ress = rec.types_of_resource();
-
- for( var i in ress ) {
-
- var res = ress[i];
- if(!res) continue;
-
- var link = $n(row, res + "_link");
- link.title = res;
- var img = link.getElementsByTagName("img")[0];
- removeCSSClass( img, config.css.dim );
-
- var f = getForm();
- if( f != "all" ) {
- if( f == modsFormatToMARC(res) )
- addCSSClass( img, "dim2_border");
- }
-
- var args = {};
- args[PARAM_OFFSET] = 0;
-
- if(is_mr) {
- args.page = RRESULT;
- args[PARAM_TFORM] = modsFormatToMARC(res);
- args[PARAM_MRID] = rec.doc_id();
-
- } else {
- args.page = RDETAIL
- args[PARAM_RID] = rec.doc_id();
- }
-
- link.setAttribute("href", buildOPACLink(args));
-
- }
-}
-
-function fetchGoogleBooksLink () {
- if (isbnList && googleBooksLink) {
- var scriptElement = document.createElement("script");
- scriptElement.setAttribute("id", "jsonScript");
- scriptElement.setAttribute("src",
- "http://books.google.com/books?bibkeys=" +
- escape(isbnList) + "&jscmd=viewapi&callback=unhideGoogleBooksLink");
- scriptElement.setAttribute("type", "text/javascript");
- // make the request to Google Book Search
- document.documentElement.firstChild.appendChild(scriptElement);
- }
-}
-
-function fetchChiliFreshReviews() {
- if (chilifresh && chilifresh != '(none)') {
- try { chili_init(); } catch(E) { dump(E + '\n'); }
- }
-}
-
-function resultPageIsDone(pos) {
-
- return (recordsHandled == getDisplayCount()
- || recordsHandled + getOffset() == getHitCount());
-}
-
-var resultCCHeaderApplied = false;
-
-/* -------------------------------------------------------------------- */
-/* dynamically add the copy count rows based on the org type 'countsrow'
- is the row into which we will add TD's to hold the copy counts
- This code generates copy count cells with an id of
- 'copy_count_cell_<depth>_<pagePosition>' */
-function resultAddCopyCounts(rec, pagePosition) {
-
- var r = table.rows[pagePosition + 1];
- var countsrow = $n(r, config.names.result.counts_row );
- var ccell = $n(countsrow, config.names.result.count_cell);
-
- var nodes = orgNodeTrail(findOrgUnit(getLocation()));
- var node = nodes[0];
- var type = findOrgType(node.ou_type());
- ccell.id = "copy_count_cell_" + type.depth() + "_" + pagePosition;
- ccell.title = type.opac_label();
- //addCSSClass(ccell, config.css.result.cc_cell_even);
-
- var lastcell = ccell;
- var lastheadcell = null;
-
- var cchead = null;
- var ccheadcell = null;
- if(!resultCCHeaderApplied && !getLasso()) {
- ccrow = $('result_thead_row');
- ccheadcell = ccrow.removeChild($n(ccrow, "result_thead_ccell"));
- var t = ccheadcell.cloneNode(true);
- lastheadcell = t;
- t.appendChild(text(type.opac_label()));
- ccrow.appendChild(t);
- resultCCHeaderApplied = true;
- }
-
- if(nodes[1]) {
-
- var x = 1;
- var d = findOrgDepth(nodes[1]);
- var d2 = findOrgDepth(nodes[nodes.length -1]);
-
- for( var i = d; i <= d2 ; i++ ) {
-
- ccell = ccell.cloneNode(true);
-
- //if((i % 2)) removeCSSClass(ccell, "copy_count_cell_even");
- //else addCSSClass(ccell, "copy_count_cell_even");
-
- var node = nodes[x++];
- var type = findOrgType(node.ou_type());
-
- ccell.id = "copy_count_cell_" + type.depth() + "_" + pagePosition;
- ccell.title = type.opac_label();
- countsrow.insertBefore(ccell, lastcell);
- lastcell = ccell;
-
- if(ccheadcell) {
- var t = ccheadcell.cloneNode(true);
- t.appendChild(text(type.opac_label()));
- ccrow.insertBefore(t, lastheadcell);
- lastheadcell = t;
- }
- }
- }
-
- unHideMe($("search_info_table"));
-}
-
-/* collect copy counts for a record using method 'methodName' */
-function resultCollectCopyCounts(rec, pagePosition, methodName) {
- if(rec == null || rec.doc_id() == null) return;
-
- var loc = getLasso();
- if (loc) loc = -loc;
- else loc= getLocation();
-
- var req = new Request(methodName, loc, rec.doc_id(), getForm() );
- req.request.userdata = [ rec, pagePosition ];
- req.callback(resultHandleCopyCounts);
- req.send();
-}
-
-function resultHandleCopyCounts(r) {
- runEvt('result', 'copyCountsReceived', r.userdata[0], r.userdata[1], r.getResultObject());
-}
-
-
-/* XXX Needs to understand Lasso copy counts... */
-/* display the collected copy counts */
-function resultDisplayCopyCounts(rec, pagePosition, copy_counts) {
- if(copy_counts == null || rec == null) return;
-
- if (getLasso()) {
- var copy_counts_lasso = {
- transcendant : null,
- count : 0,
- unshadow : 0,
- available : 0,
- depth : -1,
- org_unit : getLasso()
- };
-
- for (var i in copy_counts) {
- copy_counts_lasso.transcendant = copy_counts[i].transcendant;
- copy_counts_lasso.count += parseInt(copy_counts[i].count);
- copy_counts_lasso.unshadow += parseInt(copy_counts[i].unshadow);
- copy_counts_lasso.available += parseInt(copy_counts[i].available);
- }
-
- copy_counts = [ copy_counts_lasso ];
- }
-
- var i = 0;
- while(copy_counts[i] != null) {
- var cell = $("copy_count_cell_" + i +"_" + pagePosition);
- var cts = copy_counts[i];
- cell.appendChild(text(cts.available + " / " + cts.count));
-
- if(isXUL()) {
- /* here we style opac-invisible records for xul */
-
- if( cts.depth == 0 ) {
- if(cts.transcendant == null && cts.unshadow == 0) {
- _debug("found an opac-shadowed record: " + rec.doc_id());
- var row = cell.parentNode.parentNode.parentNode.parentNode.parentNode;
- if( cts.count == 0 )
- addCSSClass( row, 'no_copies' );
- else
- addCSSClass( row, 'shadowed' );
- }
- }
- }
- i++;
- }
-}
-
-
diff --git a/Open-ILS/web/opac/skin/craftsman/js/search_bar.js b/Open-ILS/web/opac/skin/craftsman/js/search_bar.js
deleted file mode 100644
index 37dc49e..0000000
--- a/Open-ILS/web/opac/skin/craftsman/js/search_bar.js
+++ /dev/null
@@ -1,88 +0,0 @@
-var searchBarExpanded = false;
-/* our search selector boxes */
-var _ts, _fs;
-
-
-var isFrontPage = false;
-
-
-G.evt.common.init.push(searchBarInit);
-
-/* if set by the org selector, this will be the location used the
- next time the search is submitted */
-var newSearchLocation;
-var newSearchDepth = null;
-
-
-function searchBarInit() {
-
- _ts = G.ui.searchbar.type_selector;
- _fs = G.ui.searchbar.form_selector;
-
- try{G.ui.searchbar.text.focus();}catch(e){}
- G.ui.searchbar.text.onkeydown =
- function(evt) {if(userPressedEnter(evt)) { searchBarSubmit(); } };
- _ts.onkeydown =
- function(evt) {if(userPressedEnter(evt)) { searchBarSubmit(); } };
- _fs.onkeydown =
- function(evt) {if(userPressedEnter(evt)) { searchBarSubmit(); } };
-
- G.ui.searchbar.submit.onclick = searchBarSubmit;
-
- /* set up the selector objects, etc */
- G.ui.searchbar.text.value = (getTerm() != null) ? getTerm() : "";
- setSelector(_ts, getStype());
- setSelector(_fs, getForm());
-
- depthSelInit();
-
-
- if(!isFrontPage && (findCurrentPage() != MYOPAC)) {
- attachEvt('common','depthChanged', searchBarSubmit);
- }
-
- if( (limit = $('opac.result.limit2avail')) ) {
- if(getAvail()) limit.checked = true;
- if(getSort() && getSortDir())
- setSelector($('opac.result.sort'), getSort()+'.'+getSortDir());
- }
-}
-
-function searchBarSubmit(isFilterSort) {
-
- var text = G.ui.searchbar.text.value;
-
- clearSearchParams();
-
- if(!text || text == "") return;
-
- var d = (newSearchDepth != null) ? newSearchDepth : depthSelGetDepth();
- if(isNaN(d)) d = 0;
-
- var args = {};
-
- if(SHOW_MR_DEFAULT || (isFilterSort && findCurrentPage() == MRESULT)) {
- args.page = MRESULT;
- } else {
- args.page = RRESULT;
- args[PARAM_RTYPE] = _ts.options[_ts.selectedIndex].value;
- }
-
- args[PARAM_STYPE] = _ts.options[_ts.selectedIndex].value;
- args[PARAM_TERM] = text;
- args[PARAM_LOCATION] = depthSelGetNewLoc();
- args[PARAM_DEPTH] = d;
- args[PARAM_FORM] = _fs.options[_fs.selectedIndex].value;
-
- if($('opac.result.limit2avail')) {
- args[PARAM_AVAIL] = ($('opac.result.limit2avail').checked) ? 1 : '';
- if( (val = getSelectorVal($('opac.result.sort'))) ) {
- args[PARAM_SORT] = val.split('.')[0]
- args[PARAM_SORT_DIR] = val.split('.')[1]
- }
- }
-
- goTo(buildOPACLink(args));
-}
-
-
diff --git a/Open-ILS/web/opac/skin/craftsman/js/sidebar.js b/Open-ILS/web/opac/skin/craftsman/js/sidebar.js
deleted file mode 100644
index 8a1777a..0000000
--- a/Open-ILS/web/opac/skin/craftsman/js/sidebar.js
+++ /dev/null
@@ -1,227 +0,0 @@
-/* set up the colors in the sidebar
- Disables/Enables certain components based on various state data */
-
-attachEvt("common", "init", initSideBar);
-attachEvt("common", "init", setSidebarLinks);
-
-attachEvt("common", "unload", sidebarTreesFree );
-
-function prevRResults() {
- return buildOPACLink({ page : RRESULT });
-}
-
-function prevMResults() {
- return buildOPACLink({ page : MRESULT });
-}
-
-function initSideBar() {
- var page = findCurrentPage();
-
- if( page == MRESULT )
- unHideMe($("sidebar_results_wrapper"));
-
- if( page == RRESULT ) {
- unHideMe($("sidebar_results_wrapper"));
- unHideMe(G.ui.sidebar[MRESULT]);
- if( getRtype() == RTYPE_MRID )
- $("sidebar_title_group_results").setAttribute("href", prevMResults());
- else hideMe($("sidebar_title_group_results").parentNode);
- }
-
- if( page == RDETAIL ) {
- unHideMe($("sidebar_results_wrapper"));
-
-
- unHideMe(G.ui.sidebar[MRESULT]);
- if(getRtype())
- $("sidebar_title_results").setAttribute("href", prevRResults());
- unHideMe(G.ui.sidebar[RRESULT]);
-
- if( getRtype() == RTYPE_MRID )
- $("sidebar_title_group_results").setAttribute("href", prevMResults());
- else hideMe($("sidebar_title_group_results").parentNode);
- }
-
- unHideMe(G.ui.sidebar[page]);
- addCSSClass(G.ui.sidebar[page], "sidebar_item_active");
-
- /* if we're logged in, show it and replace the Login link with the Logout link */
- if(grabUser()) {
- G.ui.sidebar.username_dest.appendChild(text(G.user.usrname()));
- unHideMe(G.ui.sidebar.logoutbox);
- unHideMe(G.ui.sidebar.logged_in_as);
- hideMe(G.ui.sidebar.loginbox);
- }
-
- if(G.ui.sidebar.login) G.ui.sidebar.login.onclick = initLogin;
- if(G.ui.sidebar.logout) G.ui.sidebar.logout.onclick = doLogout;
-
- if(isXUL()) hideMe( G.ui.sidebar.logoutbox );
-}
-
-/* sets up the login ui components */
-var loginBoxVisible = false;
-
-function loginDance() {
-
- if(doLogin(true)) {
-
- if(!strongPassword( G.ui.login.password.value ) ) {
-
- dojo.require('dojo.cookie');
- dojo.cookie(COOKIE_SES, "");
- hideMe($('login_table'));
- unHideMe($('change_pw_table'));
- $('change_pw_current').focus();
- $('change_pw_button').onclick = changePassword;
- setEnterFunc($('change_pw_2'), changePassword);
-
- } else {
- loggedInOK();
- }
- }
-}
-
-function loggedInOK() {
- showCanvas();
- G.ui.sidebar.username_dest.appendChild(text(G.user.usrname()));
- unHideMe(G.ui.sidebar.logoutbox);
- unHideMe(G.ui.sidebar.logged_in_as);
- hideMe(G.ui.sidebar.loginbox);
- runEvt( 'common', 'loggedIn');
-
- var org = G.user.prefs[PREF_DEF_LOCATION];
- if(!org) org = G.user.home_ou();
-
- var depth = G.user.prefs[PREF_DEF_DEPTH];
- if(! ( depth && depth <= findOrgDepth(org)) )
- depth = findOrgDepth(org);
-
- runEvt( "common", "locationChanged", org, depth);
-}
-
-
-function changePassword() {
-
- var pc = $('change_pw_current').value;
- var p1 = $('change_pw_1').value;
- var p2 = $('change_pw_2').value;
-
- if( p1 != p2 ) {
- alert($('pw_no_match').innerHTML);
- return;
- }
-
- if(!strongPassword(p2, true) ) return;
-
- var req = new Request(UPDATE_PASSWORD, G.user.session, p2, pc );
- req.send(true);
- if(req.result()) {
- alert($('pw_update_successful').innerHTML);
- loggedInOK();
- }
-}
-
-var pwRegexSetting;
-function strongPassword(pass, alrt) {
-
- /* first, let's see if there is a configured regex */
- if(!pwRegexSetting) {
- var regex = fetchOrgSettingDefault(G.user.home_ou(), 'global.password_regex');
- if(regex) {
- if(pass.match(new RegExp(regex))) {
- return true;
- } else {
- if(alrt)
- alert($('pw_not_strong').innerHTML);
- return false;
- }
- }
- }
-
- /* no regex configured, use the default */
-
- var good = false;
-
- do {
-
- if(pass.length < 7) break;
- if(!pass.match(/.*\d+.*/)) break;
- if(!pass.match(/.*[A-Za-z]+.*/)) break;
- good = true;
-
- } while(0);
-
- if(!good && alrt) alert($('pw_not_strong').innerHTML);
- return good;
-}
-
-function initLogin() {
-
- G.ui.login.button.onclick = loginDance;
- G.ui.login.username.onkeydown =
- function(evt) {if(userPressedEnter(evt)) loginDance();};
- G.ui.login.password.onkeydown =
- function(evt) {if(userPressedEnter(evt)) loginDance();};
-
-// if(loginBoxVisible) {
-// showCanvas();
-// } else {
- swapCanvas(G.ui.login.box);
- try{G.ui.login.username.focus();}catch(e){}
-// }
-
-// loginBoxVisible = !loginBoxVisible;
- G.ui.login.cancel.onclick = showCanvas;
- if(findCurrentPage() == MYOPAC)
- G.ui.login.cancel.onclick = goHome;
-}
-
-function setSidebarLinks() {
- G.ui.sidebar.home_link.setAttribute("href", buildOPACLink({page:HOME}));
- G.ui.sidebar.advanced_link.setAttribute("href", buildOPACLink({page:ADVANCED}));
- G.ui.sidebar.myopac_link.setAttribute("href", buildOPACLink({page:MYOPAC}, false, true));
-}
-
-function sidebarTreesFree() {
- removeChildren($(subjectSidebarTree.rootid));
- removeChildren($(authorSidebarTree.rootid));
- removeChildren($(seriesSidebarTree.rootid));
- subjectSidebarTree = null;
- authorSidebarTree = null;
- seriesSidebarTree = null;
-}
-
-
-
-
-/* --------------------------------------------------------------------------------- */
-/* Code to support GALILEO links for PINES. Fails gracefully
-/* --------------------------------------------------------------------------------- */
-attachEvt('common', 'init', buildEGGalLink);
-function buildEGGalLink() {
-
- /* we're in a lib, nothing to do here */
- if( getOrigLocation() ) return;
- if(!$('eg_gal_link')) return;
-
- //var link = 'http://demo.galib.uga.edu/express?pinesid=';
- var link = 'http://www.galileo.usg.edu/express?pinesid=';
- if(grabUser()) {
- $('eg_gal_link').setAttribute('href', link + G.user.session);
- return;
- }
-
- $('eg_gal_link').setAttribute('href', 'javascript:void(0);');
- $('eg_gal_link').setAttribute('target', '');
- $('eg_gal_link').onclick = function() {
- /* we're not logged in. go ahead and login */
- detachAllEvt('common','locationChanged');
- detachAllEvt('common','loggedIn');
- attachEvt('common','loggedIn', function() { goTo(link + G.user.session); })
- initLogin();
- };
-}
-/* --------------------------------------------------------------------------------- */
-
-
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/advanced/adv_global_row.xml b/Open-ILS/web/opac/skin/craftsman/xml/advanced/adv_global_row.xml
deleted file mode 100644
index a5a2554..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/advanced/adv_global_row.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<!--
-<tr id='adv_global_trow' type='input'>
--->
-<tr id='<!--#echo var="adv_global_row_id"-->' type='input'>
- <td align='center' width='100%' nowrap='nowrap'>
-
- <!-- select the search class -->
- <select name='type' style='margin-right: 7px;'>
- <option value='keyword' selected='selected'>&common.keyword;</option>
- <option value='title'>&common.title;</option>
- <option value='author'>&common.author;</option>
- <option value='subject'>&common.subject;</option>
- <option value='series'>&common.series;</option>
- </select>
-
- <!-- select how to treat the text -->
- <select name='contains' style='margin-right: 7px;'>
- <option value='contains'>&opac.advanced.refined.contains;</option>
- <option value='nocontains'>&opac.advanced.refined.nocontains;</option>
- <option value='exact'>&opac.advanced.refined.exact;</option>
- </select>
-
- <!-- search term -->
- <input type='text' size='18' name='term' style='margin-right: 3px; width: 120px; ' />
-
- <!-- Remove this row -->
- <button
- onclick='
- var row = this.parentNode.parentNode;
- var tbody = row.parentNode;
- if( tbody.getElementsByTagName("tr").length > 2 )
- row.parentNode.removeChild(row);'>X</button>
-
- </td>
-</tr>
-
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/advanced/advanced_global.xml b/Open-ILS/web/opac/skin/craftsman/xml/advanced/advanced_global.xml
deleted file mode 100644
index 2f7ed86..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/advanced/advanced_global.xml
+++ /dev/null
@@ -1,287 +0,0 @@
-<div class='advancedsearch-box'>
- <table id='adv_global_search' width='100%' align='center'>
- <!--class='data_grid data_grid_center'-->
-
- <style type="text/css">
- #adv_global_search select { width: 13em; }
- #adv_global_input_table select { width: 7em; }
- .adv_adv_link { font-size: 8pt; color: red; }
- </style>
-
- <script language='javascript' type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/skin/default/js/adv_global.js'> </script>
-
- <tr>
-
- <!-- Contains the user-addable(?) rows to define search class, containment and text -->
- <td width='65%'>
- <div class='form-panels'>
- <table id='adv_global_input_table' width='95%' align='center'>
- <thead>
- <tr>
- <td colspan='2'><h2>&advanced.search.title;</h2></td>
- </tr>
- </thead>
- <tbody id='adv_global_tbody'>
-
- <script language='javascript' type='text/javascript'>
- config.ids.common.now_searching = 'now_searching_location';
- </script>
-
- <!--#set var="adv_global_row_id" value="adv_global_trow"-->
- <!--#include virtual="adv_global_row.xml"-->
-
- <!--#set var="adv_global_row_id" value=""-->
- <!--#include virtual="adv_global_row.xml"-->
- <!--#include virtual="adv_global_row.xml"-->
-
- <!-- add a new row -->
- <tr id='adv_global_addrow'>
- <td align='center'>
- <button id='myopac_new_global_row' onclick='advAddGblRow();'>&advanced.add.row;</button>
- <!--<span style='padding-left: 10px;'> </span>
- <button onclick='advSubmitGlobal();'>&advanced.search.submit;</button>-->
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </td>
- <td rowspan='2' align='right'>
- <div class='form-panels'>
- <table>
- <thead>
- <tr>
- <td colspan='2'><h2>&advanced.search.filters;</h2></td>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td align='right'>
- <span>&advanced.item.form;</span>
- </td>
- <td align='left'>
- <select multiple='multiple' size='3' id='adv_global_item_form'>
- </select>
- </td>
- </tr>
- <tr>
- <td align='right'>
- <span>&advanced.item.type;</span>
- <a id='adv_global_item_type_link_adv' class='classic_link adv_adv_link'
- href='javascript:void(0);' onclick='
- hideMe($("adv_global_item_type_basic"));
- unHideMe($("adv_global_item_type"));
- hideMe(this);
- unHideMe($("adv_global_item_type_link_basic"));
- '>&advanced.link;</a>
-
- <a id='adv_global_item_type_link_basic' class='hide_me classic_link adv_adv_link'
- href='javascript:void(0);' onclick='
- unHideMe($("adv_global_item_type_basic"));
- hideMe($("adv_global_item_type"));
- unHideMe($("adv_global_item_type_link_adv"));
- hideMe(this);
- '>&advanced.basic.link;</a>
- </td>
-
- <td align='left'>
- <select multiple='multiple' size='3' id='adv_global_item_type' class='hide_me'>
- </select>
- <select multiple='multiple' size='3' id='adv_global_item_type_basic'>
- <option value='at'>&opac.search.books;</option>
- <option value='i'>&opac.search.audioBooks;</option>
- <option value='g'>&opac.search.videoRecordings;</option>
- <option value='j'>&opac.search.music;</option>
- <option value='m'>&opac.search.electronic;</option>
- </select>
- </td>
- </tr>
-
- <tr>
- <td align='right'>
- <span>&advanced.literary.form;</span>
- <a id='adv_global_lit_form_link_adv' class='classic_link adv_adv_link'
- href='javascript:void(0);' onclick='
- hideMe($("adv_global_lit_form_basic"));
- unHideMe($("adv_global_lit_form"));
- hideMe(this);
- unHideMe($("adv_global_lit_form_link_basic"));
- '>&advanced.link;</a>
-
- <a id='adv_global_lit_form_link_basic' class='hide_me classic_link adv_adv_link'
- href='javascript:void(0);' onclick='
- unHideMe($("adv_global_lit_form_basic"));
- hideMe($("adv_global_lit_form"));
- unHideMe($("adv_global_lit_form_link_adv"));
- hideMe(this);
- '>&advanced.basic.link;</a>
- </td>
- <td align='left'>
- <select multiple='multiple' size='3' id='adv_global_lit_form' class='hide_me'>
- </select>
- <select multiple='multiple' size='3' id='adv_global_lit_form_basic'>
- <option value='0 '>&advanced.non.fiction;</option>
- <option value='1'>&advanced.fiction;</option>
- </select>
- </td>
- </tr>
-
-
- <!-- Language selector -->
- <tr>
- <td align='right'>
- <span>&advanced.language;</span>
- </td>
-
- <td align='left'>
- <select multiple='multiple' size='3' id='adv_global_lang'>
- <!--#include virtual="../../../../../common/xml/item_lang_options.xml"-->
- </select>
- </td>
- </tr>
-
- <!-- Audience selector -->
- <tr>
- <td align='right'>
- <span>&advanced.audience;</span>
-
- <a id='adv_global_audience_link_adv' class='classic_link adv_adv_link'
- href='javascript:void(0);' onclick='
- hideMe($("adv_global_audience_basic"));
- unHideMe($("adv_global_audience"));
- hideMe(this);
- unHideMe($("adv_global_audience_link_basic"));
- '>&advanced.link;</a>
-
- <a id='adv_global_audience_link_basic' class='hide_me classic_link adv_adv_link'
- href='javascript:void(0);' onclick='
- unHideMe($("adv_global_audience_basic"));
- hideMe($("adv_global_audience"));
- unHideMe($("adv_global_audience_link_adv"));
- hideMe(this);'>&advanced.basic.link;</a>
- </td>
-
- <td align='left'>
- <select multiple='multiple' size='3' id='adv_global_audience' class='hide_me'>
- </select>
- <select multiple='multiple' size='3' id='adv_global_audience_basic'>
- <option value='e '>&advanced.adult;</option>
- <option value='abcdj'>&advanced.juvenile;</option>
- <option value='fg '>&advanced.general;</option>
- </select>
- </td>
- </tr>
-
- <tr>
- <td align='right'>
- <span>&advanced.biblevel;</span>
- </td>
- <td align='left'>
- <select multiple='multiple' size='3' id='adv_global_bib_level'>
- </select>
- </td>
- </tr>
-
- <tr>
- <td align='right'>
- <span>&advanced.filter.pubyear;</span>
- </td>
- <td align='left'>
- <select id='adv_global_pub_date_type' onchange='
- if($("adv_global_pub_date_type").selectedIndex == 3)
- unHideMe($("adv_global_pub_date_2_span"));
- else
- hideMe($("adv_global_pub_date_2_span"));'>
- <option value='equals' selected='selected'>&advanced.filter.pubyear.equals;</option>
- <option value='before'>&advanced.filter.pubyear.before;</option>
- <option value='after'>&advanced.filter.pubyear.after;</option>
- <option value='between'>&advanced.filter.pubyear.between;</option>
- </select>
- <div style='margin-top:5px;'>
- <input id='adv_global_pub_date_1' type='text' size='4' maxlength='4'/>
- <span id='adv_global_pub_date_2_span' class='hide_me'>
- &common.and; <input id='adv_global_pub_date_2' type='text' size='4' maxlength='4'/>
- </span>
- </div>
- </td>
- </tr>
-
- <!-- copy location selector -->
- <tr id='adv_copy_location_filter_row' class='hide_me'>
- <td align='right'>&opac.advanced.copy_loc_filter;</td>
- <td align='left' id='adv_copy_location_filter_td'>
- <select size='3' id='adv_copy_location_filter_select' multiple='multiple'>
- </select>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class='form-panels'>
- <table width='95%' align='center'>
- <thead>
- <tr>
- <td width='50%'><h2>&advanced.sort.criteria;</h2></td>
- <td><h2>&advanced.search.library;</h2></td>
- </tr>
- </thead>
- <tbody>
- <tr>
- <script language='javascript' type='text/javascript'>
- function __setsortsel() {
- var sel = $('adv_global_sort_by')
- if(sel.selectedIndex == 0) {
- $("adv_global_sort_dir").disabled = true;
- $("adv_global_sort_dir").selectedIndex = 0;
- } else $("adv_global_sort_dir").disabled = false;
- }
- </script>
- <td align=''>
- <select id='adv_global_sort_by' onchange='__setsortsel();'>
- <option value='rel'>&advanced.relevance;</option>
- <option value='titlesort'>&common.title;</option>
- <option value='authorsort'>&common.author;</option>
- <option value='pubdate'>&advanced.pubdate;</option>
- </select>
- </td>
- <td align='center' width='100%' nowrap='nowrap'>
- <b id='now_searching_location'> </b>
- </td>
- </tr>
- <tr>
- <td>
- <select id='adv_global_sort_dir' disabled='disabled'>
- <option value='asc'>&advanced.sort.asc;</option>
- <option value='desc'>&advanced.sort.desc;</option>
- </select>
- </td>
- <!-- force the enable/disable sort dir code to run -->
- <script language='javascript' type='text/javascript'>__setsortsel();</script>
- <td align='center'>
- <!--#include virtual="../common/libselect.xml"-->
- </td>
- </tr>
- <tr>
- <td align='center'>
- <span>&advanced.frbrize;</span>
- <input id='adv_group_titles' type='checkbox' />
- </td>
- <td align='center'>
- <span>&result.limit2avail;</span>
- <input type='checkbox' id='opac.result.limit2avail'/>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </td>
- </tr>
- <tr>
- <td colspan='2'><input type='submit' onclick='advSubmitGlobal();' value='&advanced.search.submit;' class='submit'></input></td>
- </tr>
- </table>
-</div>
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/body.xml b/Open-ILS/web/opac/skin/craftsman/xml/body.xml
deleted file mode 100644
index fd8d1ab..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/body.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<body class="tundra">
-<div id='container'>
- <div id='header'>
- <table cellspacing='0' width='100%'>
- <tr>
- <td width='10%'><!--#include virtual="common/logo.xml"--></td>
- <td align='right' width='90%'>
- <table cellspacing='0' width='100%'>
- <tr>
- <td><!--#include virtual="common/fonts.xml"--></td>
- </tr>
- <!--#if expr="$OILS_PAGE!='advanced.xml'"-->
- <tr>
- <td><!--#include virtual="common/searchbar.xml"--></td>
- </tr>
- <tr>
- <td><!--#include virtual="common/statusbar.xml"--></td>
- </tr>
- <!--#endif-->
- </table>
- </td>
- </tr>
- </table>
- </div>
- <div id='header-shadow'></div>
- <table id='main-content'>
- <tbody>
- <tr>
- <td id='main_left_cell'>
- <div style='width: 300px;'>
- <!--#include virtual="common/sidebar.xml"-->
- </div>
- </td>
- <td id='main_right_cell'>
- <div id='content' class=''>
- <!--#include virtual="common/altcanvas.xml"-->
- <!--#include virtual="common/ilsevents.xml"-->
- <!--#include virtual="page_${OILS_PAGE}"-->
- </div>
- <!--#include virtual="common/tips.xml"-->
- </td>
- </tr>
- </tbody>
- </table>
- <div class='clear'></div>
- <!--#include virtual='footer.xml'-->
-</div>
-</body>
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/common/altcanvas.xml b/Open-ILS/web/opac/skin/craftsman/xml/common/altcanvas.xml
deleted file mode 100644
index 2b7b7b9..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/common/altcanvas.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-
-<!-- These are the UI components that may be needed on any given page. The must be
- set to class += 'hide_me' by default -->
-
-<div id='not_the_canvas' xmlns:xi="http://www.w3.org/2001/XInclude">
-
- <!-- the login page -->
- <!--#if expr="$FRONT_PAGE!='true'"-->
- <!--#include virtual="login.xml"-->
- <!--#endif-->
-
- <!-- The org tree -->
- <!--#include virtual="orgtree.xml"-->
-
- <!-- ============================================================================= -->
- <!-- Register the alternate canvases -->
- <script language='javascript' type='text/javascript'>
- config.ids.altcanvas.org_tree = config.ids.common.org_container;
- config.ids.altcanvas.holds = 'holds_box';
- config.ids.altcanvas.check_holds = 'check_holds_box';
- config.ids.altcanvas.xulholds = 'xulholds_box';
- config.ids.altcanvas.loading = 'loading_alt';
- //config.ids.altcanvas.cnbrowse = 'cn_browse';
- </script>
-
- <!--#if expr="$FRONT_PAGE!='true'"-->
- <!--#include virtual="holds.xml"-->
- <!-- #include virtual="cn_browse.xml"-->
- <!--#endif-->
-
- <div id='loading_alt' class='hide_me canvas' style='margin-top: 6px;'>
- <div style='margin-top: 30px; margin-bottom: 30px; text-align: center; font-weight: 700;'>
- <img src='../../../../images/progressbar_green.gif' style='margin: 5px; width: 32px; height: 32px;' />
- </div>
- </div>
-
-</div>
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/common/cn_browse.xml b/Open-ILS/web/opac/skin/craftsman/xml/common/cn_browse.xml
deleted file mode 100644
index 65bef64..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/common/cn_browse.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<div id='cn_browse' class='hide_me details-base'>
- <div id='cn_browse_loading' class='cn_browse_loading hide_me'>&common.cn.loading;</div>
- <div id='cn_browse_div'>
-
- <div class='tips-bottom-box' style='margin-bottom: 10px;'>
- <span>&common.cn.browsing;</span><b style='margin-left: 6px;' id='cn_browse_where'> </b>
- </div>
- <table class='details-datagrid'>
- <!-- class = data_grid bookshelf -->
- <thead>
- <tr>
- <td><a id='cn_browse_next' class='classic_link' href='javascript:cnBrowsePrev();'><b>&common.cn.previous;</b></a></td>
- <td colspan='1' align='center'>&common.cn.shelf;</td>
- <td align='right'><a id='cn_browse_prev' class='classic_link' href='javascript:cnBrowseNext();'><b>&common.cn.next;</b></a></td>
- </tr>
- </thead>
- <tbody id='cn_tbody'>
- <tr id='cn_browse_row'>
- <td id='cn_browse_td' class='cn_browse_item' width='25%' valign='top' style='border: 1px solid #ccc;'>
- <table>
- <tr>
- <td valign='top'><a style='display: block; border: 1px solid #ddd; background: #efefef; padding: 1px;'><img height='60' width='50' class='cn_browse_info' name='cn_browse_pic' border='0' style='border: 1px solid #ddd; background: #efefef;' /></a></td>
- <td valign='top'>
- <div class='cn_browse_info' name='cn_browse_cn' style='font-weight: bold; border: 0; padding: 1px;'> </div>
- <div class='cn_browse_info' style='border: 0; padding: 1px;'><a name='cn_browse_title' class='classic_link'> </a></div>
- <div class='cn_browse_info' style='border: 0; padding: 1px;'><a name='cn_browse_author' class='classic_link'> </a></div>
- <div class='cn_browse_info' style='border: 0; padding: 1px;' name='cn_browse_lib'> </div>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
-</div>
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/common/css_common.xml b/Open-ILS/web/opac/skin/craftsman/xml/common/css_common.xml
deleted file mode 100644
index 8d6c59b..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/common/css_common.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<!-- CSS shared across pages goes here -->
-
-<link type='text/css' rel='stylesheet' href="<!--#echo var='OILS_SKIN_BASE'-->/craftsman/css/layout.css"/>
-<link type='text/css' rel='stylesheet' href="<!--#echo var='OILS_SKIN_BASE'-->/craftsman/css/default.css"/>
-
-<!-- Our font CSS's -->
-<link type='text/css' rel='stylesheet' href='<!--#echo var="OILS_CSS_BASE"-->/mediumfont.css' />
-
-<!-- Our colors -->
-<link type='text/css' rel="stylesheet" href="<!--#echo var='OILS_THEME_BASE'-->/craftsman/css/colors.css" />
-
-<!-- An alternate stylesheet -->
-<link type='text/css' rel="alternate stylesheet" title='&opac.style.reddish;' href="<!--#echo var='OILS_THEME_BASE'-->/reddish/css/colors.css" />
-
-<!-- OpenSearch auto discovery -->
-<link type="application/opensearchdescription+xml"
- rel='search' title="Evergreen"
- href="http://<!--#echo var='SERVER_NAME'-->/opac/extras/opensearch/1.1/-/osd.xml" />
-<link type='text/css' rel="alternate stylesheet" title='&opac.style.reddish;' href="<!--#echo var='OILS_THEME_BASE'-->/reddish/css/colors.css" />
-
-<!-- enable Dojo date picker -->
-<style type="text/css">
- @import '/js/dojo/dojo/resources/dojo.css';
- @import '/js/dojo/dijit/themes/tundra/tundra.css';
-</style>
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/common/fonts.xml b/Open-ILS/web/opac/skin/craftsman/xml/common/fonts.xml
deleted file mode 100644
index d006af9..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/common/fonts.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<div id='text_size_div'>
- <ul>
- <!--<li><span>&common.textsize.title;</span></li>-->
- <li><span>Text: </span></li>
- <li class='btn'>
- <a href="javascript:void(0);" onclick="setFontSize('large');" title='&common.textsize.large;'>Larger</a> |
- <a href="javascript:void(0);" onclick="setFontSize('regular');" title='&common.textsize.regular;'>Smaller</a>
- <span style='vertical-align: top;'> <span style="font-weight:bold;">|</span> </span>
- </li>
- <li>
- <span style='vertical-align: top;'>&common.language;</span>
- <span id='translation_switch' dojoType="dijit.form.FilteringSelect" store="openils.I18N.localeStore"
- searchAttr="label" required="false" jsId='opacLocaleSelector'>
- <script type="text/javascript">
- dojo.addOnLoad(function() {
- opacLocaleSelector.setValue(locale);
- dojo.connect(opacLocaleSelector, 'onChange',
- function () {
- location.href = location.href.replace(/opac\/[^\/]+\/skin/, 'opac/' + this.getValue() + '/skin');
- }
- );
- });
- </script>
- </span>
- </li>
- </ul>
- <div class='clear'></div>
-</div>
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/common/holds.xml b/Open-ILS/web/opac/skin/craftsman/xml/common/holds.xml
deleted file mode 100644
index c10bd08..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/common/holds.xml
+++ /dev/null
@@ -1,242 +0,0 @@
-<link rel="stylesheet" type="text/css"
- href='<!--#echo var="OILS_JS_BASE"-->/jscalendar/calendar-brown.css' title="win2k-cold-1" />
-<script language='javascript' type='text/javascript' src='<!--#echo var="OILS_JS_BASE"-->/jscalendar/calendar.js'></script>
-<script language='javascript' type='text/javascript' src='<!--#echo var="OILS_JS_BASE"-->/jscalendar/lang/calendar-en.js'></script>
-<script language='javascript' type='text/javascript' src='<!--#echo var="OILS_JS_BASE"-->/jscalendar/calendar-setup.js'></script>
-
-<div>
- <div id='xulholds_box' class='hide_me canvas' style='margin-top: 6px;'>
- <center>
- <table class='data_grid' style='margin-top: 20px;'>
- <tbody>
- <tr>
- <td>&opac.holds.xulRecipient;:</td>
- <td><input type='text' id='xul_recipient_barcode' /></td>
- <td><input type='submit' value='&common.submit;' id='xul_recipient_barcode_submit' /></td>
- <td><input type='submit' value='&common.cancel;' onclick='showCanvas();' /></td>
- <td><input type='submit' value='&common.hold.place;' id='xul_recipient_me' /></td>
- </tr>
- </tbody>
- </table>
- </center>
- </div>
-
- <div id='check_holds_box' class='hide_me canvas'
- style='margin-top: 6px; width: 100%; text-align: center'>
- <br/><br/><br/>
- <b>&common.hold.check;</b>
- </div>
-
- <div id='holds_box' class='hide_me details-grid'>
- <table>
- <tbody>
- <tr>
- <td class='holds_cell' colspan='2' style='padding: 10px 0 0 5px; margin: 0; vertical-align: middle'>
- <div class='detailsinfo-box'>
- <h3>&common.hold.create;</h3>
- </div>
- </td>
- </tr>
- <tr>
- <td class='holds_cell'>&opac.holds.recipient;:</td>
- <td class='holds_cell' id='holds_recipient'> </td>
- </tr>
- <tr>
- <td class='holds_cell'>&common.title.label;</td>
- <td class='holds_cell' id='holds_title'> </td>
- </tr>
- <tr>
- <td class='holds_cell'>&common.author;</td>
- <td class='holds_cell' id='holds_author'> </td>
- </tr>
- <tr>
- <td class='holds_cell'>&common.format;</td>
- <td class='holds_cell' id='holds_format'> </td>
- </tr>
- <tr id='hold_physical_desc_row'>
- <td class='holds_cell'>&common.physical.label;</td>
- <td class='holds_cell' id='holds_physical_desc'> </td>
- </tr>
-
- <tr class='hide_me' id='holds_cn_row'>
- <td class='holds_cell'>&common.call.number.label;</td>
- <td class='holds_cell'><b id='holds_cn'/> </td>
- </tr>
-
- <tr class='hide_me' id='holds_copy_row'>
- <td class='holds_cell'>&common.copy.barcode.label;</td>
- <td class='holds_cell'><b id='holds_copy'/> </td>
- </tr>
-
- <tr class='hide_me' id='holds_type_row'>
- <td class='holds_cell'>&common.hold.type.label;</td>
- <td class='holds_cell hide_me' id='holds_is_cn'><b>&common.hold.volume;</b></td>
- <td class='holds_cell hide_me' id='holds_is_copy'><b>&common.hold.copy;</b></td>
- </tr>
-
- <tr>
- <td class='holds_cell'>&opac.holds.contactPhone;:</td>
- <td class='holds_cell'>
- <input id='holds_phone' size='13' maxlength='12'/>
- <span style='margin-left: 4px; font-size: 7pt;'>&common.phone.format;</span>
- </td>
- </tr>
- <tr>
- <td class='holds_cell'>&common.phone.enable;</td>
- <td class='holds_cell'>
- <input type='checkbox' id='holds_enable_phone' checked='checked'
- onchange='
- if (this.checked) $("holds_phone").disabled=false;
- else $("holds_phone").disabled = true;'/>
- </td>
- </tr>
-
- <tr>
- <td class='holds_cell'>&opac.holds.contactEmail;:</td>
- <td class='holds_cell' id='holds_email'>
- <span class='hide_me' id='holds.no_email'>
- &common.email.none;<br/>
- &common.email.set;
- </span>
- <span class='hide_me' id='holds.no_email.xul'>
- &common.email.none;
- </span>
-
- </td>
- </tr>
- <tr>
- <td class='holds_cell'>&common.email.enable;</td>
- <td class='holds_cell'>
- <input type='checkbox' id='holds_enable_email' checked='checked'/>
- </td>
- </tr>
- <!--
- <tr id='holds_depth_selector_row' class='hide_me'>
- <td class='holds_cell'>Hold Range</td>
- <td class='holds_cell'>
- <select id='holds_depth_selector'></select>
- </td>
- </tr>
- -->
- <tr>
- <td class='holds_cell'>&opac.holds.pickupLocation;</td>
- <td class='holds_cell'>
- <select id='holds_org_selector'> </select>
- </td>
- </tr>
-
- <tr>
- <td class='holds_cell'>&opac.holds.expire_time;</td>
- <td class='holds_cell'>
- <input dojoType="dijit.form.DateTextBox" size='10' maxlength='10' id='holds_expire_time' />
- </td>
- </tr>
-
- <tr>
- <td class='holds_cell'>
- &opac.holds.freeze;
- <a class='classic_link' href='javascript:alert("&opac.holds.freeze.help;");'>&common.help;</a>
- </td>
- <td class='holds_cell'>
- <input type='checkbox' id='holds_frozen_chkbox'
- onchange='
- if($("holds_frozen_chkbox").checked)
- unHideMe($("hold_frozen_thaw_row"));
- else
- hideMe($("hold_frozen_thaw_row"));
- ' />
- </td>
- </tr>
-
- <tr id='hold_frozen_thaw_row' class='hide_me'>
- <td class='holds_cell'>
- <script language='javascript' type='text/javascript'> if($('holds_frozen_chkbox').checked) unHideMe($("hold_frozen_thaw_row"));</script>
- &opac.holds.freeze.thaw_date;
- </td>
- <td class='holds_cell'>
- <input dojoType="dijit.form.DateTextBox" size='10' maxlength='10' id='holds_frozen_thaw_input' />
- </td>
- </tr>
-
- <tr id='holds_alt_formats_row_extras' class='hide_me'>
- <td colspan='2' align='center'>
- <div class='detailsinfo-box'>
- <a class='classic_link' href='javascript:void(0);'
- onclick='unHideMe($("holds_alt_formats_row"));'>&common.hold.advanced;</a>
- </div>
- </td>
- </tr>
-
- <tr id='holds_alt_formats_row' class='hide_me'>
-
- <td class='holds_cell'>
- <div style='margin-bottom: 5px;'>
- <span>&common.format.alternatives; </span>
- <span> <a class='classic_link' style='color:red;' href='javascript:void(0);'
- onclick='alert($("holds_explain_adv").innerHTML)'>&common.help;</a></span>
- </div>
- <div>&common.control.click;</div>
- </td>
-
- <td class='holds_cell'>
- <select id='hold_alt_form_selector' multiple='multiple' style='width: 14em;'>
- <option value='at' class='hide_me'>&opac.search.books;</option>
- <option value='at-d' class='hide_me'>&opac.search.largePrint;</option>
- <option value='at-s' class='hide_me'>&opac.search.ebook;</option>
- <option value='i' class='hide_me'>&opac.search.audioBooks;</option>
- <option value='g' class='hide_me'>&opac.search.videoRecordings;</option>
- <option value='j' class='hide_me'>&opac.search.music;</option>
- </select>
- </td>
- </tr>
-
- <tr>
- <td> </td>
- <td class='holds_cell'>
- <button id='holds_submit'>&opac.holds.placeHold;</button>
- <button class='hide_me' id='holds_update'>&common.hold.update;</button>
- <span style='padding: 20px;'> </span>
- <button id='holds_cancel'>&common.cancel;</button>
- </td>
- </tr>
- </tbody>
- </table>
-
- <div class='hide_me' id='holds_success'>&opac.holds.success;</div>
- <div class='hide_me' id='holds_failure'>&opac.holds.failure;</div>
- <span class='hide_me' id='holds_bad_phone'>
- &common.phone.format.help;
- </span>
-
- <span class='hide_me' id='hold_not_allowed'>
- &common.hold.failed;
- </span>
-
- </div>
-
- <span class='hide_me' id='format_words'>
- <span name='at'>&opac.search.books;</span>
- <span name='at-d'>&opac.search.largePrint;</span>
- <span name='i'>&opac.search.audioBooks;</span>
- <span name='g'>&opac.search.videoRecordings;</span>
- <span name='j'>&opac.search.music;</span>
- <span name='m'>&opac.search.electronic;</span>
- </span>
-
- <span class='hide_me' id='holds_explain_adv'>&holds.advanced_options;</span>
-
- <span class='hide_me' id='holds_pick_good_org'>&common.hold.delivery;</span>
-
- <span class='hide_me' id='hold_dup_exists'>&common.hold.exists;</span>
-
- <span class='hide_me' id='hold_dup_exists_override'>&common.hold.exists.override;</span>
-
- <span id='hold_failed_patron_barred' class='hide_me'>&common.hold.barred;</span>
-
- <span id='invalid_hold' class='hide_me'>&common.hold.item.invalid;</span>
-
- <span id='holds_invalid_recipient' class='hide_me'>&common.hold.patron.invalid;</span>
-
-</div>
-
-
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/common/libselect.xml b/Open-ILS/web/opac/skin/craftsman/xml/common/libselect.xml
deleted file mode 100644
index 9975c4e..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/common/libselect.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<span>
- <script language='javascript' type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/skin/default/js/depth_selector.js'></script>
- <span id='depth_selector_span'>
- <!--#if expr="$SHOW_DEPTHSEL_TEXT='true'"-->
- <span>&library.select; </span>
- <!--#endif-->
- <select id='depth_selector' >
- <option value='new'>&library.select.label;</option>
- </select>
- </span>
- <span class='hide_me' id='lib_selector_span'>
- <a id='lib_selector_link' class='classic_link' href='javascript:void(0)' title='&library.select.help;'></a>
- </span>
-</span>
-
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/common/login.xml b/Open-ILS/web/opac/skin/craftsman/xml/common/login.xml
deleted file mode 100644
index dd0a4ba..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/common/login.xml
+++ /dev/null
@@ -1,109 +0,0 @@
-
-<div id='login_box' class='login-box hide_me' style='margin-top: 6px; border: 0; width: 100%;'>
-
- <script language='javascript' type='text/javascript'>
- config.ids.login = {};
- config.css.login = {};
- config.ids.login.box = "login_box";
- config.ids.login.tbody = "login_tbody";
- config.ids.login.username = "login_username";
- config.ids.login.password = "login_password";
- config.ids.login.button = "login_button";
- config.ids.login.cancel = "login_cancel_button";
- config.ids.altcanvas.login = config.ids.login.box;
- </script>
- <script type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/skin/default/js/password_reset.js'></script>
-
- <div class='form-panels'>
- <h2><span>&opac.login.login;</span></h2>
-
- <table id='login_table'>
- <tbody id='login_tbody'>
- <tr>
- <td style='vertical-align: middle;'><span style='font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif;'>&login.username;</span></td>
- <td>
- <span class='login_text'>
- <input id='login_username' type='text' style='width: 220px; font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; padding: 4px; height: 1%;' />
- </span>
- </td>
- </tr>
- <tr>
- <td style='vertical-align: middle;'>
- <span style='font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif;'>&common.password;</span>
- </td>
- <td>
- <span class='login_text'>
- <input id='login_password' type='password' style='width: 220px; font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; padding: 4px; height: 1%;' />
- </span>
- </td>
- </tr>
- <tr>
- <td></td>
- <td>
- <span class='login_text' style='margin-right: 20px;'>
- <input type='submit' value='&common.login;' id='login_button'/>
- </span>
- <span class='login_text' style='margin-left: 20px;'>
- <input type='submit' id='login_cancel_button' value='&common.cancel;'/>
- </span>
- </td>
- </tr>
- </tbody>
- </table>
-
- <table id='change_pw_table' class='hide_me'>
- <thead>
- <tr><td colspan='2' align='center'><b>&login.password;</b></td></tr>
- </thead>
- <tbody>
-
- <tr>
- <td colspan='2'>
- <div class='info'>
- &login.first.time;
- &common.password_criteria;
- </div>
- </td>
- </tr>
-
- <tr>
- <td>&login.password.current.enter;</td>
- <td><input type='password' id='change_pw_current' style='width: 220px;' /></td>
- </tr>
-
- <tr>
- <td>&login.password.new.enter;</td>
- <td><input type='password' id='change_pw_1' style='width: 220px;' /></td>
- </tr>
- <tr>
- <td>&login.password.new.reenter;</td>
- <td><input type='password' id='change_pw_2' style='width: 220px;' /></td>
- </tr>
- <tr>
- <td></td>
- <td>
- <span class='login_text' style='margin-right: 20px;'>
- <input type='submit' value='&login.password.update;' id='change_pw_button'/>
- </span>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <span id='pw_no_match' class='hide_me'>&login.password.nomatch;</span>
- <span id='pw_update_successful' class='hide_me'>&login.password.success;</span>
-
- <span id='pw_not_strong' class='hide_me'>
- &login.password.strength;
- &common.password_criteria;
- </span>
-
- <span id='patron_card_inactive_alert' class='hide_me'>&login.barcode.inactive;</span>
-
- <span id='patron_inactive_alert' class='hide_me'>&login.account.inactive;</span>
-
- <span id='patron_login_failed' class='hide_me'>&login.failed;</span>
-
-</div>
-
-
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/common/logo.xml b/Open-ILS/web/opac/skin/craftsman/xml/common/logo.xml
deleted file mode 100644
index 6cad7f5..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/common/logo.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-<script language='javascript' type='text/javascript'>config.ids.common.top_logo = "top_left_logo";</script>
-<img style='height: 95px; width: 260px;' src='<!--#echo var="OILS_BASE"-->/images/logo.gif' alt='' class='logo' />
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/common/orgtree.xml b/Open-ILS/web/opac/skin/craftsman/xml/common/orgtree.xml
deleted file mode 100644
index 629fb53..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/common/orgtree.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-<!-- the org tree -->
-<div id='org_container' class='hide_me' style='padding: 8px 13px 8px 8px;'>
-
- <div id='org_link_container' class='search-toolbar'>
- <ul>
- <li><a class='expandall-btn' onclick='orgTreeSelector.expandAll();' href='javascript:void(0);'>&common.org.openAll;</a></li>
- <li><a class='closeall-btn' onclick='orgTreeSelector.closeAll();' href='javascript:void(0);'>&common.org.closeAll;</a></li>
- <li><a class='cancel-btn' onclick='showCanvas();' href='javascript:void(0);'>&common.org.cancel;</a></li>
- </ul>
- <div class='clear'></div>
- </div>
-
- <div id='org_loading_div'><br/><span>&common.org.loading;</span></div>
-
- <br/>
- <div id='org_selector_tip' class='tips_box hide_me'><b>&common.org.note;</b>
- <span>&common.org.notetext;</span>
- </div>
- <br/>
- <div id='org_tree' class='org_tree_container'> </div>
- <br/>
-</div>
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/common/searchbar.xml b/Open-ILS/web/opac/skin/craftsman/xml/common/searchbar.xml
deleted file mode 100644
index be4d862..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/common/searchbar.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<!-- Searchbar for doing metarecord searches -->
-<div id='searchbar' align='right'>
- <!-- load my js -->
- <script language='javascript' type='text/javascript'>
- config.ids.searchbar = {};
- config.css.searchbar = {};
- config.ids.searchbar.text = 'search_box';
- config.ids.searchbar.submit = 'search_submit';
- config.ids.searchbar.type_selector = 'search_type_selector';
- config.ids.searchbar.depth_selector = 'depth_selector';
- config.ids.searchbar.form_selector = 'form_selector';
- config.ids.searchbar.extra_row = 'searchbar_extra';
- config.ids.searchbar.main_row = 'searchbar_main_row';
- config.ids.searchbar.table = 'searchbar_table';
- config.ids.searchbar.location_tag = 'search_location_tag_link';
- config.ids.searchbar.lib_sel_span = 'lib_selector_span';
- config.ids.searchbar.lib_sel_link = 'lib_selector_link';
- config.ids.searchbar.depth_sel_span = 'depth_selector_span';
- </script>
- <style type="text/css">
- #searchbar-options-table td {padding:0px 1px 0px 1px;}
- </style>
- <table align='right' id='searchbar-options-table'>
- <tr>
- <td><input id='search_box' type='text' class='input' /></td>
- <td><input type='submit' id='search_submit' value='Search' title='&button.go;' class='submit' /></td>
- <td><!--<span>&common.type;: </span>--><!--#include virtual="stypes_selector.xml"--></td>
- <td><!--#set var='FORM_SEL_ID' value='form_selector'--></td>
- <td><!--#include virtual="format_selector.xml"--></td>
- <td><!--#include virtual="libselect.xml"--></td>
- </tr>
- </table>
- <script language='javascript' type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/skin/craftsman/js/search_bar.js'></script>
-</div>
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/common/sidebar.xml b/Open-ILS/web/opac/skin/craftsman/xml/common/sidebar.xml
deleted file mode 100644
index 4acd948..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/common/sidebar.xml
+++ /dev/null
@@ -1,174 +0,0 @@
-
-<!-- Navigation bar -->
-
-<div id="sidebar_div" xmlns:xi="http://www.w3.org/2001/XInclude">
-
- <div id='main-left-menu'>
- <ul>
- <li title="&navigate.home.title;" id='home_link_div'><a class='home-btn' id='home_link' href='index.xml'>&navigate.home;</a></li>
- <li title="&opac.navigate.advanced.title;" id='advanced_link_div'><a class='advancedsearch-btn' id='advanced_link' href='advanced.xml'>&opac.navigate.advanced;</a></li>
- <li title="&navigate.myopac.title;" id='myopac_link_div'><a class='account-btn' id='myopac_link' href='myopac/myopac.xml'>&navigate.myopac;</a></li>
- <li title="&navigate.login.title;" id='login_link_div'><a class='login-btn' id='login_link' href='javascript:void(0);'>&navigate.login;</a></li>
- <!--Hide Me Section-->
- <li title="&navigate.logout.title;" id='logout_link_div' class="hide_me"><a class='logout-btn' id='logout_link' href='javascript:void(0);'>&navigate.logout;</a></li>
- <li title="&navigate.loggedinas.title;" id='logged_in_as_div' class="hide_me"><span class='loginas-btn'>&navigate.loggedinas;<b id='username_dest'> </b></span></li>
- <li title="&navigate.titleGroupResults;" id='mresult_link_div' class="hide_me"><a id='sidebar_title_group_results'>&navigate.titleGroupResults;</a></li>
- <li title="&navigate.titleResults;" id='result_link_div' class="hide_me"><a class='title-btn' id='sidebar_title_results'>&navigate.titleResults;</a></li>
- <li title="&navigate.record.details;" id='rdetail_link_div' class="hide_me"><span class='titledetails-btn'>&navigate.title.details;</span></li>
- </ul>
-
- <div id='main-left-menu'>
- <div id='subject_tree_sidebar' class='subject_sidebar hide_me'>
- <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/subject-icon-u.gif');
- subjectSidebarTree.addNode( 'subjectSidebarTreeRoot', -1,
- "&sidebar.relevantSubjects.headerLabel;",
- 'javascript:subjectSidebarTree.toggle(' +
- '"subjectSidebarTreeRoot");');
- </script>
- </div>
- <div id='author_tree_sidebar' class='author_sidebar hide_me'>
- <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/relevant-icon-u.gif');
- authorSidebarTree.addNode( 'authorSidebarTreeRoot', -1,
- "&sidebar.relevantAuthors.headerLabel;",
- 'javascript:authorSidebarTree.toggle(' +
- '"authorSidebarTreeRoot");');
- </script>
- </div>
- <div id='series_tree_sidebar' class='series_sidebar hide_me'>
- <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/series-icon-u.gif');
- seriesSidebarTree.addNode( 'seriesSidebarTreeRoot', -1,
- "&sidebar.relevantSeries.headerLabel;",
- 'javascript:seriesSidebarTree.toggle(' +
- '"seriesSidebarTreeRoot");');
- </script>
- </div>
- </div>
- </div>
-
-
- <div id='main-left-search'>
-
- <div id='adv_quick_search_sidebar' class='sidebar_chunk hide_me'>
- <div id='adv_quick_search'>
- <h2>&sidebar.quick.search;</h2>
- <div class='content'>
- <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 value='cn'>&opac.advanced.quick.cn;</option>
- <option value='lccn'>&opac.advanced.quick.lccn;</option>
- <option value='tcn'>&opac.advanced.quick.tcn;</option>
- <option value='barcode'>&opac.advanced.quick.barcode;</option>
- </select>
- </td>
- <td><input type='text' id='adv_quick_text' size='16' /></td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class='buttons'>
- <a id='adv_quick_submit' href='javascript:advGenericSearch();'>&common.submit;</a>
- </div>
-
- <span class='hide_me' id='myopac.copy.not.found'>&sidebar.copy.not.found;</span>
- </div>
- </div>
-
- <div id='adv_marc_search_sidebar' class='sidebar_chunk hide_me'>
- <h2>&search.marc;</h2>
- <div class='content'>
- <table id='adv_sdbar_table'>
- <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>
- <div id='adv_marc_submit' class='buttons '>
- <a href='javascript:advAddMARC();'>&search.marc.add.row;</a>
- <a href='javascript:advMARCRun();'>&common.submit;</a>
- </div>
- </div>
-
- </div>
-
-
- <!-- ============================================================================= -->
- <!-- Our javascript -->
- <script language='javascript' type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/skin/craftsman/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>
-
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/common/statusbar.xml b/Open-ILS/web/opac/skin/craftsman/xml/common/statusbar.xml
deleted file mode 100644
index b67a04f..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/common/statusbar.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<div id='statusbar' align="right">
- <table align='right' width='100%'>
- <tbody>
- <tr>
- <td align='left' class='title' width='20%' nowrap='nowrap'>
- <b>
- <span style='padding: 1px;' id='now_searching_location'> </span>
- </b>
- <i id='including_results_for' class='hide_me'>
- <span>&status.results;</span> <b id='including_results_location'> </b>
- </i>
- </td>
- <td align='right' style='padding:4px;'>
- <!--#if expr="$OILS_PAGE='rresult.xml' || $OILS_PAGE='mresult.xml'"-->
- <!--#include virtual="../result/filtersort.xml" -->
- <!--#endif -->
- </td>
- </tr>
- </tbody>
- </table>
- <script language='javascript' type='text/javascript'>
- config.ids.common.now_searching = 'now_searching_location';
- </script>
-</div>
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/common/tips.xml b/Open-ILS/web/opac/skin/craftsman/xml/common/tips.xml
deleted file mode 100644
index 89727a3..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/common/tips.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-<div id='tips' class='tips-bottom-box hide_me'>
- <div class='hide_me'>
- <span>&common.tips.tip1;</span>
- <span>&common.tips.tip2;</span>
- </div>
- <span style="font-weight: bold;">&tips.label; </span>
-</div>
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/footer.xml b/Open-ILS/web/opac/skin/craftsman/xml/footer.xml
deleted file mode 100644
index 1b65ded..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/footer.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<div id='footer'>
- <div class='inner'>
- <table>
- <tr>
- <td>
- <a href='/opac/extras/slimpac/start.html'>&opac.basic;</a> |
- <a href='&footer.find.url;'>&footer.find.library;</a> |
- <a href='&footer.help.url;'>&footer.help;</a> |
- <a href='&footer.library.url;'>&footer.library.about;</a> |
- <a href='&footer.union.url;'>&footer.union;</a>
- </td>
- <td align='right'>
- <span>&footer.copyright;</span>
- <span>
- <a href='http://open-ils.org'><img src='../../../../images/eg_tiny_logo.gif' alt='' style='display: inline; float: right; margin-left: 5px; width: 112px; height: 19px;' /></a>
- <div style='float: right; padding: 5px 0 0 0;'>&footer.logo;</div>
- <div class='clear'></div>
- </span>
- </td>
- </tr>
- </table>
- </div>
-</div>
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/home/homesearch.xml b/Open-ILS/web/opac/skin/craftsman/xml/home/homesearch.xml
deleted file mode 100644
index 8e41dc2..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/home/homesearch.xml
+++ /dev/null
@@ -1,93 +0,0 @@
-<div align='center'>
- <div class='home-searcharea' xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude">
- <!-- load my js -->
- <script language='javascript' type='text/javascript' src="<!--#echo var="OILS_OPAC_JS_HOST"-->/skin/default/js/depth_selector.js"> </script>
- <script language='javascript' type='text/javascript' src="<!--#echo var="OILS_OPAC_JS_HOST"-->/skin/craftsman/js/search_bar.js"> </script>
-
- <script language='javascript' type='text/javascript'>
- config.ids.searchbar = {};
- config.css.searchbar = {};
- config.ids.searchbar.text = 'search_box';
- config.ids.searchbar.submit = 'search_submit';
- config.ids.searchbar.type_selector = 'search_type_selector';
- config.ids.searchbar.depth_selector = 'depth_selector';
- config.ids.searchbar.form_selector = 'form_selector';
- config.ids.searchbar.extra_row = 'searchbar_extra';
- config.ids.searchbar.main_row = 'searchbar_main_row';
- config.ids.searchbar.table = 'searchbar_table';
- config.ids.searchbar.location_tag = 'search_location_tag_link';
- config.ids.searchbar.lib_sel_span = 'lib_selector_span';
- config.ids.searchbar.lib_sel_link = 'lib_selector_link';
- config.ids.searchbar.depth_sel_span = 'depth_selector_span';
- </script>
- <!--Logo-->
- <div class='home-logo'>
- <img src='<!--#echo var="OILS_BASE"-->/images/main_logo.jpg' />
- </div>
- <!--Title-->
- <div class='home-title'>
- <script language='javascript' type='text/javascript'>config.ids.common.now_searching = 'now_searching_location';</script>
- <span>&opac.search.nowSearching;</span>
- <span style='padding: 1px;' id='now_searching_location'></span>
- </div>
- <!--Search Input/Submit-->
- <div class='home-search-panel'>
- <table align='center'>
- <tr>
- <td><input id='search_box' type='text' class='search-home-input' /></td>
- <td><input type='button' id='search_submit' value='Search' class='submit' /></td>
- </tr>
- </table>
- </div>
- <!--Filters-->
- <div class='home-filter-panel'>
- <span style='padding-right:40px;'><!--#include virtual="../common/stypes_selector.xml"--></span>
- <span>
- <!--
- <span>&common.format;: </span>
- -->
- <!--#set var='FORM_SEL_ID' value='form_selector'-->
- <!--#include virtual="../common/format_selector.xml"-->
- </span>
- </div>
- </div>
-</div>
-<div align='center'>
- <div class='home-bottom-tabs' align='center'>
- <ul>
- <li><a id='home_adv_search_link' href='javascript:void(0);' class='advancedsearch'>&opac.navigate.advanced;</a></li>
- <li>
- <span class='hide_me' id='depth_selector_span'>
- <select id='depth_selector' >
- <option value='new'>&opac.navigate.selectNewOrg;...</option>
- </select>
- </span>
- <span class='hide_me' id='lib_selector_span'>
- <a id='lib_selector_link' href='javascript:void(0)' class='chooselibrary'>&opac.navigate.selectOrg;</a>
- </span>
- </li>
- <li><a id='home_myopac_link' href='javascript:void(0);' class='myaccount'>&opac.navigate.myopac;</a></li>
- </ul>
- <div class='clear'></div>
- </div>
-</div>
-
-<!-- locale picker -->
-<div align='center' valign='bottom' style='padding-top:10px;'>
- <span style='vertical-align: top;'>&common.language;</span>
- <span dojoType="dijit.form.FilteringSelect" store="openils.I18N.localeStore"
- searchAttr="label" required="false" jsId='opacLocaleSelector'>
- <script type="text/javascript">
- dojo.addOnLoad(home_init);
- dojo.addOnLoad(function() {
- opacLocaleSelector.setValue(locale);
- dojo.connect(opacLocaleSelector, 'onChange',
- function () {
- location.href = location.href.replace(/opac\/[^\/]+\/skin/, 'opac/' + this.getValue() + '/skin');
- }
- );
- });
- </script>
- </span>
-</div>
-
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/home/index_body.xml b/Open-ILS/web/opac/skin/craftsman/xml/home/index_body.xml
deleted file mode 100644
index 0cdbffe..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/home/index_body.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<body class="tundra">
-
- <noscript>
- <style type="text/css">#toptable { display: none; }</style>
- <p style="font-size: 1.3em; padding: 3em; text-align: center;">
- &home.js.disabled;
- </p>
- </noscript>
-
-
- <div id='canvas'>
- <!--#include virtual="../common/altcanvas.xml"-->
- <!--#include virtual="homesearch.xml"-->
- </div>
- <script language='javascript' type='text/javascript'>isFrontPage = true;</script>
- <script language="javascript" type='text/javascript'>
- try {
- document.getElementById('toptable').style.display = 'table';
- } catch(e) {
- try {
- document.getElementById('toptable').style.display = '';
- } catch(ee) {}
- }
- </script>
- <!--#include virtual='../footer.xml'-->
-</body>
-
-
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/page_cnbrowse.xml b/Open-ILS/web/opac/skin/craftsman/xml/page_cnbrowse.xml
deleted file mode 100644
index ff1494b..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/page_cnbrowse.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<div id='canvas_main'>
- <script language='javascript' type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/skin/craftsman/js/cn_browse.js'></script>
- <!--#include virtual="common/cn_browse.xml"-->
-</div>
-
-
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/page_myopac.xml b/Open-ILS/web/opac/skin/craftsman/xml/page_myopac.xml
deleted file mode 100644
index bace8b2..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/page_myopac.xml
+++ /dev/null
@@ -1,67 +0,0 @@
-<div id='canvas_main' class='hide_me'>
-
- <script language='javascript' type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/skin/default/js/myopac.js'></script>
-
- <script language='javascript' type='text/javascript'> config.ids.altcanvas.myopac_reload = 'myopac_reloading'; </script>
- <div id='myopac_reloading' class='hide_me canvas'> &common.loading; </div>
-
- <script language='javascript' type='text/javascript'>
- config.ids.myopac = {};
- config.css.myopac = {};
- config.names.myopac = {};
- </script>
-
- <br/>
- <table style='width: 98%; text-align: center;'>
- <tbody>
- <tr id='myopac_nav_row'>
-
- <td class='myopac_link border_6' id='myopac_summary_td' >
- <a href='javascript:void(0);'
- onclick='myOPACChangePage("summary");'>&myopac.account;</a>
- </td>
-
- <td class='myopac_link border_6' id='myopac_checked_td' >
- <a href='javascript:void(0);'
- onclick='myOPACChangePage("checked");'>&myopac.checkouts;</a>
- </td>
-
- <td class='myopac_link border_6' id='myopac_holds_td' >
- <a href='javascript:void(0);'
- onclick='myOPACChangePage("holds");'>&myopac.holds;</a>
- </td>
-
- <td class='myopac_link border_6' id='myopac_fines_td' >
- <a href='javascript:void(0);'
- onclick='myOPACChangePage("fines");'>&myopac.fines;</a>
- </td>
-
- <td class='myopac_link border_6' id='myopac_prefs_td' >
- <a href='javascript:void(0);'
- onclick='myOPACChangePage("prefs");'>&myopac.preferences;</a>
- </td>
-
- <td class='myopac_link border_6' id='myopac_bookbag_td' nowrap='nowrap'>
- <a href='javascript:void(0);'
- onclick='myOPACChangePage("bookbag");'>&myopac.bookbags;</a>
-
- </td>
-
- </tr>
- </tbody>
- </table>
-
- <br/>
-
- <div id='myopac_main_div'>
- <!--#include virtual="myopac/myopac_summary.xml"-->
- <!--#include virtual="myopac/myopac_checked.xml"-->
- <!--#include virtual="myopac/myopac_holds.xml"-->
- <!--#include virtual="myopac/myopac_fines.xml"-->
- <!--#include virtual="myopac/myopac_prefs.xml"-->
- <!--#include virtual="myopac/myopac_bookbags.xml"-->
- </div>
-
-</div>
-
-
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/page_rdetail.xml b/Open-ILS/web/opac/skin/craftsman/xml/page_rdetail.xml
deleted file mode 100644
index 171bf37..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/page_rdetail.xml
+++ /dev/null
@@ -1,85 +0,0 @@
-<div id='canvas_main'>
- <script language='javascript' type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/skin/default/js/sidebar_extras.js'></script>
- <script language='javascript' type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/skin/craftsman/js/result_common.js'></script>
- <script language='javascript' type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/skin/default/js/rresult.js'></script>
- <script language='javascript' type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/skin/craftsman/js/rdetail.js'></script>
- <script language='javascript' type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/skin/default/js/holds.js'></script>
- <script language='javascript' type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/skin/default/js/cn_browse.js'></script>
- <script language='javascript' type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/skin/default/js/container.js'></script>
-
- <script language='javascript' type='text/javascript'>
- config.ids.rdetail = {};
- config.ids.rdetail.view_marc = "rdetail_view_marc";
- </script>
- <div class='detailsinfo-box'>
- <table id='np_table' class='hide_me'>
- <tbody>
- <tr>
- <td>
- <span>
- &rdetail.result; <strong><span id='np_offset'> </span></strong>
- -
- <strong><span id='np_count'> </span></strong>
- </span>
- <span style='padding-left: 40px;'>
- <a class='np_nav_link classic_link hide_me' id='np_start'
- href='javascript:rdetailStart();' title="&rdetail.page.results;">&rdetail.start;</a>
- <a class='np_nav_link classic_link hide_me' id='np_prev'
- href='javascript:rdetailPrev();' title='&rdetail.page.previous;'>&rdetail.page.previous.short;</a>
- <span> </span>
- <a class='np_nav_link classic_link hide_me' id='np_next'
- href='javascript:rdetailNext();' title='&rdetail.page.next;'>&rdetail.page.next.short;</a>
- <a class='np_nav_link classic_link hide_me' id='np_end'
- href='javascript:rdetailEnd();' title="&rdetail.page.last;">&rdetail.end;</a>
- </span>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class='detailsinfo-bottom-box'>
- <table>
- <tbody>
- <tr>
- <td width='50%' align='left' style='vertical-align: middle;'>
- <span>&rdetail.detailMain.headerLabel;</span>
- </td>
- <td align='right' width='50%' class='detailsinfo-right'>
- <ul>
- <li>
- <span class='placeholder'>
- <a id='rdetail_place_hold'>&opac.holds.placeHold;</a>
- </span>
- </li>
- <li class='hide_me' id='rdetail_more_actions'>
- <span class='selectBox'>
- <select id='rdetail_more_actions_selector' style='max-width: 11em;'>
- <option value='start'>&rdetail.more;</option>
- <option disabled='disabled'>--------------</option>
- <option disabled='disabled'>&rdetail.bookbag.add;</option>
- <option disabled='disabled'>--------------</option>
- <option value='new_bookbag' onclick='rdetailNewBookbag();'>&rdetail.bookbag.create;</option>
- </select>
- </span>
- </li>
- </ul>
- <div class='clear'></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div style='font-weight: bold; padding: 5px; margin: 5px; width: 100%;' class='hide_me color_4' id='rdetail_deleted_exp'>
- &rdetail.record.deleted;
- </div>
-
- <!--#include virtual="rdetail/rdetail_summary.xml"-->
- <br/><br/>
- <!--#include virtual="rdetail/rdetail_extras.xml"-->
-
- <div class='hide_me' id='rdetail_bb_none'>&rdetail.none;</div>
- <div class='hide_me' id='rdetail_bb_item_success'>&rdetail.bookbag.add.success;</div>
- <div class='hide_me' id='rdetail_bb_new'>&rdetail.bookbag.name;</div>
- <div class='hide_me' id='rdetail_bb_success'>&rdetail.bookbag.create.success;</div>
-
-</div>
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_cn_details.xml b/Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_cn_details.xml
deleted file mode 100644
index 116f1fb..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_cn_details.xml
+++ /dev/null
@@ -1,99 +0,0 @@
- <table style='width: 100%;' class='hide_me'>
- <script language='javascript' type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/skin/default/js/copy_details.js'></script>
- <script language='javascript' type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/common/js/Date.W3CDTF.js'></script>
- <tbody>
- <tr id='rdetail_volume_details_row' templateRow='1'>
- <td colspan='10'>
- <div>
- <div align='center'><a name='print' href='javascript:void(0);' class='classic_link'>&rdetail.print;</a></div><br />
-
- <table class='data_grid data_grid_center' style='width: 100%'>
- <thead>
- <tr>
- <td width='33%'>&rdetail.cn.barcode;</td>
- <td>&common.status;</td>
- <td>&rdetail.cn.location;</td>
- <td name='age_protect_label' class='hide_me'>&rdetail.cn.hold.age;</td>
- <td name='create_date_label' class='hide_me'>&rdetail.cn.genesis;</td>
- <td name='holdable_label' class='hide_me'>&rdetail.cn.holdable;</td>
- <td name='due_date_label' class='hide_me'>&rdetail.cn.due;</td>
- </tr>
- </thead>
- <tbody name='copies_tbody' class='copy_details_table' width='100%'>
- <tr name='copies_row'>
-
- <td>
- <span name='barcode'> </span>
- <a class='hide_me classic_link copy_more_info' name='details_link'>&rdetail.cn.more;</a>
- <a class='hide_me classic_link copy_more_info' name='less_details_link'>&rdetail.cn.less;</a>
- <a class='hide_me classic_link copy_more_info' name='copy_hold_link' href='javascript:void(0);'>&rdetail.cn.hold;</a>
- </td>
-
- <td name='status'> </td>
- <td name='location'> </td>
- <td name='age_protect_value' class='hide_me'>&rdetail.cn.disabled;</td>
- <td name='create_date_value' class='hide_me'> </td>
-
- <td name='copy_holdable_td' class='hide_me'>
- <span name='copy_is_holdable'> </span>
- </td>
-
- <td name='copy_due_date_td' class='hide_me'>
- <span name='copy_due_date'> </span>
- </td>
- </tr>
-
- <tr name='copy_extras_row' class='hide_me'>
- <td colspan='10'>
- <table width='100%' class='data_grid'>
- <tbody name='extras_tbody'>
- <tr name='extras_row' class='hide_me'>
- <td name='type' width='20%'>
- <span name='note' class='hide_me'><b>&rdetail.cn.note;</b></span>
- <span name='cat' class='hide_me'><b>&rdetail.cn.category;</b></span>
- </td>
- <td>
- <span name='key'> </span> : <span name='value'> </span>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
-
- </tbody>
- </table>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
-
- <span class='hide_me' id='rdetail.yes'>&common.yes;</span>
- <span class='hide_me' id='rdetail.no'>&common.no;</span>
-
-
- <div id='rdetail_print_details' class='hide_me'>
- <div style='text-align: center; padding: 20px; width: 100%'>
- <div style='width:100%; border: 2px solid #E0F0E0; margin-bottom: 20px;'>
- <input type='submit' value='&rdetail.cn.print;' onclick='window.print();'> </input>
- </div>
- <div name='body'>
- <table>
- <tbody name='tbody'>
- <tr><td>&common.library;</td><td colspan='2' name='lib'></td></tr>
- <tr><td>&common.title;</td><td colspan='2' name='title'></td></tr>
- <tr><td>&common.author;</td><td colspan='2' name='author'></td></tr>
- <tr><td>&common.edition;</td><td colspan='2' name='edition'></td></tr>
- <tr><td>&common.pubdate;</td><td colspan='2' name='pubdate'></td></tr>
- <tr><td>&common.publisher;</td><td colspan='2' name='publisher'></td></tr>
- <tr><td>&common.physical;</td><td colspan='2' name='phys'></td></tr>
- <tr>
- <td colspan='3' style='background: #E0F0E0;'> </td>
- </tr>
- <tr name='cnrow'><td><b>&common.callnumber;</b></td><td><b colspan='2' name='cn'></b></td></tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_copyinfo.xml b/Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_copyinfo.xml
deleted file mode 100644
index 251d2c9..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_copyinfo.xml
+++ /dev/null
@@ -1,75 +0,0 @@
-
-<!-- This holds information for copies attached to this record -->
-<div id='rdetail_copy_info_div' class='details-base'>
-
- <div style='width: 100%; text-align: center;'>
- <span>
- <a href='javascript:void(0);' id='copy_info_local_link'
- class='rdetail_copy_nav_link hide_me classic_link'><b>&rdetail.copyInfo.local;</b></a>
- </span>
- <span width=''>
- <a href='javascript:void(0);' id='copy_info_all_link'
- class='rdetail_copy_nav_link classic_link'><b>&rdetail.copyInfo.all;</b></a>
- </span>
- </div>
-
- <table id='rdetail_copy_info_table' class='details-datagrid'>
- <thead>
- <tr>
- <td style='border: 1px solid #ddd;'>&rdetail.copyInfo.library;</td>
- <td style='border: 1px solid #ddd;'>&rdetail.copyInfo.callnumber;</td>
- <td name='rdetail_copylocation_header' class='rdetail_copy_info_header_cell hide_me'>&rdetail.copyInfo.copylocation;</td>
- <td style='border: 1px solid #ddd;'>&rdetail.copyInfo.actions;</td>
- <td style='border: 1px solid #ddd;' nowrap='nowrap' class='rdetail_copy_info_header_cell' id='rdetail_copy_info_status'>
- <div name='rdetail_status_cell'> </div>
- </td>
- </tr>
- </thead>
- <tbody id='rdetail_copy_info_tbody'>
- <tr id='rdetail_copy_info_row' class='hide_me'>
- <td name='rdetail_library_cell' bgcolor='#fbf9ee' border='1px' bordercolor='#dddddd' style='border: 1px solid #ddd; background-color: #fbf9ee;'>
- <a name='lib_print_link' class='hide_me'>&rdetail.copyInfo.print;</a>
- </td>
- <td name='rdetail_callnumber_cell' style='border: 1px solid #ddd;'> </td>
- <td class="hide_me" name='rdetail_copylocation_cell'> </td>
- <td name='rdetail_actions_cell' style='border: 1px solid #ddd;'>
- <div style='padding: 0 0 2px 0;'><a name='details'>&rdetail.copyInfo.details;</a></div>
- <div><a name='browse'>&rdetail.copyInfo.browse;</a></div>
- <div name='hold_div' class='hide_me'>
- <a name='hold' href='javascript:void(0);'>&rdetail.copyInfo.hold;</a>
- </div>
- </td>
- <td nowrap='nowrap' name='rdetail_copy_count_cell' style='border: 1px solid #ddd;'> </td>
- </tr>
- <tr id='rdetail_copy_info_loading'><td>&rdetail.loading;</td></tr>
- </tbody>
- </table>
-
- <!--
- <table class='hide_me'>
- <tbody>
- <tr id='rdetail_volume_details_row'><td colspan='10'></td></tr>
- </tbody>
- </table>
- -->
-
- <br/><br/>
-
- <div id='rdetail_copy_info_none' class='hide_me'>&rdetail.noneAvailable;</div>
-
- <script language='javascript' type='text/javascript'>
- config.ids.rdetail.cp_status = "rdetail_copy_info_status";
- config.ids.rdetail.cp_info_row = "rdetail_copy_info_row";
- config.ids.rdetail.cp_info_loading = "rdetail_copy_info_loading";
- config.ids.rdetail.cp_info_local = "copy_info_local_link";
- config.ids.rdetail.cp_info_all = "copy_info_all_link";
- config.ids.rdetail.cp_info_none = "rdetail_copy_info_none";
- config.names.rdetail.lib_cell = "rdetail_library_cell";
- config.names.rdetail.cn_cell = "rdetail_callnumber_cell";
- config.names.rdetail.cp_count_cell = "rdetail_copy_count_cell";
- config.names.rdetail.cp_status = 'rdetail_status_cell';
- </script>
-
-</div> <!-- copy info -->
-
-
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_extras.xml b/Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_extras.xml
deleted file mode 100644
index 15d3a71..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_extras.xml
+++ /dev/null
@@ -1,93 +0,0 @@
-
-<div xmlns:xi="http://www.w3.org/2001/XInclude">
-<div style='padding: 5px;'>
- <table class='details-footer-datagrid'>
- <thead>
- <tr>
- <td id='rdetail_copy_info_link' class='rdetail_extras_selected'>
- <a href='javascript:rdetailShowExtra("copyinfo");' class='classic_link'>&rdetail.extras.summary;</a>
- </td>
- <td id='rdetail_viewcn_link' class=''>
- <a href='javascript:rdetailShowExtra("cn");' class='classic_link'>&rdetail.extras.browser;</a>
- </td>
- <td id='rdetail_reviews_link' class='hide_me'>
- <a href='javascript:rdetailShowExtra("reviews");' class='classic_link'>&rdetail.extras.reviews;</a>
- </td>
- <td id='rdetail_toc_link' class='hide_me '>
- <a href='javascript:rdetailShowExtra("toc");' class='classic_link'>&rdetail.extras.toc;</a>
- </td>
- <td id='rdetail_excerpt_link' class='hide_me'>
- <a href='javascript:rdetailShowExtra("excerpt");' class='classic_link'>&rdetail.extras.excerpt;</a>
- </td>
- <td id='rdetail_preview_link' class='hide_me'>
- <a href='javascript:rdetailShowExtra("preview");' class='classic_link'>&rdetail.extras.preview;</a>
- </td>
- <td id='rdetail_anotes_link' class='hide_me'>
- <a href='javascript:rdetailShowExtra("anotes");' class='classic_link'>&rdetail.extras.author.notes;</a>
- </td>
- <td id='rdetail_annotation_link' class='hide_me'>
- <a href='javascript:rdetailShowExtra("annotation");' class='classic_link'>&rdetail.extras.annotation;</a>
- </td>
- <td id='rdetail_viewmarc_link'>
- <a href='javascript:rdetailShowExtra("marc");' class='classic_link'>&rdetail.extras.marc;</a>
- </td>
- </tr>
- </thead>
- </table>
-
- <div id='rdetail_extras_div'>
- <div id='rdetail_extras_loading' class='hide_me'
- style='padding: 10px;'>&common.loading;</div>
- <!--#include virtual="rdetail_copyinfo.xml"-->
-
- <div id='rdetail_reviews_div' class='rdetail_extras_div hide_me'>
- <div id='rdetail_review_container'/>
- <!--
- <div id='rdetail_review_template' style='width: 100%;'>
- <div name='review_header' style='width: 100%; padding: 15px; border: 1px solid #E0E0E0;'> </div>
- <div name='review_text' style='width: 100%; padding: 15px; border: 1px solid #E0E0E0;'> </div>
- </div>
- -->
- </div>
-
- <div id='rdetail_toc_div' class='rdetail_extras_div hide_me'> </div>
-
- <div id='rdetail_excerpt_div' class='rdetail_extras_div hide_me'> </div>
-
- <div id='rdetail_preview_div' class='rdetail_extras_div hide_me'> </div>
-
- <div id='rdetail_anotes_div' class='rdetail_extras_div hide_me'> </div>
-
- <div id='rdetail_marc_div' class='rdetail_extras_div hide_me'>
- <div id='rdetail_view_marc_box' class='details-base'> </div>
- </div>
-
- <div id='rdetail_cn_browse_div' style='text-align: center;' class='hide_me'>
-
- <div id='cn_browse_none' class='hide_me color_4' style='width: 90%; text-align: center; margin: 10px;'>
- &rdetail.extras.call.null;
- </div>
-
- <div id='rdetail_cn_browse_select_div' class='details-base' style='margin-bottom: 5px;'>
- <span>&rdetail.extras.call.local; </span>
- <select id='cn_browse_selector'>
- </select>
- </div>
- <!--#include virtual="../common/cn_browse.xml"-->
- </div>
-
- <!--#include virtual="rdetail_cn_details.xml"-->
-
- </div>
-</div>
- <!-- Text for dynamic JavaScript -->
- <div id='rdetail_preview_full_text' class='hide_me'>&rdetail.extras.preview.fulltext;</div>
- <div id='rdetail_preview_title' class='hide_me'>&rdetail.extras.preview.title;</div>
- <div id='rdetail_preview_badge' class='hide_me'>&rdetail.extras.preview.badge;</div>
-
- <!-- ChiliFresh setup -->
- <script language='javascript' type='text/javascript'>
- var chilifresh = false;
- </script>
-
-</div>
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_summary.xml b/Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_summary.xml
deleted file mode 100644
index 62f311b..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_summary.xml
+++ /dev/null
@@ -1,117 +0,0 @@
-
-<!-- This holds the record summary information -->
-<div class='details-grid'>
- <table id='rdetail_details_table'>
- <tbody id='rdetail_details_tbody'>
-
- <tr>
- <td id='rdetail_image_cell' rowspan='10' style='border-right: 1px solid #efefef; text-align: center;'>
- <a id='rdetail_img_link'>
- <img style='margin: 0 auto; border: none;' id='rdetail_image' onerror='hideMe($("rdetail.jacket_attrib_div"));hideMe($("rdetail_img_link"));'/>
- </a>
- <!-- vendor attribution link -->
- <div class='jacket_attrib hide_me' id='rdetail.jacket_attrib_div'>
- <div>&opac.image_provided;</div>
- <div><a target='_blank' href='&vendor.base_link;' class='classic_link' id='rdetail.jacket_attrib_link'>&vendor.name;</a></div>
- </div>
- </td>
- <td class='title'>&common.title;</td>
- <!-- *** Example of how to use the openils.BibTemplate infrastructure to augment the stock
- *** summary screen with more and/or different information. In this case, the raw MARC 245.
- *** Just swap the following two lines of HTML.
- *** See the default skin for more examples of this technique. -->
- <!-- <td type='opac/slot-data' query='datafield[tag=245]' class='rdetail_item' id='rdetail_title'> </td> -->
- <td id='rdetail_title'> </td>
- </tr>
- <tr>
- <td class='title'>&common.author;</td>
- <td><a title='&rdetail.author.search;' id='rdetail_author'></a></td>
- </tr>
- <tr>
- <td class='title'>&common.isbn;</td>
- <td id='rdetail_isbn'> </td>
- </tr>
- <tr>
- <td class='title'>&common.edition;</td>
- <td id='rdetail_edition'> </td>
- </tr>
- <tr>
- <td class='title'>&common.pubdate;</td>
- <td id='rdetail_pubdate'> </td>
- </tr>
- <tr>
- <td class='title'>&common.publisher;</td>
- <td id='rdetail_publisher'> </td>
- </tr>
- <tr>
- <td class='title'>&common.physical;</td>
- <td id='rdetail_physical_desc'> </td>
- </tr>
- <tr>
- <td class='title'>&common.format;</td>
- <td>
- <img id='rdetail_tor_pic' class='tor_pic' />
- <span id='rdetail_tor' style='padding-left: 5px;'> </span>
- </td>
- </tr>
- <tr>
- <td class='title'>&rdetail.detailMain.abstract;</td>
- <td id='rdetail_abstract'> </td>
- </tr>
-
- <tr class='hide_me' id='rdetail_online_row'>
- <!-- *** Example of how to use the openils.BibTemplate infrastructure to augment the stock
- *** summary screen with complex information, such as location-specific URIs (856$9). -->
- <td nowrap='nowrap' class='rdetail_desc'>&rdetail.summary.online;
- <span class='hide_me' type='opac/slot-data' query='datafield[tag=856] subfield[code=9]'>
- <script type='opac/slot-format'><![CDATA[
- // There exists at least one localized URI. Clear all links.
- dojo.query('*:not([type^=opac])', 'rdetail_online').orphan();
- return '';
- ]]></script>
- </span>
- </td>
- <td class='rdetail_item' id='rdetail_online' type='opac/slot-data' query='volumes > volume > uris > uri' join=", ">
- <script type='opac/slot-format'><![CDATA[
- var link = '<a href="' + item.getAttribute('href') + '">' + item.getAttribute('label') + '</a>';
- if (item.getAttribute('use_restriction'))
- link += ' (Use restriction: ' + item.getAttribute('use_restriction') + ')';
- return link;
- ]]></script>
- </td>
- </tr>
- </tbody>
- </table>
- <!-- Empty span used for creating unAPI links -->
- <abbr name="unapi" class="unapi-id">
- <!-- unAPI URI goes here -->
- </abbr>
-
- <script language='javascript' type='text/javascript'><![CDATA[
- config.ids.rdetail.details_body = 'rdetail_details_body';
- config.ids.rdetail.title = 'rdetail_title';
- config.ids.rdetail.author = 'rdetail_author';
- config.ids.rdetail.isbn = 'rdetail_isbn';
- config.ids.rdetail.edition = 'rdetail_edition';
- config.ids.rdetail.pubdate = 'rdetail_pubdate';
- config.ids.rdetail.publisher = 'rdetail_publisher';
- config.ids.rdetail.tor = 'rdetail_tor';
- config.ids.rdetail.abstr = 'rdetail_abstract';
- config.ids.rdetail.image = 'rdetail_image';
- config.ids.rdetail.tor_pic = 'rdetail_tor_pic';
-
- dojo.addOnLoad( function () {
- var here = findOrgUnit(getLocation());
- if (getDepth() > 0 || getDepth === 0 ) {
- while (getDepth() < findOrgDepth(here))
- here = findOrgUnit( here.parent_ou );
- }
-
- dojo.require('openils.BibTemplate');
- new openils.BibTemplate({ record : new CGI().param('r'), org_unit : here.shortname() }).render();
- });
-
- ]]></script>
-
-</div> <!-- details_body -->
-
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/result/filtersort.xml b/Open-ILS/web/opac/skin/craftsman/xml/result/filtersort.xml
deleted file mode 100644
index 71cf76a..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/result/filtersort.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<span>
- <table>
- <tr>
- <td nowrap='nowrap'><label>&result.limit2avail;</label></td>
- <td class='checkbox' style='padding-right: 5px;'><input type='checkbox' id='opac.result.limit2avail' onclick='searchBarSubmit(true);' /> </td>
- <td><select id='opac.result.sort' onchange='searchBarSubmit(true);'>
- <option selected='selected' value=''>&result.sort_by;</option>
- <optgroup label='&result.sort_by.title;'>
- <option id='opac.result.title.a2z' label='&common.a2z.titla;' value='titlesort.asc'>&common.a2z.title;</option>
- <option id='opac.result.title.z2a' label='&common.z2a.titla;' value='titlesort.desc'>&common.z2a.title;</option>
- </optgroup>
- <optgroup label='&result.sort_by.author;'>
- <option id='opac.result.author.a2z' label='&common.a2z.author;' value='authorsort.asc'>&common.a2z.author;</option>
- <option id='opac.result.author.z2a' label='&common.z2a.author;' value='authorsort.desc'>&common.z2a.author;</option>
- </optgroup>
- <optgroup label='&result.sort_by.pubdate;'>
- <option id='opac.result.pubdate.new2old' label='&common.new2old.pubdate;'
- value='pubdate.desc'>&common.new2old.pubdate;</option>
- <option id='opac.result.pubdate.old2new' label='&common.old2new.pubdate;'
- value='pubdate.asc'>&common.old2new.pubdate;</option>
- </optgroup>
- </select></td>
- </tr>
- </table>
-</span>
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/result/result_info.xml b/Open-ILS/web/opac/skin/craftsman/xml/result/result_info.xml
deleted file mode 100644
index a09ea88..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/result/result_info.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-<div class='resultinfo-box'>
- <table>
- <tbody>
- <tr>
- <td id='next_prev_links'>
- <span class='hide_me' id='result_info_div' style='font-size: 9pt;'>
- <span> &common.results; </span>
- <span id='offset_start'> </span>
- <span> - </span>
- <span id='offset_end'> </span>
- <span> &common.ofAtLeast; </span>
- <span id='result_count'> </span>
- <span style='padding-left: 6px;'> (page </span>
- <span id='current_page'> </span>
- <span> &common.of; </span>
- <span id='num_pages'> </span>
- </span>
-
- <span id='start_end_links_span' class='hide_me'
- style='padding-left: 40px;' >
- <a class='search_page_nav_link' id='search_home_link'
- title="&rdetail.page.results;">&rdetail.start;</a><a class='search_page_nav_link'
- id='prev_link' title='&rdetail.page.previous;'>&rdetail.page.previous.short;</a>
-
- <span class='search_page_nav_link' id='page_numbers'> </span>
-
- <a class='search_page_nav_link' id='next_link'
- title='&rdetail.page.next;'>&rdetail.page.next.short;</a>
- <!--
- <a class='search_page_nav_link'
- id='end_link' title="&rdetail.page.last;">&rdetail.end;</a>
- -->
- </span>
- </td>
- <td width='15%' colspan='5' align='center'>
- <span id='search_info_table' class='hide_me'>
- <b>&result.info.copies; </b>
- </span>
- </td>
- </tr>
- </tbody>
- </table>
-</div>
-<div class='resultinfo-bottom-box'>
- <table>
- <tbody>
- <tr id='result_thead_row'>
- <td>
- <div class='hide_me' id='no_formats' style='padding: 4px;'>
- <b>
- <span style='color:red;'>*</span>
- &result.info.no.items;
- <div>&result.info.format.items;</div>
- </b>
- </div>
- </td>
- <td>
- <div class='hide_me' id='rresult_show_all' style='padding: 4px;'>
- <a href='javascript:rresultExpandSearch();' id='rresult_show_all_link'
- class='classic_link'>&result.info.show; </a>
- </div>
- </td>
- <td>
- <div class='hide_me' id='rresult_show_here' style='padding: 4px;'>
- <a href='javascript:rresultContractSearch();' id='rresult_show_here_link'
- class='classic_link'>&result.info.show; </a>
- </div>
-
- </td>
- <td rowspan='2' class='copy_count_cell' style='font-size: 8pt; padding-top: 4px; width: 80px;' align='center' name='result_thead_ccell'> </td>
- </tr>
- </tbody>
- </table>
-</div>
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/result/result_lowhits.xml b/Open-ILS/web/opac/skin/craftsman/xml/result/result_lowhits.xml
deleted file mode 100644
index 168819e..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/result/result_lowhits.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-<div id='result_low_hits' class='lowhits-box hide_me'>
- <ul>
- <li>
- <div id='result_low_hits_msg' class='hide_me'>&result.lowhits.few;</div>
- <div id='result_zero_hits_msg' class='hide_me'>&result.lowhits.zero;</div>
- </li>
- <!-- spell checker -->
- <li id='did_you_mean'>
- <span>&result.lowhits.did.you.mean; </span>
- <a class='classic_link' id='spell_check_link'> </a>
- </li>
-
- <li id='low_hits_remove_format' class='hide_me'>
- <span>&result.lowhits.formats; </span>
- <a id='low_hits_remove_format_link' class='classic_link'>&result.lowhits.formats.search;</a>
- </li>
-
- <li id='low_hits_cross_ref' class='hide_me'>
- <span>&result.lowhits.related;</span>
- <div>
- <a id='low_hits_xref_link' class='classic_link' style='padding-right: 5px;'> </a>
- </div>
- </li>
-
- <li id='low_hits_expand_range' class='hide_me'>
- <span>&result.lowhits.expand; </span>
- <a id='low_hits_expand_link' class='classic_link' style='padding-right: 5px;'> </a>
- </li>
-
- <li id='low_hits_search_type' class='hide_me'>
- <span>&result.lowhits.class;</span>
- <a id='low_hits_title_search' class='classic_link' style='padding-right: 5px;'>&result.lowhits.title;</a>
- <a id='low_hits_author_search' class='classic_link' style='padding-right: 5px;'>&result.lowhits.author;</a>
- <a id='low_hits_subject_search' class='classic_link' style='padding-right: 5px;'>&result.lowhits.subject;</a>
- <a id='low_hits_series_search' class='classic_link' style='padding-right: 5px;'>&result.lowhits.series;</a>
- <a id='low_hits_keyword_search' class='classic_link' style='padding-right: 5px;'>&result.lowhits.keyword;</a>
- </li>
- </ul>
-</div>
\ No newline at end of file
diff --git a/Open-ILS/web/opac/skin/craftsman/xml/result/result_table.xml b/Open-ILS/web/opac/skin/craftsman/xml/result/result_table.xml
deleted file mode 100644
index 8e5e448..0000000
--- a/Open-ILS/web/opac/skin/craftsman/xml/result/result_table.xml
+++ /dev/null
@@ -1,151 +0,0 @@
-<!-- Search results are spit into this table -->
-
-<div id='result_table_div' xmlns:xi="http://www.w3.org/2001/XInclude">
-
- <table id='res_table'>
-
- <!-- for some reason, this is the only way i can force the cell widths -->
- <thead id='result_thead'>
- <tr>
- <td class='result_table_pic_header'></td>
- <td> </td>
- </tr>
- </thead>
-
- <tbody id='result_table'>
- <tr>
-
- <td class='result_table_row'>
- <!--#include virtual="result_info.xml"-->
- </td>
- </tr>
-
- <!-- Template for displaying a search result. This row template is cloned and inserted
- for each result returned -->
-
- <tr id='result_table_template' class='hide_me'>
-
- <!-- Jacket image goes here -->
-
- <td align='left'>
- <table class='book-results'>
- <tbody>
- <tr name='counts_row'>
- <td class='bookjacket' valign='middle' style='vertical-align: middle;'>
- <a><img name='item_jacket' /></a>
- </td>
-
- <td name='result_table_title_cell'>
- <!-- Title goes here -->
- <h1><a title="&result.table.keyword;" name='item_title'>
- <!-- Title goes here -->
- </a></h1>
-
- <h2><a title="&result.table.author;" name='item_author'>
- <!-- Author goes here -->
- </a></h2>
- <blockquote>
- <span name='result_table_extra_span' class='hide_me'>
- <span name='result_table_pub_box'>
- <span name='result_table_edition_span'></span> |
- <span name='result_table_pub_span'> </span> |
- <span name='result_table_phys_span'> </span>
- </span>
- </span>
- </blockquote>
-
- <div name='result_table_format_cell'>
- <div class='tool-icons'>
- <a name='text_link'><img src='../../../../images/tor/book-icon.gif' style='width: 23px; height: 22px;' class='dim' /></a>
- <a name='sound recording-nonmusical_link'><img src='../../../../images/tor/nonmusic-icon.gif' style='width: 22px; height: 18px;' class='dim' /></a>
- <a name='moving image_link'><img src='../../../../images/tor/mov-icon.gif' style='width: 23px; height: 22px;' class='dim' /></a>
- <a name='software, multimedia_link'><img src='../../../../images/tor/software-icon.gif' style='width: 17px; height: 20px;' class='dim' /></a>
- <a name='sound recording-musical_link'><img src='../../../../images/tor/sound-icon.gif' style='width: 30px; height: 18px;' class='dim' /></a>
- <a name='cartographic_link'><img src='../../../../images/tor/earth-icon.gif' style='width: 19px; height: 18px;' class='dim' /></a>
- <a name='mixed material_link'><img src='../../../../images/tor/mix-icon.gif' style='width: 23px; height: 22px;' class='dim' /></a>
- <a name='notated music_link'><img src='../../../../images/tor/mussymbol-icon.gif' style='width: 17px; height: 19px;' class='dim' /></a>
- <a name='sound recording_link'><img src='../../../../images/tor/recsound-icon.gif' style='width: 30px; height: 18px;' class='dim' /></a>
- <a name='still image_link'><img src='../../../../images/tor/pic-icon.gif' style='width: 23px; height: 25px;' class='dim' /></a>
- <a name='three dimensional object_link'><img src='../../../../images/tor/threed-icon.gif' style='width: 21px; height: 21px;' class='dim' /></a>
- <div class='clear'></div>
- </div>
- <span class='hide_me' style='color: #9999FF; padding-left: 10px; font-size: 7pt; font-weight: 300;'>
- <span>&common.relevancy; </span><span name='relevancy_span'> </span>
- </span>
-
- <span class='placeholder hide_me' name='place_hold_span'>
- <a href='javascript:void(0);' name='place_hold_link'>&opac.holds.placeHold;</a>
- </span>
- <div class='clear'></div>
-
- <!-- Empty span used for creating unAPI links -->
- <abbr name="unapi" class="unapi-id">
- <!-- unAPI URI goes here -->
- </abbr>
-
- <!-- Empty span used for creating Google Book Search-->
- <span name="googleBooksLink" class="hide_me">
- <a style='padding-left: 8px;' class='classic_link' name="googleBooks-link">&result.googleBooks.browse;</a>
- </span>
-
- </div>
-
- </td>
-
- <!-- Copy this td for each copy count appended -->
- <td nowrap='nowrap' name="copy_count_cell" class='count' style="width: 80px; padding: 6px 2px;"> </td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
-
-
- <!-- ====================== -->
- <div id='result_info_2' class='pageresults-box hide_me'>
- <span class='hide_me' id='result_info_div2'>
- <span> &common.results; </span>
- <b id='offset_start2'> </b>
- <span> - </span>
- <b id='offset_end2'> </b>
- <span> &common.ofAtLeast; </span>
- <b id='result_count2'> </b>
- <span style='padding-left: 6px;'> (page </span>
- <span id='current_page2'> </span>
- <span> &common.of; </span>
- <span id='num_pages2'> </span>
- </span>
-
- <span id='start_end_links_span2' class='hide_me' style='padding-left: 40px;' >
- <a class='search_page_nav_link' id='search_home_link2'
- title="&rdetail.page.results;">&rdetail.start;</a><a class='search_page_nav_link'
- id='prev_link2' title='&rdetail.page.previous;'>&rdetail.page.previous.short;</a>
-
- <span class='search_page_nav_link' id='page_numbers2'> </span>
- <a class='search_page_nav_link' id='next_link2'
- title='&rdetail.page.next;'>&rdetail.page.next.short;</a>
- <!--
- <a class='search_page_nav_link'
- id='end_link2' title="&rdetail.page.last;">&rdetail.end;</a>
- -->
- </span>
- </div>
- <!-- ====================== -->
-
-
- <script language='javascript' type='text/javascript'>
- config.names.result.format_cell = 'result_table_format_cell';
- config.names.result.format_link = 'resource_link'
- config.names.result.format_pic = 'format_pic'
- </script>
-
- <!-- ChiliFresh setup -->
- <script language='javascript' type='text/javascript'>
- var chilifresh = false;
- </script>
-
-</div>
-
-
diff --git a/Open-ILS/web/opac/theme/craftsman/css/colors.css b/Open-ILS/web/opac/theme/craftsman/css/colors.css
deleted file mode 100644
index 7209c94..0000000
--- a/Open-ILS/web/opac/theme/craftsman/css/colors.css
+++ /dev/null
@@ -1,100 +0,0 @@
-body a { color: black; text-decoration: none;}
-body a:visited { color: black; text-decoration: none;}
-body a:hover { color: red; text-decoration: underline;}
-
-
-/* the idea is to have 4 complimentary colors that
- * are used throughout the opac. Edit those colors
- * in this file
- */
-
-.color_1 { background: #A7EA9D; color: #000000; }
-.color_2 { background: #64EA4F; color: #000000; }
-.color_3 { background: #E0F6E0; color: #000000; }
-.color_4 { background: #E0F0E0; color: #000000; }
-
-.border_1 { border: 1px solid #A7EA9D; }
-.border_2 { border: 1px solid #64EA4F; }
-.border_3 { border: 1px solid #E0F6E0; }
-.border_4 { border: 1px solid #E0F0E0; }
-
-.border_1_2 { border: 2px solid #A7EA9D; }
-.border_2_2 { border: 2px solid #64EA4F; }
-.border_3_2 { border: 2px solid #E0F6E0; }
-.border_4_2 { border: 2px solid #E0F0E0; }
-
-.border_1_3 { border: 3px solid #A7EA9D; }
-.border_2_3 { border: 3px solid #64EA4F; }
-.border_3_3 { border: 3px solid #E0F6E0; }
-.border_4_3 { border: 3px solid #E0F0E0; }
-
-
-
-
-/* general purpose light borders */
-.border_5 { border: 1px solid #D0D0D0; }
-.border_6 { border: 1px solid #808080; }
-
-input:focus { background: #E0F0E0; color: #000000;}
-a:focus { background: #E0F0E0; color: #000000;}
-
-
-/* ---------------------------------------------------------------------- */
-
-.canvas { /* main content div for each page */
- /*
- border-left: 3px solid #A7EA9D;
- border-bottom: 3px solid #A7EA9D;
- border-top: 3px solid #A7EA9D;
- */
-}
-
-/* border around home search box */
-.home_search { border: 3px solid #A7EA9D; }
-
-/* main nav sidebar */
-.sidebar_item_active { background: #deddd2; }
-
-/* record detail summary block */
-.rdetail_desc { border: 1px solid #A7EA9D; }
-.rdetail_item { border: 1px solid #A7EA9D; }
-.rdetail_extras_selected { background: #E0F0E0;}
-
-
-.data_grid thead tr { background: #E0F0E0; color: #000000; }
-.data_grid thead td { border: 1px solid #808080; }
-.data_grid tbody td { border: 1px solid #E0F6E0; }
-.data_grid_nb thead tr { background: #E0F0E0; color: #000000; }
-.data_grid_nb thead td { border: none; }
-.data_grid_nb tbody td { border: none; }
-
-.light_border { border: 1px solid #E0F6E0; }
-
-.adv_quick_search_submit { border-bottom: 3px solid #E0F6E0;}
-
-.myopac_link_active { background: #E0F6E0; }
-
-.sidebar_extra_link { text-decoration: none; }
-#searchbar_tag_on { color: red; }
-.searchbar_item { color: black; }
-#login_box { border-top: 1px solid #808080; border-bottom: 1px solid #808080; }
-#next_prev_links_dead { color: #808080; text-decoration: none; }
-
-.nav_link_active {font-weight: bold;}
-
-.search_link { text-decoration: none; }
-.result_table_subtable { border-top: 1px solid #E0E0E0; }
-
-.copy_count_cell { border-right: 1px solid #E0E0E0; }
-.copy_count_div { border-left: 2px solid #E0F6E0; border-right: 2px solid #E0F6E0; }
-
-#rdetail_image_cell { }
-
-
-
-.x_mark { color: red; }
-.check_mark { color: green; }
-
-#myopac_holds_thaw_date_form { border: 1px solid #E0E0E0; }
-
-.invalid_field { border: 3px solid red; }
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/web/Makefile.am | 5 -
Open-ILS/web/opac/skin/craftsman/css/default.css | 269 -----
Open-ILS/web/opac/skin/craftsman/css/layout.css | 246 -----
Open-ILS/web/opac/skin/craftsman/js/rdetail.js | 1132 --------------------
.../web/opac/skin/craftsman/js/result_common.js | 822 --------------
Open-ILS/web/opac/skin/craftsman/js/search_bar.js | 88 --
Open-ILS/web/opac/skin/craftsman/js/sidebar.js | 227 ----
.../skin/craftsman/xml/advanced/adv_global_row.xml | 36 -
.../craftsman/xml/advanced/advanced_global.xml | 287 -----
Open-ILS/web/opac/skin/craftsman/xml/body.xml | 48 -
.../opac/skin/craftsman/xml/common/altcanvas.xml | 37 -
.../opac/skin/craftsman/xml/common/cn_browse.xml | 36 -
.../opac/skin/craftsman/xml/common/css_common.xml | 25 -
.../web/opac/skin/craftsman/xml/common/fonts.xml | 28 -
.../web/opac/skin/craftsman/xml/common/holds.xml | 242 -----
.../opac/skin/craftsman/xml/common/libselect.xml | 15 -
.../web/opac/skin/craftsman/xml/common/login.xml | 109 --
.../web/opac/skin/craftsman/xml/common/logo.xml | 2 -
.../web/opac/skin/craftsman/xml/common/orgtree.xml | 23 -
.../opac/skin/craftsman/xml/common/searchbar.xml | 34 -
.../web/opac/skin/craftsman/xml/common/sidebar.xml | 174 ---
.../opac/skin/craftsman/xml/common/statusbar.xml | 24 -
.../web/opac/skin/craftsman/xml/common/tips.xml | 8 -
Open-ILS/web/opac/skin/craftsman/xml/footer.xml | 23 -
.../opac/skin/craftsman/xml/home/homesearch.xml | 93 --
.../opac/skin/craftsman/xml/home/index_body.xml | 28 -
.../web/opac/skin/craftsman/xml/page_cnbrowse.xml | 6 -
.../web/opac/skin/craftsman/xml/page_myopac.xml | 67 --
.../web/opac/skin/craftsman/xml/page_rdetail.xml | 85 --
.../craftsman/xml/rdetail/rdetail_cn_details.xml | 99 --
.../craftsman/xml/rdetail/rdetail_copyinfo.xml | 75 --
.../skin/craftsman/xml/rdetail/rdetail_extras.xml | 93 --
.../skin/craftsman/xml/rdetail/rdetail_summary.xml | 117 --
.../opac/skin/craftsman/xml/result/filtersort.xml | 25 -
.../opac/skin/craftsman/xml/result/result_info.xml | 74 --
.../skin/craftsman/xml/result/result_lowhits.xml | 39 -
.../skin/craftsman/xml/result/result_table.xml | 151 ---
Open-ILS/web/opac/theme/craftsman/css/colors.css | 100 --
38 files changed, 0 insertions(+), 4992 deletions(-)
delete mode 100644 Open-ILS/web/opac/skin/craftsman/css/default.css
delete mode 100644 Open-ILS/web/opac/skin/craftsman/css/layout.css
delete mode 100644 Open-ILS/web/opac/skin/craftsman/js/rdetail.js
delete mode 100644 Open-ILS/web/opac/skin/craftsman/js/result_common.js
delete mode 100644 Open-ILS/web/opac/skin/craftsman/js/search_bar.js
delete mode 100644 Open-ILS/web/opac/skin/craftsman/js/sidebar.js
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/advanced/adv_global_row.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/advanced/advanced_global.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/body.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/common/altcanvas.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/common/cn_browse.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/common/css_common.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/common/fonts.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/common/holds.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/common/libselect.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/common/login.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/common/logo.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/common/orgtree.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/common/searchbar.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/common/sidebar.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/common/statusbar.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/common/tips.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/footer.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/home/homesearch.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/home/index_body.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/page_cnbrowse.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/page_myopac.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/page_rdetail.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_cn_details.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_copyinfo.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_extras.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_summary.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/result/filtersort.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/result/result_info.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/result/result_lowhits.xml
delete mode 100644 Open-ILS/web/opac/skin/craftsman/xml/result/result_table.xml
delete mode 100644 Open-ILS/web/opac/theme/craftsman/css/colors.css
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list