2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Example Template for remote xul -->
5 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
8 <?xml-stylesheet href="/xul/server/skin/global.css" type="text/css"?>
10 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
12 <!DOCTYPE window PUBLIC "" ""[
13 <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
16 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
18 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
20 <window id="example_template_win"
21 onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
22 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
24 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
26 <script type="text/javascript">
27 var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};
29 <scripts id="openils_util_scripts"/>
31 <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
36 function $(id) { return document.getElementById(id); }
40 /* load translatable strings for patron interfaces */
41 patronStrings = document.getElementById('patronStrings');
43 if (typeof JSAN == 'undefined') { throw( $("commonStrings").getString('common.jsan.missing') ); }
44 JSAN.errorLevel = "die"; // none, warn, or die
45 JSAN.addRepository('/xul/server/');
46 JSAN.use('util.error'); g.error = new util.error();
47 g.error.sdump('D_TRACE','my_init() for patron/user_buckets.xul');
49 if (typeof window.xulG == 'object' && typeof window.xulG.set_tab_name == 'function') {
50 try { window.xulG.set_tab_name(patronStrings.getString('staff.patron.user_buckets.tab_name')); } catch(E) { alert(E); }
54 try { g.error.standard_unexpected_error_alert('patron/user_buckets.xul',E); } catch(F) { alert(E); }
61 <label value="&staff.patron.user_buckets.stub_not_implemented;"/>