</LocationMatch>
<LocationMatch /opac/extras/>
+ # Force to en-US for now to satisfy bbags.xml
+ SetEnv locale en-US
+ Options +Includes
+ AddOutputFilter INCLUDES .xml
AddType application/xhtml+xml .xml
</LocationMatch>
RewriteCond %{ENV:locale} ^en$
RewriteRule - - [E=locale:en-US] [L]
-<LocationMatch /xul/.*\.xhtml$>
+<LocationMatch /xul/.*\.x?html$>
Options +Includes
XMLEntEscapeScript "no"
XMLEntStripComments "yes"
XMLEntStripDoctype "yes"
XMLEntContentType "text/html; charset=utf-8"
AddOutputFilter INCLUDES;XMLENT .xhtml
+ AddOutputFilter INCLUDES;XMLENT .html
allow from all
</LocationMatch>
-<?xml version='1.0'?>
+<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
<script language='javascript' src='/opac/common/js/fmall.js'> </script>
<script language='javascript' src='/opac/common/js/fmgen.js'> </script>
<script language='javascript' src='/opac/common/js/opac_utils.js'> </script>
- <script language='javascript' src='/opac/common/js/OrgTree.js'> </script>
+ <script language='javascript' src='/opac/common/js/<!--#echo var="locale"-->/OrgTree.js'> </script>
<script language='javascript' src='/opac/common/js/org_utils.js'> </script>
<script language='javascript' src='/opac/common/js/init.js'> </script>
<script language='javascript' src='/opac/common/js/RemoteRequest.js'> </script>
hideMe($('rdetail_reviews_div'));
hideMe($('rdetail_toc_div'));
hideMe($('rdetail_anotes_div'));
+ hideMe($('rdetail_performer_notes_div'));
hideMe($('rdetail_excerpt_div'));
hideMe($('rdetail_preview_div'));
hideMe($('rdetail_marc_div'));
removeCSSClass($('rdetail_excerpt_link'), 'rdetail_extras_selected');
removeCSSClass($('rdetail_preview_link'), 'rdetail_extras_selected');
removeCSSClass($('rdetail_anotes_link'), 'rdetail_extras_selected');
+ removeCSSClass($('rdetail_performer_notes_link'), 'rdetail_extras_selected');
removeCSSClass($('rdetail_annotation_link'), 'rdetail_extras_selected');
removeCSSClass($('rdetail_viewmarc_link'), 'rdetail_extras_selected');
unHideMe($('rdetail_anotes_div'));
break;
+ case "performer_notes":
+ addCSSClass($('rdetail_performer_notes_link'), 'rdetail_extras_selected');
+ unHideMe($('rdetail_performer_notes_div'));
+ break;
+
case "toc":
addCSSClass($('rdetail_toc_link'), 'rdetail_extras_selected');
unHideMe($('rdetail_toc_div'));
if( data.toc.html ) {
$('rdetail_toc_div').innerHTML = data.toc.html;
unHideMe($('rdetail_toc_link'));
+ } else if( record.toc() ) {
+ $('rdetail_toc_div').innerHTML = record.toc();
+ unHideMe($('rdetail_toc_link'));
}
if( data.excerpt.html ) {
$('rdetail_anotes_div').innerHTML = data.anotes.html;
unHideMe($('rdetail_anotes_link'));
}
+
+ if( record.performer_notes() ) {
+ $('rdetail_performer_notes_div').innerHTML = record.performer_notes();
+ unHideMe($('rdetail_performer_notes_link'));
+ }
}
function rdetailShowReviews(r) {
class='classic_link'>&rdetail.extras.author.notes;</a>
</td>
+ <td id='rdetail_performer_notes_link' class='hide_me rdetail_extras_td'
+ style='padding-right: 15px; padding-left: 15px;' >
+ <a href='javascript:rdetailShowExtra("performer_notes");'
+ class='classic_link'>&rdetail.extras.performer.notes;</a>
+ </td>
+
<td id='rdetail_annotation_link' class='hide_me rdetail_extras_td'
style='padding-right: 15px; padding-left: 15px;' >
<div id='rdetail_anotes_div' class='rdetail_extras_div hide_me'> </div>
+ <div id='rdetail_performer_notes_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'> </div>
</div>
<script type='text/javascript' src='/opac/common/js/fmgen.js'> </script>
<script type='text/javascript' src='/opac/common/js/Cookies.js'> </script>
<script type='text/javascript' src='/opac/common/js/opac_utils.js'> </script>
-<script type='text/javascript' src='/opac/common/js/OrgTree.js'> </script>
+<script type='text/javascript' src='/opac/common/js/<!--#echo var="locale"-->/OrgTree.js'> </script>
<script type='text/javascript' src='/opac/common/js/org_utils.js'> </script>
<script type='text/javascript' src='/opac/common/js/init.js'> </script>
<script type='text/javascript' src='/opac/common/js/RemoteRequest.js'> </script>
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="reporter.css" type="text/css"?>
<?xml-stylesheet href="/opac/common/js/jscalendar/calendar-brown.css" type="text/css" ?>
<script src='/opac/common/js/fmgen.js' type="application/x-javascript; e4x=1"/>
<script src='/opac/common/js/Cookies.js' type="application/x-javascript; e4x=1"/>
<script src='/opac/common/js/opac_utils.js' type="application/x-javascript; e4x=1"/>
-<script src='/opac/common/js/OrgTree.js' type="application/x-javascript; e4x=1"/>
+<script src='/opac/common/js/<!--#echo var="locale"-->/OrgTree.js' type="application/x-javascript; e4x=1"/>
<script src='/opac/common/js/org_utils.js' type="application/x-javascript; e4x=1"/>
<script src='/opac/common/js/RemoteRequest.js' type="application/x-javascript; e4x=1"/>
<script src='/opac/common/js/md5.js' type="application/x-javascript; e4x=1"/>
<script type="text/javascript" src="util/fmall.js" />
<script type="text/javascript" src="util/fmgen.js" />
<script type="text/javascript" src="util/RemoteRequest.js" />
- <script type="text/javascript" src="util/OrgTree.js" />
+ <script type='text/javascript' src='util/en-US/OrgTree.js' />
<script type="text/javascript" src="util/org_utils.js" />
<script type="text/javascript" src="global_util.js" />
<messagecatalog id="offlineStrings" src='chrome://open_ils_staff_client/locale/offline.properties'/>
'opac' : '/opac/en-US/skin/default/xml/advanced.xml?nps=1',
'opac_rdetail' : '/opac/en-US/skin/default/xml/rdetail.xml',
'opac_rresult' : '/opac/en-US/skin/default/xml/rresult.xml',
- 'org_tree' : '/opac/common/js/OrgTree.js',
+ 'org_tree' : '/opac/common/js/en-US/OrgTree.js',
'browser' : '/opac/en-US/skin/default/xml/advanced.xml?nps=1',
'fieldmapper' : '/opac/common/js/fmall.js',
'isodate_lib_remote' : '/opac/common/js/DP_DateExtensions.js',
<script type="text/javascript" src="/opac/common/js/fmall.js" />
<script type="text/javascript" src="/opac/common/js/fmgen.js" />
<script type="text/javascript" src="/opac/common/js/RemoteRequest.js" />
- <script type="text/javascript" src="/opac/common/js/OrgTree.js" />
+ <script type='text/javascript' src='/opac/common/js/<!--#echo var="locale"-->/OrgTree.js' />
<script type="text/javascript" src="/opac/common/js/org_utils.js" />
<script type="text/javascript" src="global_util.js" />
<menupopup id="clipboard">
<script language='javascript' src='/opac/common/js/fmgen.js'> </script>
<script language='javascript' src='/opac/common/js/Cookies.js'> </script>
<script language='javascript' src='/opac/common/js/opac_utils.js'> </script>
- <script language='javascript' src='/opac/common/js/OrgTree.js'> </script>
+ <script language='javascript' src='/opac/common/js/<!--#echo var="locale"-->/OrgTree.js'> </script>
<script language='javascript' src='/opac/common/js/org_utils.js'> </script>
<script language='javascript' src='/opac/common/js/init.js'> </script>
<script language='javascript' src='/opac/common/js/RemoteRequest.js'> </script>
<script language='javascript' src='/opac/common/js/fmgen.js'> </script>
<script language='javascript' src='/opac/common/js/Cookies.js'> </script>
<script language='javascript' src='/opac/common/js/opac_utils.js'> </script>
- <script language='javascript' src='/opac/common/js/OrgTree.js'> </script>
+ <script language='javascript' src='/opac/common/js/<!--#echo var="locale"-->/OrgTree.js'> </script>
<script language='javascript' src='/opac/common/js/org_utils.js'> </script>
<script language='javascript' src='/opac/common/js/init.js'> </script>
<script language='javascript' src='/opac/common/js/RemoteRequest.js'> </script>
<script language='javascript' src='/opac/common/js/fmgen.js'> </script>
<script language='javascript' src='/opac/common/js/Cookies.js'> </script>
<script language='javascript' src='/opac/common/js/opac_utils.js'> </script>
- <script language='javascript' src='/opac/common/js/OrgTree.js'> </script>
+ <script language='javascript' src='/opac/common/js/<!--#echo var="locale"-->/OrgTree.js'> </script>
<script language='javascript' src='/opac/common/js/org_utils.js'> </script>
<script language='javascript' src='/opac/common/js/init.js'> </script>
<script language='javascript' src='/opac/common/js/RemoteRequest.js'> </script>
<script language='javascript' src='/opac/common/js/fmgen.js'> </script>
<script language='javascript' src='/opac/common/js/Cookies.js'> </script>
<script language='javascript' src='/opac/common/js/opac_utils.js'> </script>
- <script language='javascript' src='/opac/common/js/OrgTree.js'> </script>
+ <script language='javascript' src='/opac/common/js/<!--#echo var="locale"-->/OrgTree.js'> </script>
<script language='javascript' src='/opac/common/js/org_utils.js'> </script>
<script language='javascript' src='/opac/common/js/init.js'> </script>
<script language='javascript' src='/opac/common/js/RemoteRequest.js'> </script>
<script language='javascript' src='/opac/common/js/fmgen.js'> </script>
<script language='javascript' src='/opac/common/js/Cookies.js'> </script>
<script language='javascript' src='/opac/common/js/opac_utils.js'> </script>
- <script language='javascript' src='/opac/common/js/OrgTree.js'> </script>
+ <script language='javascript' src='/opac/common/js/<!--#echo var="locale"-->/OrgTree.js'> </script>
<script language='javascript' src='/opac/common/js/org_utils.js'> </script>
<script language='javascript' src='/opac/common/js/init.js'> </script>
<script language='javascript' src='/opac/common/js/RemoteRequest.js'> </script>
<script language='javascript' src='/opac/common/js/fmgen.js'> </script>
<script language='javascript' src='/opac/common/js/Cookies.js'> </script>
<script language='javascript' src='/opac/common/js/opac_utils.js'> </script>
- <script language='javascript' src='/opac/common/js/OrgTree.js'> </script>
+ <script language='javascript' src='/opac/common/js/<!--#echo var="locale"-->/OrgTree.js'> </script>
<script language='javascript' src='/opac/common/js/org_utils.js'> </script>
<script language='javascript' src='/opac/common/js/init.js'> </script>
<script language='javascript' src='/opac/common/js/RemoteRequest.js'> </script>
<script type="text/javascript" src="/opac/common/js/fmall.js"></script>
<script type="text/javascript" src="/opac/common/js/fmgen.js"></script>
<script type="text/javascript" src="/opac/common/js/RemoteRequest.js"></script>
- <script type="text/javascript" src="/opac/common/js/OrgTree.js"></script>
+ <script type='text/javascript' src='/opac/common/js/<!--#echo var="locale"-->/OrgTree.js'></script>
<script type="text/javascript" src="/opac/common/js/org_utils.js"></script>
<script type="text/javascript" src="/xul/server/OpenILS/global_util.js"></script>
<script language='javascript' src='/opac/common/js/fmgen.js'> </script>
<script language='javascript' src='/opac/common/js/Cookies.js'> </script>
<script language='javascript' src='/opac/common/js/opac_utils.js'> </script>
- <script language='javascript' src='/opac/common/js/OrgTree.js'> </script>
+ <script language='javascript' src='/opac/common/js/<!--#echo var="locale"-->/OrgTree.js'> </script>
<script language='javascript' src='/opac/common/js/org_utils.js'> </script>
<script language='javascript' src='/opac/common/js/init.js'> </script>
<script language='javascript' src='/opac/common/js/RemoteRequest.js'> </script>
<script type="text/javascript">var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};</script>
<scripts id="openils_util_scripts"/>
- <script type="text/javascript" src="/opac/common/js/OrgTree.js"/>
+ <script type='text/javascript' src='/opac/common/js/<!--#echo var="locale"-->/OrgTree.js'/>
<script type="text/javascript" src="/opac/common/js/org_utils.js"/>
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script>
<script language='javascript' src='/opac/common/js/fmgen.js'> </script>
<script language='javascript' src='/opac/common/js/Cookies.js'> </script>
<script language='javascript' src='/opac/common/js/opac_utils.js'> </script>
- <script language='javascript' src='/opac/common/js/OrgTree.js'> </script>
+ <script language='javascript' src='/opac/common/js/<!--#echo var="locale"-->/OrgTree.js'> </script>
<script language='javascript' src='/opac/common/js/org_utils.js'> </script>
<script language='javascript' src='/opac/common/js/init.js'> </script>
<script language='javascript' src='/opac/common/js/RemoteRequest.js'> </script>
<script language='javascript' src='/opac/common/js/fmall.js'> </script>
<script language='javascript' src='/opac/common/js/fmgen.js'> </script>
<script language='javascript' src='/opac/common/js/opac_utils.js'> </script>
- <script language='javascript' src='/opac/common/js/OrgTree.js'> </script>
+ <script language='javascript' src='/opac/common/js/<!--#echo var="locale"-->/OrgTree.js'> </script>
<script language='javascript' src='/opac/common/js/org_utils.js'> </script>
<script language='javascript' src='/opac/common/js/init.js'> </script>
<script language='javascript' src='/opac/common/js/RemoteRequest.js'> </script>