homogenized $remote_addr and $remote_addr_full usage, add ban_list, reload() method...
[brisk.git] / web / Obj / brisk.conf-templ.pho
1 <?php
2 // G_dbasetype value can be "pgsql" or "file"
3 $G_dbasetype="pgsql";
4
5 $G_dbauth = "host=... port=... user=... password=... dbname=... options='--client_encoding=UTF8'";
6 $G_dbpfx = "bsk_";
7
8 $G_domain     = "brisk.example.com";
9 $G_webbase    = "brisk";
10 $G_admin_mail = "admin@$G_domain";
11 $G_mail_seed  = 281741;
12
13 $G_lang = "it";
14
15 $G_crypt_key = "cryptkey";
16
17 $G_shutdown = FALSE;
18
19 // list of allowed proxies IP address (strings)
20 $G_proxy_white_list = array();
21
22 // admin passwd to send broadcast messages
23 $G_alarm_passwd = "yourpasswd";
24
25 // is local or connected to internet
26 $G_is_local = FALSE;
27
28 // splash window related vars
29 $G_with_splash = TRUE;
30 $G_splash_interval = 25200; // 3600 * 7
31 $G_splash_idx = 3;
32 $G_splash_w = 350;
33 $G_splash_h = 500;
34 $G_splash_timeout = 5000;
35 $G_splash_content = array( 'it' => 'content italico',
36                            'en' => 'content anglofico' );
37
38 // to use more then one splash content (to be reviewed)
39 $G_splash_contents = array( "a", "b");
40 $G_splash_cont_idx = 0; // (must be moved outside)
41
42 // donometer related variables
43 $G_with_donors = TRUE;
44 $G_donors_cur = 12;
45 $G_donors_all = 50;
46
47 $G_room_roadmap = '<div style=\"text-align: left;\"><ul>
48 <li>roadmap item 1</li>
49 <li>roadmap item 2</li>
50 <li>...</li>
51 </ul></div>';
52
53 // is the top banner active ?
54 $G_with_topbanner = FALSE;
55
56 $G_topbanner = '<div class="topbanner" id="topbanner" onMouseOver="show_bigpict(this, \'over\', -100, 80);" onMouseOut="show_bigpict(this, \'out\', 0, 0);">
57 <a target="_blank" href="http://www.briscolachiamatamilano.it/maggiotorneo.htm">
58 Torneo di briscola<br> chiamata - Milano<br> 17/05/2008</a>
59 </div>
60 <img class="nobohide" id="topbanner_big" src="img/bcm_tor080517.gif">';
61
62 // is the first side banner active ?
63 $G_with_sidebanner = TRUE;
64
65 $G_sidebanner = '<div class="topbanner" style="background: #ffd780; border: solid 1px #ffae00; width: 60px; margin: auto;" id="sidebanner2">
66 <a target="_blank" href="briskmeeting4.php">
67 <img style="position: static; border: solid 0px black;" src="img/brisk_meeting_trinacria60b.png"  onMouseOver="show_bigpict($(\'sidebanner2\'), \'over\', 100, -80, \'\');" onMouseOut="show_bigpict($(\'sidebanner2\'), \'out\', 0, 0, \'\');"></div>
68 <img class="nobohide" id="sidebanner2_big" src="img/brisk_meeting4big150.png">';
69
70 // is the second side banner active ?
71 $G_with_sidebanner2 = TRUE;
72
73 $G_sidebanner2 = '<div class="topbanner" style="background: #ffd780; border: solid 1px #ffae00; width: 60px; margin: auto;" id="sidebanner2">
74 <a target="_blank" href="briskmeeting4.php">
75 <img style="position: static; border: solid 0px black;" src="img/brisk_meeting_trinacria60b.png"  onMouseOver="show_bigpict($(\'sidebanner2\'), \'over\', 100, -80, \'\');" onMouseOut="show_bigpict($(\'sidebanner2\'), \'out\', 0, 0, \'\');"></div>
76 <img class="nobohide" id="sidebanner2_big" src="img/brisk_meeting4big150.png">';
77
78 // is poll active ?
79 $G_with_poll = FALSE;
80 $G_poll_name = "calcolo_punteggio";
81 $G_poll_title = "Vota come calcolare i punteggi!";
82 $G_poll_entries = array( array( 'id' => 'din', 'cont' => 'Dinner room'),
83                          array( 'id' => 'bat', 'cont' => 'Bath room'),
84                          array( 'id' => 'coo', 'cont' => 'Cooking room') );
85
86 $G_ban_list = array();   // each element in the form "IP/<MSBs_number>" i.e. "192.15.21.4/24"
87 $G_black_list = array(); // each element in the form "IP/<MSBs_number>" i.e. "192.15.21.4/24"
88
89
90 // this is the prefix path to remove from backtrace
91 $G_btrace_pref_sub = "/home/nastasi/web/";
92
93 // where documents are stored
94 $G_doc_path = "Obj/doc/";
95
96 // licence related stuff
97 $G_tos_vers = "1.2";
98 $G_tos_fname = "terms-of-service_V%s_%s.txt";
99 // USE date +%s -d 'Wed Nov 20 18:35:41 CET 2013' to calculate
100 $G_tos_dthard = 1384968941;
101 $G_tos_dtsoft = 1384968941;
102 $G_tos_idx    = 1;
103 ?>