3 #---------------------------------------------------------------------------------
4 # Top Level Web Config File
5 #---------------------------------------------------------------------------------
8 # ---------------------------------------------------------------------------------
9 # Bootstrap config file
10 # ---------------------------------------------------------------------------------
11 global.config.bootstrap = "/pines/conf/web_bootstrap.conf";
13 global.config.root_url = "/opac/";
15 # ---------------------------------------------------------------------------------
16 # User session timeout. * This will need to match (or be shorter than) the
17 # session timeout provided by the web auth server
18 # ---------------------------------------------------------------------------------
19 global.config.session_timeout = 14; #days
21 # ---------------------------------------------------------------------------------
23 # ---------------------------------------------------------------------------------
24 global.config.app.math = "opensrf.math";
25 global.config.app.auth = "open-ils.auth";
26 global.config.app.opac = "open-ils.opac";
27 global.config.app.storage = "open-ils.storage";
28 global.config.app.cat = "open-ils.cat";
29 global.config.app.search = "open-ils.search";
33 # ---------------------------------------------------------------------------------
34 # Potentially useful macros
35 # ---------------------------------------------------------------------------------
36 MACRO html WRAPPER html/html; content; END;
37 MACRO head WRAPPER head/head; content; END;
38 MACRO body WRAPPER html/body; content; END;
39 #MACRO table WRAPPER html/table; '<tbody><tr style="display:none"></tr>' _ content _ "</tbody>"; END;
40 MACRO table WRAPPER html/table; content; END;
41 MACRO row WRAPPER html/row; content; END;
42 MACRO cell WRAPPER html/cell; content; END;
43 MACRO form WRAPPER html/form; content; END;
44 MACRO input WRAPPER html/input; content; END;
45 MACRO option WRAPPER html/option; content; END;
46 MACRO lines(n) WRAPPER html/buffer size=n; END;
47 MACRO concat WRAPPER html/concat; END;
48 MACRO img WRAPPER html/img; END;
49 MACRO space(n) WRAPPER html/space; size=n; END;
50 MACRO link WRAPPER html/link; END;
51 MACRO anchor WRAPPER html/anchor; END;
52 MACRO js WRAPPER html/js; content; END;
53 MACRO hr WRAPPER html/hr; END;
54 MACRO b(n) WRAPPER html/bold; text=n; END;
55 MACRO h(n,t) WRAPPER html/h size=n text=t; END;
56 MACRO center WRAPPER html/center; content; END;
57 MACRO box WRAPPER html/div; content; END;
58 MACRO span WRAPPER html/span; content; END;
60 MACRO cellbox WRAPPER html/cell;
61 WRAPPER html/div; content; END;
64 MACRO rowbox(i,c,text) WRAPPER html/row;
66 WRAPPER html/div; id=_id; class=_class; text; END;