<script type="text/javascript" src="util/org_utils.js" />
<script type="text/javascript" src="global_util.js" />
<script type="text/javascript" src="event_util.js" />
- <messagecatalog id="offlineStrings" src='chrome://open_ils_staff_client/locale/offline.properties'/>
- <messagecatalog id="authStrings" src='chrome://open_ils_staff_client/locale/auth.properties'/>
+
+
<hbox id="debug_box" hidden="true" flex="1" style="border: red thin dashed">
<label value="Debug:" />
<textbox id="debug_tb" flex="1"/>
]]>
</script>
- <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
+
<!-- Layout to be filled in by overlays and javascript -->
<wizardpage id="page1"/>
<script type="text/javascript" src="chrome://open_ils_staff_client/content/main/JSAN.js"/>
<script type="text/javascript" src="chrome://open_ils_staff_client/content/cat/opac.js"/>
- <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
+
<vbox flex="1">
<deck id="top_pane"/>
]]>
</script>
- <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
+
<groupbox flex="1" class="my_overflow">
<caption label="&staff.circ.offline.main.label;"/>
<script type="text/javascript" src="chrome://open_ils_staff_client/content/main/JSAN.js"/>
<script type="text/javascript" src="offline_checkin.js"/>
- <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
+
<groupbox flex="1">
<caption label="&staff.circ.offline_checkin.main.label;"/>
<script type="text/javascript" src="chrome://open_ils_staff_client/content/main/JSAN.js"/>
<script type="text/javascript" src="offline_checkout.js"/>
- <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
+
<groupbox flex="1">
<caption label="&staff.circ.offline_checkout.main.label;"/>
<script type="text/javascript" src="chrome://open_ils_staff_client/content/main/JSAN.js"/>
<script type="text/javascript" src="offline_in_house_use.js"/>
- <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
+
<groupbox flex="1">
<caption label="&staff.circ.offline_in_house_use.main.label;"/>
<script type="text/javascript" src="chrome://open_ils_staff_client/content/main/JSAN.js"/>
<script type="text/javascript" src="offline_register.js"/>
- <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
+
<groupbox flex="1">
<caption label="&staff.circ.offline_register.main.label;"/>
<script type="text/javascript" src="chrome://open_ils_staff_client/content/main/JSAN.js"/>
<script type="text/javascript" src="offline_renew.js"/>
- <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
+
<groupbox flex="1">
<caption label="&staff.circ.offline_renew.main.label;"/>
</implementation>
</binding>
-
- <binding id="messagecatalog">
- <resources/>
-
- <content>
- <children>
- </children>
- </content>
-
- <implementation>
-
- <constructor>
- <![CDATA[
- try {
- this._load_sprintf();
- this._props = {};
- this._load_from_src();
- } catch(E) {
- alert('Error constructing messagecatalog in bindings.xml: ' + E);
- throw(E);
- }
- ]]>
- </constructor>
-
- <destructor>
- <![CDATA[
- try {
- delete this._props;
- delete this.sprintf;
- } catch(E) {
- alert('Error destroying messagecatalog in bindings.xml: ' + E);
- throw(E);
- }
- ]]>
- </destructor>
-
- <property name="src">
- <getter>
- <![CDATA[
- try {
- return this.getAttribute('src');
- } catch(E) {
- alert('Error getting @src in messagecatalog in bindings.xml: ' + E);
- throw(E);
- }
- ]]>
- </getter>
- <setter>
- <![CDATA[
- try {
- this.setAttribute('src',val);
- this.load_from_src();
- return val;
- } catch(E) {
- alert('Error setting @src in messagecatalog in bindings.xml: ' + E);
- throw(E);
- }
- ]]>
- </setter>
- </property>
-
- <method name="_load_from_src">
- <body>
- <![CDATA[
- try {
- var x = new XMLHttpRequest();
- x.open("GET",this.src,false);
- x.send(null);
- if ((x.status == 0 || x.status == 200) && x.responseText) {
- var props = this._props2object(x.responseText);
- for (var i in props) {
- this._props[i] = props[i];
- }
- } else {
- var msg = "messageCatalog: No text from " + this.src;
- alert(msg); throw(msg);
- }
-
- try { // fail silently if no custom properties file exists
- var custom_src = String(this.src).replace(/\.properties$/,'_custom.properties');
- var x2 = new XMLHttpRequest();
- x2.open("GET",custom_src,false);
- x2.send(null);
- if ((x2.status == 0 || x2.status == 200) && x2.responseText) {
- var props = this._props2object(x2.responseText);
- for (var i in props) {
- this._props[i] = props[i];
- }
- }
- } catch(EE) {}
-
- } catch(E) {
- alert('Error loading properties in messagecatalog in bindings.xml: ' + E);
- throw(E);
- }
- ]]>
- </body>
- </method>
-
- <method name="_props2object">
- <parameter name="str"/>
- <body>
- <![CDATA[
- try {
- var lines = str.split("\n");
- var props = {};
- var line = '';
- var in_comment = false;
-
- for (var l in lines) {
- line += lines[l];
-
- // handle multi-line comments
- if (line.indexOf('/*') >= 0) in_comment = true;
-
- if (in_comment && line.indexOf('*/') > 0) {
- var comment_start = line.indexOf('/*');
- var comment_end = line.indexOf('*/');
- line = line.substring(0, comment_start) + line.substring(0, comment_end + 2);
- in_comment = false;
- } else if (in_comment) continue;
-
- // get rid of entire-line comments
- if (line.indexOf('#') == 0) {
- line = '';
- continue;
- }
-
- // handle end-of-line comments
- var end_comment = line.indexOf('//');
- if (end_comment >= 0) line = line.substring(0, end_comment);
-
- // and line concatenation
- if (line.charAt(line.length - 1) == '\\') {
- line = line.substring(0,line.length - 1);
- continue;
- }
-
- var eq_pos = line.indexOf('=');
- if (eq_pos < 0) continue;
-
- var k = line.substring(0,eq_pos);
- k = k.replace(/\s+/g,"");
-
- var v = line.substring(eq_pos + 1);
-
- var current_m = 0;
- var cont = false;
- do {
- if (v.indexOf( "{" + current_m + "}" ) >= 0 ) {
- var mes_bund = new RegExp( "\\\{" + current_m + "\\\}", 'g' );
- var sprintf_format = "%" + (current_m + 1) + "$s";
-
- v = v.replace( mes_bund, sprintf_format );
-
- cont = true;
- current_m++;
- } else {
- cont = false;
- }
- } while ( cont == true );
-
- props[k] = v;
- line = '';
- }
-
- return props;
- } catch(E) {
- alert('Error in props2object in messagecatalog in bindings.xml: ' + E);
- throw(E);
- }
- ]]>
- </body>
- </method>
-
- <method name="testString">
- <parameter name="key"/>
- <body>
- <![CDATA[
- try {
- var str = this._props[key];
- return (typeof str != 'undefined');
- } catch(e) {
- return false;
- }
- ]]>
- </body>
- </method>
-
-
- <method name="getString">
- <parameter name="key"/>
- <body>
- <![CDATA[
- try {
- var str = this._props[key];
- if (typeof str == 'undefined') throw(str);
- return str;
- } catch(e) {
- alert("*** Failed to get string " + key + " in bundle: " + this.src + "\n" + e);
- throw(e);
- }
- ]]>
- </body>
- </method>
-
- <method name="getFormattedString">
- <parameter name="key"/>
- <parameter name="params"/>
- <body>
- <![CDATA[
- try {
- var str = this._props[key];
- if (typeof str == 'undefined') throw(str);
- var these = [ str ].concat(params);
- var v = this.sprintf.apply(this,these);
-
- // replace unicode escapes
-/*
- v = v.replace(
- /\\u([0-9a-f]{4})/gi,
- function (r,s) { return String.fromCharCode(s); }
- );
-*/
-
- return v;
- } catch(e) {
- alert("*** Failed to get string " + key + " in bundle: " + this.src + "\n");
- throw(e);
- }
- ]]>
- </body>
- </method>
-
- <method name="_load_sprintf">
- <body>
- <![CDATA[
- try {
- this.sprintf = function() {
- // FIXME - is the following license GPL-compatible? seems equivalent to the public domain
- /**
- * JavaScript printf/sprintf functions.
- *
- * This code is unrestricted: you are free to use it however you like.
- *
- * The functions should work as expected, performing left or right alignment,
- * truncating strings, outputting numbers with a required precision etc.
- *
- * For complex cases, these functions follow the Perl implementations of
- * (s)printf, allowing arguments to be passed out-of-order, and to set the
- * precision or length of the output based on arguments instead of fixed
- * numbers.
- *
- * See http://perldoc.perl.org/functions/sprintf.html for more information.
- *
- * Implemented:
- * - zero and space-padding
- * - right and left-alignment,
- * - base X prefix (binary, octal and hex)
- * - positive number prefix
- * - (minimum) width
- * - precision / truncation / maximum width
- * - out of order arguments
- *
- * Not implemented (yet):
- * - vector flag
- * - size (bytes, words, long-words etc.)
- *
- * Will not implement:
- * - %n or %p (no pass-by-reference in JavaScript)
- *
- * @version 2007.04.27
- * @author Ash Searle
- */
-
- function pad(str, len, chr, leftJustify) {
- var padding = (str.length >= len) ? '' : Array(1 + len - str.length >>> 0).join(chr);
- return leftJustify ? str + padding : padding + str;
-
- }
-
- function justify(value, prefix, leftJustify, minWidth, zeroPad) {
- var diff = minWidth - value.length;
- if (diff > 0) {
- if (leftJustify || !zeroPad) {
- value = pad(value, minWidth, ' ', leftJustify);
- } else {
- value = value.slice(0, prefix.length) + pad('', diff, '0', true) + value.slice(prefix.length);
- }
- }
- return value;
- }
-
- function formatBaseX(value, base, prefix, leftJustify, minWidth, precision, zeroPad) {
- // Note: casts negative numbers to positive ones
- var number = value >>> 0;
- prefix = prefix && number && {'2': '0b', '8': '0', '16': '0x'}[base] || '';
- value = prefix + pad(number.toString(base), precision || 0, '0', false);
- return justify(value, prefix, leftJustify, minWidth, zeroPad);
- }
-
- function formatString(value, leftJustify, minWidth, precision, zeroPad) {
- if (precision != null) {
- value = value.slice(0, precision);
- }
- return justify(value, '', leftJustify, minWidth, zeroPad);
- }
-
- var a = arguments, i = 0, format = a[i++];
- return format.replace(/%%|%(\d+\$)?([-+#0 ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([scboxXuidfegEGS])/g, function(substring, valueIndex, flags, minWidth, _, precision, type) {
- if (substring == '%%') return '%';
-
- // parse flags
- var leftJustify = false, positivePrefix = '', zeroPad = false, prefixBaseX = false;
- for (var j = 0; flags && j < flags.length; j++) switch (flags.charAt(j)) {
- case ' ': positivePrefix = ' '; break;
- case '+': positivePrefix = '+'; break;
- case '-': leftJustify = true; break;
- case '0': zeroPad = true; break;
- case '#': prefixBaseX = true; break;
- }
-
- // parameters may be null, undefined, empty-string or real valued
- // we want to ignore null, undefined and empty-string values
-
- if (!minWidth) {
- minWidth = 0;
- } else if (minWidth == '*') {
- minWidth = +a[i++];
- } else if (minWidth.charAt(0) == '*') {
- minWidth = +a[minWidth.slice(1, -1)];
- } else {
- minWidth = +minWidth;
- }
-
- // Note: undocumented perl feature:
- if (minWidth < 0) {
- minWidth = -minWidth;
- leftJustify = true;
- }
-
- if (!isFinite(minWidth)) {
- throw new Error('sprintf: (minimum-)width must be finite');
- }
-
- if (!precision) {
- precision = 'fFeE'.indexOf(type) > -1 ? 6 : (type == 'd') ? 0 : void(0);
- } else if (precision == '*') {
- precision = +a[i++];
- } else if (precision.charAt(0) == '*') {
- precision = +a[precision.slice(1, -1)];
- } else {
- precision = +precision;
- }
-
- // grab value using valueIndex if required?
- var value = valueIndex ? a[valueIndex.slice(0, -1)] : a[i++];
-
- switch (type) {
- case 'S':
- case 's': return formatString(String(value), leftJustify, minWidth, precision, zeroPad);
- case 'c': return formatString(String.fromCharCode(+value), leftJustify, minWidth, precision, zeroPad);
- case 'b': return formatBaseX(value, 2, prefixBaseX, leftJustify, minWidth, precision, zeroPad);
- case 'o': return formatBaseX(value, 8, prefixBaseX, leftJustify, minWidth, precision, zeroPad);
- case 'x': return formatBaseX(value, 16, prefixBaseX, leftJustify, minWidth, precision, zeroPad);
- case 'X': return formatBaseX(value, 16, prefixBaseX, leftJustify, minWidth, precision, zeroPad).toUpperCase();
- case 'u': return formatBaseX(value, 10, prefixBaseX, leftJustify, minWidth, precision, zeroPad);
- case 'i':
- case 'd': {
- var number = parseInt(+value);
- var prefix = number < 0 ? '-' : positivePrefix;
- value = prefix + pad(String(Math.abs(number)), precision, '0', false);
- return justify(value, prefix, leftJustify, minWidth, zeroPad);
- }
- case 'e':
- case 'E':
- case 'f':
- case 'F':
- case 'g':
- case 'G':
- {
- var number = +value;
- var prefix = number < 0 ? '-' : positivePrefix;
- var method = ['toExponential', 'toFixed', 'toPrecision']['efg'.indexOf(type.toLowerCase())];
- var textTransform = ['toString', 'toUpperCase']['eEfFgG'.indexOf(type) % 2];
- value = prefix + Math.abs(number)[method](precision);
- return justify(value, prefix, leftJustify, minWidth, zeroPad)[textTransform]();
- }
- default: return substring;
- }
- });
- }
- } catch(e) {
- alert("*** Failed to load sprintf library: " + e + "\n");
- throw(e);
- }
- ]]>
- </body>
- </method>
- </implementation>
- </binding>
-
<binding id="caption" extends="chrome://global/content/bindings/general.xml#basetext">
<resources>
<stylesheet src="chrome://global/skin/groupbox.css"/>
<script type="application/x-javascript" src="chrome://inspector/content/hooks.js"/>
<script type="application/x-javascript" src="chrome://chromelist/content/overlay/ChromeListOverlay.js" />
- <messagecatalog id="authStrings" src="chrome://open_ils_staff_client/locale/auth.properties"/>
- <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
+
+
<commandset id="auth_cmds">
<command id="cmd_login" />
]]>
</script>
- <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties" />
+
<commandset id="universal_cmds" />
.operator_change { background-color: red; }
.shrinkable_groupbox { font-weight: bold; -moz-binding: url('chrome://open_ils_staff_client/content/main/bindings.xml#caption'); }
-messagecatalog { -moz-binding: url('chrome://open_ils_staff_client/content/main/bindings.xml#messagecatalog'); }
help { -moz-binding: url('chrome://open_ils_staff_client/content/main/bindings.xml#help'); }
.my_overflow { overflow: auto; }
<menuitem label="&common.sort.next.ascending;" oncommand="util.sort.dispatch('next','asc');"/>
<menuitem label="&common.sort.next.descending;" oncommand="util.sort.dispatch('next','desc');"/>
</menupopup>
- <messagecatalog id="commonStrings" src='/xul/server/locale/<!--#echo var="locale"-->/common.properties'/>
- <messagecatalog id="offlineStrings" src='/xul/server/locale/<!--#echo var="locale"-->/offline.properties'/>
- <messagecatalog id="authStrings" src='/xul/server/locale/<!--#echo var="locale"-->/auth.properties'/>
+
+
+
<hbox id="debug_box" hidden="true" flex="1" style="border: red thin dashed">
<label value="Debug:" />
<textbox id="debug_tb" flex="1"/>
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="circ_age_to_lost.js"/>
- <messagecatalog id="adminStrings" src="/xul/server/locale/<!--#echo var='locale'-->/admin.properties"/>
+
<vbox flex="1">
<grid>
</script>
<scripts id="openils_util_scripts"/>
- <messagecatalog id="adminStrings" src='/xul/server/locale/<!--#echo var="locale"-->/admin.properties'/>
+
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="do_not_auto_attempt_print_setting.js"/>
]]>
</script>
- <messagecatalog id="adminStrings" src='/xul/server/locale/<!--#echo var="locale"-->/admin.properties'/>
+
<groupbox orient="vertical">
<caption label="&staff.server.admin.font.sound.caption;"/>
]]>
</script>
- <messagecatalog id="adminStrings" src="/xul/server/locale/<!--#echo var='locale'-->/admin.properties"/>
+
<vbox id="admin_offline_manage_xacts_main" flex="1">
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="patrons_due_refunds.js"/>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+
<commandset id="patrons_due_refunds_cmds">
<command id="retrieve_patron" label="&staff.patron.display_overlay.retrieve_patron.label;" accesskey="&staff.patron.display_overlay.retrieve_patron.accesskey;" />
<script type="text/javascript" src="/xul/server/main/constants.js"></script>
<script type="text/javascript" src="/xul/server/main/JSAN.js"></script>
<script type="text/javascript" src="printer_settings.js"></script>
- <messagecatalog id="offlineStrings" src="/xul/server/locale/<!--#echo var='locale'-->/offline.properties" />
+
<groupbox>
<caption label="&staff.printing.context.header;" />
<vbox>
var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true;
</script>
<scripts id="openils_util_scripts"/>
- <messagecatalog id="adminStrings" src='/xul/server/locale/<!--#echo var="locale"-->/admin.properties'/>
+
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="toolbar.js"/>
]]>
</script>
- <messagecatalog id="adminStrings" src='/xul/server/locale/<!--#echo var="locale"-->/admin.properties'/>
- <messagecatalog id="circStrings" src='/xul/server/locale/<!--#echo var="locale"-->/circ.properties'/>
- <messagecatalog id="catStrings" src='/xul/server/locale/<!--#echo var="locale"-->/cat.properties'/>
+
+
+
<vbox flex="1" class="my_overflow">
<hbox>
var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true;
</script>
<scripts id="openils_util_scripts"/>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="work_log.js"/>
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="/xul/server/cat/bib_brief.js"/>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties"/>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties"/>
+
+
<groupbox id="groupbox" flex="1" style="overflow: auto;">
<caption id="caption">
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="/xul/server/cat/bib_brief.js"/>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties"/>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties"/>
+
+
<groupbox id="groupbox" flex="1">
<caption id="caption"><label value="&staff.cat.bib_brief.record_summary;"/>(<label value="&staff.cat.bib_brief.view_marc;" class="click_link" onclick="view_marc();"/>)</caption>
]]>
</script>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+
+
<commandset id="cat_copy_browser">
<command id="save_columns" />
]]>
</script>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale' -->/cat.properties"/>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale' -->/circ.properties"/>
+
+
<commandset id="copy_buckets_cmds">
<command id="cmd_copy_bucket_submit_barcode" />
]]>
</script>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+
+
<vbox flex="1" style="overflow: auto">
<groupbox flex="1">
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="copy_editor.js"/>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
+
<vbox id="brief_display_box"/>
]]>
</script>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+
+
<stack hidden="true" id="note_template" flex="1">
<groupbox flex="1" style="background-color: black;"/>
]]>
</script>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+
+
<groupbox id="groupbox" flex="1" style="overflow: none; min-height: 80;">
<caption label="&staff.cat.copy_summary.label;" id="caption"/>
</script>
<scripts id="openils_util_scripts"/>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+
+
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="manage_multi_home_items.js"/>
]]>
</script>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+
+
<vbox id="marc_editor_box" flex="1">
<hbox id="actions">
]]>
</script>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale' -->/cat.properties"/>
+
<groupbox flex="1">
<caption label="&staff.cat.marc_view.title;"/>
-messagecatalog { -moz-binding: url('../main/bindings.xml#messagecatalog'); }
input {
background-color: lightgrey;
}
<script src="marcedit.js" type="application/x-javascript; e4x=1"/>
-<messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
-<messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+
+
<groupbox flex="0">
<caption label="&staff.cat.marcedit.options.label;"/>
]]>
</script>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale' -->/circ.properties"/>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale' -->/cat.properties"/>
+
+
<commandset id="record_buckets_cmds" />
<script>dump('loading record_buckets_overlay.xul\n');</script>
-<messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
-<messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+
+
<commandset id="record_buckets_cmds">
<command id="sel_clip0" disabled="true"/>
]]>
</script>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+
+
<vbox flex="1" style="overflow: auto">
<groupbox flex="1">
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="/xul/server/cat/spine_labels.js"/>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale' -->/circ.properties"/>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
+
+
<vbox id="spine_labels_main" flex="1" class="my_overflow">
<hbox flex="1" class="my_overflow">
]]>
</script>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+
+
<label value="Just a stub, Not Yet Implemented"/>
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="volume_copy_creator.js"/>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+
+
<vbox flex="1" class="my_overflow">
<vbox id="summary_box" oils_persist="height"/>
</script>
<scripts id="openils_util_scripts"/>
- <messagecatalog id="catStrings" src='/xul/server/locale/<!--#echo var="locale"-->/cat.properties'/>
+
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="volume_copy_editor.js"/>
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="volume_editor.js"/>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+
+
<groupbox flex="1" style="overflow: auto">
<caption id="caption" label="&staff.cat.volume_editor.caption.label;"/>
]]>
</script>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale' -->/circ.properties"/>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
+
+
<commandset id="cat_z3950_cmds">
<command id="cmd_broken" />
<script type="text/javascript" src="/xul/server/cat/bib_brief.js"/>
<script type="text/javascript" src="alternate_copy_summary.js"/>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties"/>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties"/>
+
+
<groupbox flex="1">
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="backdate_post_checkin.js"/>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<!-- CONTENT -->
<commandset id="checkin_cmds" />
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties"/>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties"/>
+
+
<box id="checkin_main" />
]]>
</script>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+
<commandset id="checkout_cmds">
<command id="cmd_checkout_submit" />
]]>
</script>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+
<groupbox id="gb" flex="1" style="overflow: auto;">
<caption id="caption"/>
]]>
</script>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+
<vbox flex="1" style="overflow: auto;">
<vbox id="top_box" flex="1" style="border: none; overflow: none; min-height: 80;" oils_persist="height"/>
]]>
</script>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
+
+
<commandset id="copy_status_cmds">
<command id="cmd_copy_status_submit_barcode" />
]]>
</script>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+
<commandset id="in_house_use_cmds">
<command id="sel_clip" disabled="true" />
</script>
<scripts id="openils_util_scripts"/>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
+
+
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="missing_pieces.js"/>
]]>
</script>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
+
+
<groupbox flex="1" style="overflow: auto">
<caption label="&staff.circ.pre_cat.caption.label;"/>
]]>
</script>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
+
<commandset id="print_list_cmds">
<command id="cmd_broken" />
</commandset>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties"/>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties"/>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+
+
+
<box id="renew_main" />
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="verify_credentials.js"/>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+
<commandset id="verify_cmds">
<command id="cmd_verify" />
]]>
</script>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+
<vbox flex="1" class="my_overflow">
<groupbox orient="vertical" flex="1">
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="bill2.js"/>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties"/>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties"/>
+
+
+
<commandset>
<command id="opac" label="&staff.patron.bill_interface.show_in_catalog.label;" accesskey="&staff.patron.bill_interface.show_in_catalog.accesskey;" disabled="true"/>
]]>
</script>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+
<groupbox>
<caption label="&staff.patron.bill_cc_info.info.label;"/>
]]>
</script>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+
<groupbox>
<caption label="&staff.patron.bill_check_info.check_info.label;"/>
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="bill_details.js"/>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+
<vbox flex="1" class="my_overflow">
<label id="patron_name" class="patronNameLarge"/>
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="bill_history.js"/>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties"/>
+
+
<vbox flex="1" class="my_overflow">
<groupbox orient="vertical" flex="1">
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="/xul/server/patron/bill_wizard.js"/>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+
<vbox flex="1">
]]>
</script>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+
<commandset id="patron_display_cmds">
<command id="cmd_patron_refresh" />
]]>
</script>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+
<commandset id="patron_display_cmds">
<command id="cmd_patron_refresh" />
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="edit_standing_penalty.js"/>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<!-- CONTENT -->
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="hold_cancel.js"/>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<!-- CONTENT -->
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="hold_details.js"/>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale' -->/circ.properties"/>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+
+
<stack hidden="true" id="notification_template" flex="1">
<groupbox flex="1" style="background-color: black;"/>
]]>
</script>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale' -->/circ.properties"/>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale' -->/cat.properties"/>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale' -->/patron.properties"/>
+
+
+
<commandset id="holds_cmds" />
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="info_group.js"/>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+
<commandset id="info_group_cmds">
<command id="clone"
]]>
</script>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+
<stack hidden="true" id="note_template" flex="1" minheight="50px">
<groupbox flex="1" style="background-color: black;"/>
]]>
</script>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+
<stack hidden="true" id="actsc_template" flex="1">
<groupbox flex="1" style="background-color: black;"/>
]]>
</script>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+
<stack hidden="true" id="asv_template" flex="1">
<groupbox flex="1" style="background-color: black;"/>
]]>
</script>
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale' -->/circ.properties"/>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale' -->/cat.properties"/>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+
+
+
<commandset id="items_cmds" />
<popupset id="items_popupset"/>
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="new_standing_penalty.js"/>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<!-- CONTENT -->
</script>
<scripts id="openils_util_scripts"/>
- <messagecatalog id="patronStrings"
- src='/xul/server/locale/<!--#echo var="locale"-->/patron.properties'/>
-
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="place_hold.js"/>
]]>
</script>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+
<commandset id="patron_search_form_cmds">
</commandset>
]]>
</script>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+
<commandset id="patron_search_form_cmds">
</commandset>
<command id="cmd_save_cols" />
</commandset>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+
<box id="patron_search_result_main" />
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="staged.js"/>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+
<commandset id="staged_cmds">
<command id="cmd_load" disabled="true"/>
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
<script type="text/javascript" src="standing_penalties.js"/>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties" />
+
<commandset id="penalty_cmds">
<command id="cmd_apply_penalty" />
]]>
</script>
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
- <messagecatalog id="offlineStrings" src="/xul/server/locale/<!--#echo var='locale'-->/offline.properties"/>
+
+
<commandset id="patron_summary_cmds" />
<popupset id="patron_summary_popups" />
onload="try { init_editor(); } catch(E) { alert(js2JSON(E)); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
+
<script type="text/javascript">var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};</script>
<script type='text/javascript' src='/opac/common/js/utils.js'/>
<script type='text/javascript' src='/opac/common/js//config.js'/>
not to use it otherwise. -->
<script type="text/javascript" src="/xul/server/main/JSAN.js" />
- <messagecatalog id="serialStrings"
- src="/xul/server/locale/<!--#echo var='locale'-->/serial.properties" />
-
<commandset />
<box id="batch_receive_main" />
</window>
]]>
</script>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
- <messagecatalog id="serialStrings" src="/xul/server/locale/<!--#echo var='locale'-->/serial.properties" />
+
+
<stack hidden="true" id="note_template" flex="1">
<vbox flex="1" style="background-color: black; margin:3px"/>
not to use it otherwise. -->
<script type="text/javascript" src="/xul/server/main/JSAN.js" />
- <messagecatalog id="serialStrings"
- src="/xul/server/locale/<!--#echo var='locale'-->/serial.properties" />
-
<commandset />
<box id="pattern_wizard_main" />
</window>
]]>
</script>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
+
<vbox flex="1" style="overflow: auto">
<groupbox flex="1">
]]>
</script>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
+
<vbox flex="1" style="overflow: auto">
<groupbox flex="1">
<script type="text/javascript" src="/xul/server/main/JSAN.js"/>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
- <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
- <messagecatalog id="patronStrings" src="/xul/server/locale/<!--#echo var='locale'-->/patron.properties"/>
- <messagecatalog id="serialStrings" src="/xul/server/locale/<!--#echo var='locale'-->/serial.properties"/>
+
+
+
+
<commandset id="serial_commands">
<command id="cmd_add_item"/>
]]>
</script>
- <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
- <messagecatalog id="serialStrings" src="/xul/server/locale/<!--#echo var='locale'-->/serial.properties" />
+
+
<vbox id="brief_display_box"/>
@namespace xhtml url("http://www.w3.org/1999/xhtml");
help { -moz-binding: url('/xul/server/main/bindings.xml#help'); }
-messagecatalog { -moz-binding: url('/xul/server/main/bindings.xml#messagecatalog'); }
.shrinkable_groupbox { font-weight: bold; -moz-binding: url('/xul/server/main/bindings.xml#caption'); }
window:not([active="true"]) menubar > menu { color: menutext !important }