Changeset 9536 for branches/acq-experiment
- Timestamp:
- 05/08/08 13:13:02 (2 months ago)
- Location:
- branches/acq-experiment
- Files:
-
- 4 modified
-
. (modified) (1 prop)
-
Open-ILS/web/js/dojo/openils/User.js (modified) (3 diffs)
-
Open-ILS/web/opac/locale/en-US/lang.dtd (modified) (1 diff)
-
Open-ILS/xul/staff_client/server/cat/opac.xul (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/acq-experiment
- Property svnmerge-integrated changed from /trunk:1-9532 to /trunk:1-9535
-
branches/acq-experiment/Open-ILS/web/js/dojo/openils/User.js
r9443 r9536 87 87 * Logs in, sets the authtoken/authtime vars, and fetches the logged in user 88 88 */ 89 login : function(args, onComplete) {89 login_async : function(args, onComplete) { 90 90 var _u = this; 91 91 … … 102 102 alert(seed); 103 103 var loginInfo = { 104 username : args.username, 104 105 password : hex_md5(seed + hex_md5(args.passwd)), 105 106 type : args.type, … … 121 122 initReq.send(); 122 123 }, 124 125 login : function(args) { 126 var _u = this; 127 if (!args) args = {}; 128 if (!args.username) args.username = _u.username; 129 if (!args.passwd) args.passwd = _u.passwd; 130 if (!args.type) args.type = _u.login_type; 131 if (!args.location) args.location = _u.location; 132 133 var seed = fieldmapper.standardRequest( 134 ['open-ils.auth', 'open-ils.auth.authenticate.init'], 135 [args.username] 136 ); 137 138 var loginInfo = { 139 username : args.username, 140 password : hex_md5(seed + hex_md5(args.passwd)), 141 type : args.type, 142 org : args.location, 143 }; 144 145 var data = fieldmapper.standardRequest( 146 ['open-ils.auth', 'open-ils.auth.authenticate.complete'], 147 [loginInfo] 148 ); 149 150 _u.authtoken = data.payload.authtoken; 151 if (!openils.User.authtoken) openils.User.authtoken = _u.authtoken; 152 _u.authtime = data.payload.authtime; 153 if (!openils.User.authtime) openils.User.authtime = _u.authtime; 154 }, 155 123 156 124 157 /** -
branches/acq-experiment/Open-ILS/web/opac/locale/en-US/lang.dtd
r9385 r9536 1897 1897 <!ENTITY staff.cat.marc_new.load.accesskey "L"> 1898 1898 <!ENTITY staff.cat.marc_view.title "MARC View"> 1899 <!ENTITY staff.cat.opac.menu.label "Actions for this Record"> 1900 <!ENTITY staff.cat.opac.menu.accesskey "A"> 1901 <!ENTITY staff.cat.opac.menuitem.opacview.label "OPAC View"> 1902 <!ENTITY staff.cat.opac.menuitem.opacview.accesskey "O"> 1903 <!ENTITY staff.cat.opac.menuitem.marcview.label "MARC View"> 1904 <!ENTITY staff.cat.opac.menuitem.marcview.accesskey "V"> 1905 <!ENTITY staff.cat.opac.menuitem.marcedit.label "MARC Edit"> 1906 <!ENTITY staff.cat.opac.menuitem.marcedit.accesskey "E"> 1907 <!ENTITY staff.cat.opac.menuitem.holding.label "Holdings Maintenance"> 1908 <!ENTITY staff.cat.opac.menuitem.holding.accesskey "H"> 1909 <!ENTITY staff.cat.opac.menuitem.viewholds.label "View Holds"> 1910 <!ENTITY staff.cat.opac.menuitem.viewholds.accesskey "s"> 1911 <!ENTITY staff.cat.opac.menuitem.addtobucket.label "Add to Bucket"> 1912 <!ENTITY staff.cat.opac.menuitem.addtobucket.accesskey "B"> 1913 <!ENTITY staff.cat.opac.menuitem.refreshinterfaces.label "Refresh All Interfaces"> 1914 <!ENTITY staff.cat.opac.menuitem.dupnewtab.label "Duplicate in New Tab"> 1915 <!ENTITY staff.cat.opac.menuitem.removeframe.label "Remove this Frame"> -
branches/acq-experiment/Open-ILS/xul/staff_client/server/cat/opac.xul
r7296 r9536 11 11 <!-- LOCALIZATION --> 12 12 <!DOCTYPE window PUBLIC "" ""[ 13 <!--#include virtual="/opac/locale/ en-US/lang.dtd"-->13 <!--#include virtual="/opac/locale/${locale}/lang.dtd"--> 14 14 ]> 15 15 … … 332 332 <splitter><grippy/></splitter> 333 333 <menubar id="nav" hidden="true"> 334 <menu label=" Actions for this Record" accesskey="A">334 <menu label="&staff.cat.opac.menu.label;" accesskey="&staff.cat.opac.menu.accesskey;"> 335 335 <menupopup> 336 <menuitem label=" OPAC View" accesskey="O" id="opac_view" oncommand="set_opac();"/>337 <menuitem label=" MARC View" accesskey="V" id="marc_view" oncommand="set_marc_view();"/>338 <menuitem label=" MARC Edit" accesskey="E" id="marc_edit" oncommand="set_marc_edit();"/>339 <menuitem label=" Holdings Maintenance" accesskey="H" id="copy_browse" oncommand="set_copy_browser();"/>340 <menuitem label=" View Holds" accesskey="s" id="view_holds" oncommand="set_hold_browser();"/>336 <menuitem label="&staff.cat.opac.menuitem.opacview.label;" accesskey="&staff.cat.opac.menuitem.opacview.accesskey;" id="opac_view" oncommand="set_opac();"/> 337 <menuitem label="&staff.cat.opac.menuitem.marcview.label;" accesskey="&staff.cat.opac.menuitem.marcview.accesskey;" id="marc_view" oncommand="set_marc_view();"/> 338 <menuitem label="&staff.cat.opac.menuitem.marcedit.label;" accesskey="&staff.cat.opac.menuitem.marcedit.accesskey;" id="marc_edit" oncommand="set_marc_edit();"/> 339 <menuitem label="&staff.cat.opac.menuitem.holding.label;" accesskey="&staff.cat.opac.menuitem.holding.accesskey;" id="copy_browse" oncommand="set_copy_browser();"/> 340 <menuitem label="&staff.cat.opac.menuitem.viewholds.label;" accesskey="&staff.cat.opac.menuitem.viewholds.accesskey;" id="view_holds" oncommand="set_hold_browser();"/> 341 341 <menuseparator/> 342 <menuitem label=" Add to Bucket" accesskey="B" id="add_bucket" oncommand="add_to_bucket();"/>342 <menuitem label="&staff.cat.opac.menuitem.addtobucket.label;" accesskey="&staff.cat.opac.menuitem.addtobucket.accesskey;" id="add_bucket" oncommand="add_to_bucket();"/> 343 343 <menuseparator/> 344 <menuitem label=" Refresh All Interfaces" id="refresh" oncommand="refresh();"/>345 <menuitem label=" Duplicate in New Tab" id="bib_in_new_tab" oncommand="bib_in_new_tab();"/>346 <menuitem label=" Remove this Frame" id="remove_me" oncommand="remove_me();"/>344 <menuitem label="&staff.cat.opac.menuitem.refreshinterfaces.label;" id="refresh" oncommand="refresh();"/> 345 <menuitem label="&staff.cat.opac.menuitem.dupnewtab.label;" id="bib_in_new_tab" oncommand="bib_in_new_tab();"/> 346 <menuitem label="&staff.cat.opac.menuitem.removeframe.label;" id="remove_me" oncommand="remove_me();"/> 347 347 </menupopup> 348 348 </menu>
