]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/xul/staff_client/server/index.xhtml
Fix some small errors in Apache log for staff client splash page
[working/Evergreen.git] / Open-ILS / xul / staff_client / server / index.xhtml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!DOCTYPE html PUBLIC
4         "-//W3C//DTD XHTML 1.0 Transitional//EN" 
5         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" [
6         <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
7 ]>
8
9 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
10 <head>
11   <meta name="generator" content=
12   "HTML Tidy for Linux/x86 (vers 11 February 2007), see www.w3.org" />
13
14   <title>&staff.client.portal.title;</title>
15   <script type="text/javascript">
16 // <![CDATA[
17
18   // FIXME - some I18N love still needed in this file.  See @alt on img tags, and javascript for tab names
19
20   function SearchOnBlur() {
21         var textbox = document.getElementById("quicksearch");
22
23         if(textbox && textbox.value == "")
24                 textbox.style.background = "#FFFFFF url(\"skin/media/images/portal/eg_tiny_logo.jpg\") center no-repeat";
25   }
26
27   function SearchOnFocus() {
28         var textbox = document.getElementById("quicksearch");
29         
30         if(textbox)
31                 textbox.style.background = "#FFFFFF";
32   }
33
34   var home_ou_id = 1;
35
36   function SearchOnSubmit() {
37         var textbox = document.getElementById("quicksearch");
38         
39         //var home_ou_id = 1; // 1 = all org units. Should come from staff client scripts
40         // a quicksearch should probably just default to the whole system. Staff can narrow it down later if they want.
41         var search_depth = 0; // 0 = consortium, 1 = system, 2 = library, 3 = sub-library, etc.
42         
43         if(textbox && textbox.value != "") {
44                 var opac_url =  xulG.url_prefix(urls.opac_rresult) + "?rt=keyword&tp=keyword&l=" + home_ou_id + "&d=" + search_depth +"&f=&t=" + escape(textbox.value);
45                 if (urls.opac_rresult.match(/\/eg\/opac\/results/)) {
46                     opac_url =  xulG.url_prefix(urls.opac_rresult) + "?query=" + escape(textbox.value);
47                 }
48                 var params = {'tab_name':'Catalog'};
49                 var content_params = { 'session' : ses(), 'authtime' : ses('authtime'), 'opac_url' : opac_url };
50                 xulG.set_tab(urls.XUL_OPAC_WRAPPER, params, content_params);
51         }
52         
53         return false;
54   }
55   // ]]> 
56   </script>
57   <script type="text/javascript" src="main/constants.js">
58 </script>
59   <script type="text/javascript" src="/opac/common/js/utils.js">
60 </script>
61   <script type="text/javascript" src="/opac/common/js/CGI.js">
62 </script>
63   <script type="text/javascript" src="/opac/common/js/md5.js">
64 </script>
65   <script type="text/javascript" src="/opac/common/js/fmall.js">
66 </script>
67   <script type="text/javascript" src="/opac/common/js/fmgen.js">
68 </script>
69   <script type="text/javascript" src="/opac/common/js/RemoteRequest.js">
70 </script>
71   <script type="text/javascript" src="/opac/common/js/<!--#echo var='locale'-->/OrgTree.js">
72 </script>
73   <script type="text/javascript" src="/opac/common/js/org_utils.js">
74 </script>
75   <script type="text/javascript" src="OpenILS/global_util.js">
76 </script>
77   <script type="text/javascript" src="main/JSAN.js">
78 </script>
79   <script type="text/javascript">
80       // <![CDATA[
81         
82                 //this function will allow for the "Hello, Staff Member" messages
83                 function init() { 
84                         SearchOnBlur();
85                         JSAN.use('OpenILS.data'); 
86                         var data = new OpenILS.data(); 
87                         data.stash_retrieve(); 
88                         document.getElementById('staffname').innerHTML = ", " + data.list.au[0].first_given_name(); 
89                         home_ou_id = data.list.au[0].ws_ou();
90                         xulG.set_tab_name('Portal');
91                 }
92                 function jb_open_eg_web_page(path, label) {
93                         var loc = urls.XUL_BROWSER + '?url=' + window.escape(xulG.url_prefix(urls.EG_WEB_BASE) + '/' + path);
94
95                         xulG.set_tab( 
96                                 loc, 
97                                 {tab_name : label, browser : false }, 
98                                 {no_xulG : false, show_print_button : false, show_nav_buttons : true }
99                         );
100                 }
101                 function jb_open_eg_web_page_newtab(path, label) {
102                         var loc = urls.XUL_BROWSER + '?url=' + window.escape(xulG.url_prefix(urls.EG_WEB_BASE) + '/' + path);
103
104                         xulG.new_tab( 
105                                 loc, 
106                                 {tab_name : label, browser : false }, 
107                                 {no_xulG : false, show_print_button : false, show_nav_buttons : true }
108                         );
109                 }
110                 
111                 //Place your helpdesk link here
112                 function helpdesk(newtab) {
113                         loc = "http://evergreen-ils.org/communicate.php";
114                         var params = {'tab_name':'Evergreen Project Website'};
115                         
116                         if(newtab)
117                                 xulG.new_tab(loc, params, {}); 
118                         else
119                                 xulG.set_tab(loc, params, {}); 
120                 }
121                 
122                 //A good place for a Google map.  Evergreen Indiana uses GIS data to create a Google map to verify if a library is within district boundaries
123                 //http://208.119.72.68/evergreen/evergreenmap.html
124                 function address_map(newtab) {
125                         loc = "http://maps.google.com";
126                         var params = {'tab_name':'Locate Address In Map'};
127                         
128                         if(newtab)
129                                 xulG.new_tab(loc, params, {}); 
130                         else
131                                 xulG.set_tab(loc, params, {}); 
132                 }
133                 function local_admin(newtab) {
134                         var loc = urls.XUL_REMOTE_BROWSER + '?url=' + window.escape(urls.XUL_LOCAL_ADMIN + '?ses=' + window.escape(ses()) + '&session=' + window.escape(ses())); 
135                         var params = {'tab_name':'Local Administration', 'browser' : true };
136                         var content_params = { 'no_xulG' : false, 'show_nav_buttons' : true, 'show_print_button' : true };
137                         
138                         if(newtab)
139                                 xulG.new_tab(loc, params, content_params);
140                         else
141                                 xulG.set_tab(loc, params, content_params);
142                 }
143                 function copy_status(newtab) {
144                         if(newtab)
145                                 xulG.new_tab(urls.XUL_COPY_STATUS,{},{});
146                         else
147                                 xulG.set_tab(urls.XUL_COPY_STATUS,{},{});
148                 }
149                 function hold_pull_list(newtab) {
150                         var loc = urls.XUL_REMOTE_BROWSER + '?url=' + window.escape(urls.XUL_HOLD_PULL_LIST + '?ses=' + window.escape(ses()));
151                         var params = {'tab_name':'On Shelf Pull List'};
152                         
153                         if(newtab)
154                                 xulG.new_tab(loc, params);
155                         else
156                                 xulG.set_tab(loc, params);
157                 }
158                 function checkout(newtab) {
159                         if(newtab)
160                                 xulG.new_tab(urls.XUL_PATRON_BARCODE_ENTRY,{},{});
161                         else
162                                 xulG.set_tab(urls.XUL_PATRON_BARCODE_ENTRY,{},{});
163                 }
164                 function catalog(newtab) {
165                         var params = {'tab_name':'Catalog'};
166                         var content_params = { 'session' : ses(), 'authtime' : ses('authtime') };
167                         
168                         if(newtab)
169                                 xulG.new_tab(urls.XUL_OPAC_WRAPPER, params, content_params);
170                         else
171                                 xulG.set_tab(urls.XUL_OPAC_WRAPPER, params, content_params);
172                 }
173                 function z39_50(newtab) {
174                         if(newtab)
175                                 xulG.new_tab(urls.XUL_Z3950_IMPORT,{},{});
176                         else
177                                 xulG.set_tab(urls.XUL_Z3950_IMPORT,{},{});
178                 }
179                 function copy_buckets(newtab) {
180                         params = {'tab_name':'Copy Buckets'};
181                         if(newtab)
182                                 xulG.new_tab(urls.XUL_COPY_BUCKETS, params, {});
183                         else
184                                 xulG.set_tab(urls.XUL_COPY_BUCKETS, params, {});
185                 }
186                 function record_buckets(newtab) {
187                         params = {'tab_name':'Record Buckets'};
188                         if(newtab)
189                                 xulG.new_tab(urls.XUL_RECORD_BUCKETS, params, {});
190                         else
191                                 xulG.set_tab(urls.XUL_RECORD_BUCKETS, params, {});
192                 }
193                 function receipt_editor(newtab) {
194                         if(newtab)
195                                 xulG.new_tab(urls.XUL_PRINT_LIST_TEMPLATE_EDITOR, {}, {});
196                         else
197                                 xulG.set_tab(urls.XUL_PRINT_LIST_TEMPLATE_EDITOR, {}, {});
198                 }
199                 function checkin(newtab) {
200                         if(newtab)
201                                 xulG.new_tab(urls.XUL_CHECKIN,{},{});
202                         else
203                                 xulG.set_tab(urls.XUL_CHECKIN,{},{});
204                 }
205                 function MARC_batch_import(newtab) {
206                         if(newtab)
207                                 jb_open_eg_web_page_newtab('vandelay/vandelay', 'Server Settings');
208                         else
209                                 jb_open_eg_web_page('vandelay/vandelay', 'Server Settings');
210                 }
211                 function local_admin_reports(newtab) {
212                         var loc = urls.XUL_BROWSER + '?url=' + window.escape( xulG.url_prefix(urls.XUL_REPORTS) + '?ses=' + ses());
213                         params = {'tab_name' : 'Reports', 'browser' : false }
214                         content_params = {'no_xulG' : false, 'show_print_button' : false, show_nav_buttons : true }
215                         if(newtab)
216                                 xulG.new_tab(loc, params, content_params);
217                         else
218                                 xulG.set_tab(loc, params, content_params);
219                 }
220                 function find_patron(newtab) {
221                         if(newtab)
222                                 xulG.new_tab(urls.XUL_PATRON_DISPLAY,{},{});
223                         else
224                                 xulG.set_tab(urls.XUL_PATRON_DISPLAY,{},{});
225                 }
226                 
227                 function spawn_search(s) {
228                         var loc = urls.XUL_PATRON_DISPLAY;
229                         loc += '?doit=1&amp;query=' + window.escape(js2JSON(s));
230                         xulG.new_tab( loc, {}, {} );
231                 }
232                 function register_patron(newtab) {
233                         function spawn_editor(p) {
234                                 var url = urls.XUL_PATRON_EDIT;
235                                 var param_count = 0;
236                                 for (var i in p) {
237                                         if (param_count++ == 0) url += '?'; else url += '&amp;';
238                                         url += i + '=' + window.escape(p[i]);
239                                 }
240                                 var loc = urls.XUL_REMOTE_BROWSER + '?url=' + window.escape( url );
241                                 xulG.new_tab(loc, {}, { 'show_print_button' : true , 'tab_name' : 'Editing Related Patron' , 'passthru_content_params' : {'spawn_search' : function(s) { spawn_search(s); }, 'spawn_editor' : spawn_editor }});
242                         }
243                         
244                         var loc = urls.XUL_REMOTE_BROWSER  + '?url=' + window.escape( urls.XUL_PATRON_EDIT + '?ses=' + window.escape( ses() ) );
245                         var content_params = { 
246                                                      'show_print_button' : true , 
247                                                      'tab_name' : 'Register Patron' ,
248                                                      'passthru_content_params' : { 'spawn_search' : function(s) { spawn_search(s); },
249                                                                                     'spawn_editor' : spawn_editor }
250                                                  }
251                         if(newtab)
252                                 xulG.new_tab(loc, {}, content_params);
253                         else
254                                 xulG.set_tab(loc, {}, content_params);
255                 }
256                 function toggle_tpac(mode) {
257                     var use_tpac = false;
258                     netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
259                     var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces['nsIPrefBranch']);
260                     try {
261                         use_tpac = prefs.getBoolPref('oils.use_tpac');
262                     } catch (E) {
263                         dump('Failed to get current use_tpac setting - Assuming false: ' + E);
264                     }
265                     use_tpac = !use_tpac;
266                     prefs.setBoolPref('oils.use_tpac', use_tpac);
267                     var message = document.getElementById('tpac_toggled_on');
268                     if(!use_tpac) {
269                         message = document.getElementById('tpac_toggled_off');
270                     }
271                     message = message.textContent;
272                     alert(message);
273                 }
274                 // ]]>
275   </script>
276   <style type="text/css">
277 /*<![CDATA[*/
278   body {
279   font-family: "Trebuchet MS", Helvetica, Verdana, Arial, sans-serif;
280   }
281
282   hr {
283   border-style: solid;
284   border-color: black;
285   width: 180px;
286   }
287
288   a {
289   font-size: 85%;
290   font-weight: bold;
291   color: black;
292   text-decoration: none;
293   }
294
295   #alignment {
296         border-collapse: collapse;
297         border-style: none;
298         width: 100%;
299   }
300
301   #alignment td {
302         vertical-align: top;
303   }
304
305   .functionlist {
306         border-style: none;
307         margin-left: auto;
308         margin-right: auto;
309   }
310
311   .functionlist td {
312   text-align: left;
313         margin: 2px;
314         padding: 2px;
315   }
316
317   .functionalgroup {
318         text-align: center;
319   }
320
321   a img {
322         border-style: none;
323   }
324
325   .attribution {
326         font-size: 75%;
327   }
328
329   form {
330         margin: 0px;
331         padding: 0px;
332   }
333
334   .newtabimg {
335         float: right;
336         padding-left:4px;
337   }
338
339   .funcimg {
340         width: 48px;
341         height: 48px;
342   }
343
344   /*]]>*/
345   </style>
346   <style type="text/css">
347 /*<![CDATA[*/
348   body.c4 {margin-top: 0px; padding-top: 0px; background-image: url(skin/media/images/portal/background.png);}
349   td.c3 {border: 1px solid black; border-top: 0px; border-bottom: 0px;}
350   span.c2 {font-size:75%;}
351   div.c1 {text-align: center}
352   /*]]>*/
353   </style>
354 </head>
355
356 <body class="c4" onload="init();">
357   <div class="c1">
358     <img src="skin/media/images/portal/logo.png" height="121" width="396" alt="Evergreen logo" /><br />
359     &staff.client.portal.welcome;<span id="staffname"></span><br />
360     <br />
361   </div>
362
363   <table id="alignment">
364     <tr>
365       <td>
366         <div class="functionalgroup">
367           &staff.client.portal.circpatron;
368           <hr />
369
370           <table class="functionlist">
371             <tr>
372               <td height="50"><img src="skin/media/images/portal/forward.png" height="48" width="48"
373               onclick="try { checkout(false); } catch(E) { alert(E); }" alt=
374               "Check Out Items" /></td>
375
376               <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
377               onclick="try { checkout(true); } catch(E) { alert(E); }" /><a href="#"
378               onclick=
379               "try { checkout(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.checkout;</a><br />
380               <a href="#" onclick=
381               "try { checkout(false); } catch(E) { alert(E); }; return false;"><span class="c2">
382               &staff.client.portal.retrievebc;</span></a></td>
383             </tr>
384
385             <tr>
386               <td height="50"><img src="skin/media/images/portal/back.png" height="48" width="48" onclick=
387               "try { checkin(false); } catch(E) { alert(E); }" alt=
388               "Check In Items" /></td>
389
390               <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
391               onclick="try { checkin(true); } catch(E) { alert(E); }" /> <a href="#"
392               onclick=
393               "try { checkin(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.checkin;</a><br /></td>
394             </tr>
395
396             <tr>
397               <td height="50"><img src="skin/media/images/portal/registerpatron.png" height="48" width="48"
398               onclick="try { register_patron(false); } catch(E) { alert(E); }" alt=
399               "Register Patron" /></td>
400
401               <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
402               onclick="try { register_patron(true); } catch(E) { alert(E); }" /> <a href=
403               "#" onclick=
404               "try { register_patron(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.patronreg;</a></td>
405             </tr>
406
407             <tr>
408               <td height="50"><img src="skin/media/images/portal/retreivepatron.png" height="48" width="48"
409               onclick="try { find_patron(false); } catch(E) { alert(E); }" alt=
410               "Search For Patron By Name" /></td>
411
412               <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
413               onclick="try { find_patron(true); } catch(E) { alert(E); }" /> <a href="#"
414               onclick=
415               "try { find_patron(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.patronsearch;</a></td>
416             </tr>
417
418             <tr>
419               <td height="50"><img class="funcimg" src="skin/media/images/portal/holds.png" height="48"
420               width="48" onclick="try { hold_pull_list(false); } catch(E) { alert(E); }"
421               alt="Pull List for Hold Requests" /></td>
422
423               <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
424               onclick="try { hold_pull_list(true); } catch(E) { alert(E); }" /> <a href=
425               "#" onclick=
426               "try { hold_pull_list(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.holdlist;</a></td>
427             </tr>
428 <!--
429             <tr>
430               <td height="50"><img src="skin/media/images/portal/map.PNG" alt="Locate Address In Map"
431               onclick="try { address_map(false); } catch(E) { alert(E); }" /></td>
432
433               <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
434               onclick="try { address_map(true); } catch(E) { alert(E); }" /> <a href="#"
435               onclick=
436               "try { address_map(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.addrmap;</a></td>
437             </tr>
438 -->
439           </table>
440         </div>
441       </td>
442
443       <td class="c3">
444         <div class="functionalgroup">
445           &staff.client.portal.itemcataloging;
446           <hr />
447
448           <table class="functionlist">
449             <tr>
450               <td colspan="2" rowspan="1">
451                 <form action="#" onsubmit="return SearchOnSubmit();">
452                   <input id="quicksearch" onfocus="SearchOnFocus();" onblur=
453                   "SearchOnBlur();" /> <input value="Search" type="submit" />
454                 </form>
455               </td>
456             </tr>
457
458             <tr>
459               <td height="50"><img src="skin/media/images/portal/book.png" height="48" width="48" onclick=
460               "try { catalog(false); } catch(E) { alert(E); }" alt=
461               "Advanced Search" /></td>
462
463               <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
464               onclick="try { catalog(true); } catch(E) { alert(E); }" /> <a href="#"
465               onclick=
466               "try { catalog(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.advsearch;</a></td>
467             </tr>
468
469             <tr>
470               <td height="50"><img src="skin/media/images/portal/book.png" height="48" width="48" onclick=
471               "try { copy_status(false); } catch(E) { alert(E); }" alt=
472               "Item Status / Display" /></td>
473
474               <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
475               onclick="try { copy_status(true); } catch(E) { alert(E); }" /> <a href="#"
476               onclick=
477               "try { copy_status(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.itemstatus;</a></td>
478             </tr>
479
480             <tr>
481               <td height="50"><img src="skin/media/images/portal/batchimport.png" height="48" width="48"
482               onclick="try { MARC_batch_import(false); } catch(E) { alert(E); }" alt=
483               "MARC Batch Import / Export" /></td>
484
485               <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
486               onclick="try { MARC_batch_import(true); } catch(E) { alert(E); }" />
487               <a href="#" onclick=
488               "try { MARC_batch_import(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.marcutil;</a></td>
489             </tr>
490
491             <tr>
492               <td height="50"><img src="skin/media/images/portal/z3950.png" height="48" width="48" onclick=
493               "try { z39_50(false); } catch(E) { alert(E); }" alt="Z39.50 Import" /></td>
494
495               <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
496               onclick="try { z39_50(true); } catch(E) { alert(E); }" /> <a href="#"
497               onclick=
498               "try { z39_50(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.z3950;</a></td>
499             </tr>
500
501             <tr>
502               <td height="50"><img src="skin/media/images/portal/bucket.png" height="48" width="48" onclick=
503               "try { copy_buckets(false); } catch(E) { alert(E); }" alt=
504               "Copy Buckets" /></td>
505
506               <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
507               onclick="try { copy_buckets(true); } catch(E) { alert(E); }" /> <a href="#"
508               onclick=
509               "try { copy_buckets(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.copybuckets;</a></td>
510             </tr>
511
512             <tr>
513               <td height="50"><img src="skin/media/images/portal/bucket.png" height="48" width="48" onclick=
514               "try { record_buckets(false); } catch(E) { alert(E); }" alt=
515               "Record Buckets" /></td>
516
517               <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
518               onclick="try { record_buckets(true); } catch(E) { alert(E); }" /> <a href=
519               "index.html#" onclick=
520               "try { record_buckets(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.recordbuckets;</a></td>
521             </tr>
522           </table><br />
523         </div>
524       </td>
525
526       <td>
527         <div class="functionalgroup">
528           &staff.client.portal.admin;
529           <hr />
530
531           <table class="functionlist">
532             <tr>
533               <td height="50"><img src="skin/media/images/portal/helpdesk.png" height="48" width="48"
534               onclick="try { helpdesk(false); } catch(E) { alert(E); }" alt=
535               "Submit A Helpdesk Ticket" /></td>
536
537               <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
538               onclick="try { helpdesk(true); } catch(E) { alert(E); }" /> <a href="#"
539               onclick="try { helpdesk(false); } catch(E) { alert(E); }">&staff.client.portal.helpdesk;</a></td>
540             </tr>
541
542             <tr>
543               <td height="50"><img src="skin/media/images/portal/reports.png" height="48" width="48"
544               onclick="try { local_admin_reports(false); } catch(E) { alert(E); }" alt=
545               "Reports" /></td>
546
547               <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
548               onclick="try { local_admin_reports(true); } catch(E) { alert(E); }" />
549               <a href="#" onclick=
550               "try { local_admin_reports(false); } catch(E) { alert(E); }; return false;">
551               &staff.client.portal.reports;</a></td>
552             </tr>
553
554             <tr>
555               <td height="50"><img src="skin/media/images/portal/receipt_editor.png" height="48" width="48"
556               onclick="try { receipt_editor(false); } catch(E) { alert(E); }" alt=
557               "Edit Receipt Templates" /></td>
558
559               <td><img class="newtabimg" src="skin/media/images/portal/newtab2.PNG" alt="Open in a new tab"
560               onclick="try { receipt_editor(true); } catch(E) { alert(E); }" /> <a href=
561               "#" onclick=
562               "try { receipt_editor(false); } catch(E) { alert(E); }; return false;">&staff.client.portal.receipts;</a></td>
563             </tr>
564
565             <tr>
566               <td height="50"><img src="skin/media/images/portal/book.png" height="48" width="48"
567               onclick="try { toggle_tpac(); } catch(E) { alert(E) }; return false;" alt="&staff.client.portal.toggle_tpac;" /></td>
568
569               <td><a href="#"
570               onclick="try { toggle_tpac(); } catch(E) { alert(E); }; return false;">&staff.client.portal.toggle_tpac;</a></td>
571             </tr>
572           </table>
573         </div>
574         <span style="display:none" id="tpac_toggled_on">&staff.client.portal.toggle_tpac.message_on;</span>
575         <span style="display:none" id="tpac_toggled_off">&staff.client.portal.toggle_tpac.message_off;</span>
576       </td>
577     </tr>
578   </table>
579
580   <div class="attribution c1">&staff.client.portal.copyright;<br />
581   &staff.client.portal.poweredby; <img src="skin/media/images/portal/eg_tiny_logo.jpg" alt="Evergreen logo" /></div>
582 </body>
583 </html>
584
585