]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/opac/logic/page_init.ttk
removing old opac images and css
[Evergreen.git] / Open-ILS / src / templates / opac / logic / page_init.ttk
1 [%
2
3         # --------------------------------------------------------------------------------- 
4         # Any code that is included here will be run just before any pages are started
5         # --------------------------------------------------------------------------------- 
6
7         USE cgi;
8
9         # --------------------------------------------------------------------------------- 
10         # Bring in the config variables
11         # --------------------------------------------------------------------------------- 
12         PROCESS "opac/conf/config.ttk";
13
14         # --------------------------------------------------------------------------------- 
15         # Bring in the localized text
16         # --------------------------------------------------------------------------------- 
17         PROCESS "opac/conf/textmap_en_us.ttk";
18         
19         # --------------------------------------------------------------------------------- 
20         # Build a global WebSession object 
21         # --------------------------------------------------------------------------------- 
22         USE websession = WebSession(); 
23         global.websession = websession;
24
25
26         # --------------------------------------------------------------------------------- 
27         # We have to log in to the server in order to have a session id.  For now, we log
28         # in as a guest.
29         # --------------------------------------------------------------------------------- 
30
31
32         #session = global.websession.init_app_session( global.config.app.auth );
33         #req = session.request( method, sclass, "title", sstring ); 
34
35 %]
36