8d4858c73590e5b26679932c3c2d50aff9458754
[brisk.git] / web / Obj / brisk.conf-templ.pho
1 <?php
2
3 if (file_exists("$DOCUMENT_ROOT/Etc/cloud_smasher.phh")) {
4     require("$DOCUMENT_ROOT/Etc/cloud_smasher.phh");
5 }
6 else {
7     $G_cloud_smasher = array();
8 }
9
10 if (file_exists("$DOCUMENT_ROOT/Etc/provider_proxy.phh")) {
11     require("$DOCUMENT_ROOT/Etc/provider_proxy.phh");
12 }
13 else {
14     $G_provider_proxy = array();
15 }
16
17 // 26 hours between 2 successive registration from this area
18 $G_selfreg_mask = 0xfffff000;
19 $G_selfreg_tout = 93600;
20
21 // G_dbasetype value can be "pgsql" or "file"
22 $G_dbasetype="pgsql";
23
24 $G_dbauth = "host=... port=... user=... password=... dbname=... options='--client_encoding=UTF8'";
25 $G_dbpfx = "bsk_";
26
27 $G_domain     = "brisk.example.com";
28 $G_webbase    = "brisk";
29 $G_admin_mail = "admin@$G_domain";
30 $G_mail_seed  = 281741;
31
32 $G_lang = "it";
33
34 $G_crypt_key = "cryptkey";
35
36 $G_shutdown = FALSE;
37
38 // list of allowed proxies IP address (strings)
39 $G_proxy_white_list = array();
40
41 // admin passwd to send broadcast messages
42 $G_alarm_passwd = "yourpasswd";
43
44 // is local or connected to internet
45 $G_is_local = FALSE;
46
47 // splash window related vars
48 $G_with_splash = TRUE;
49 $G_splash_interval = 25200; // 3600 * 7
50 $G_splash_idx = 3;
51 $G_splash_w = 350;
52 $G_splash_h = 500;
53 $G_splash_timeout = 5000;
54 $G_splash_content = array( 'it' => 'content italico',
55                            'en' => 'content anglofico' );
56
57 // to use more then one splash content (to be reviewed)
58 $G_splash_contents = array( "a", "b");
59 $G_splash_cont_idx = 0; // (must be moved outside)
60
61 // donometer related variables
62 $G_with_donors = TRUE;
63 $G_donors_cur = 12;
64 $G_donors_all = 50;
65
66 $G_room_roadmap = '<div style=\"text-align: left;\"><ul>
67 <li>roadmap item 1</li>
68 <li>roadmap item 2</li>
69 <li>...</li>
70 </ul></div>';
71
72 // is the top banner active ?
73 $G_with_topbanner = FALSE;
74
75 $G_topbanner = '<div class="topbanner" id="topbanner" onMouseOver="show_bigpict(this, \'over\', -100, 80);" onMouseOut="show_bigpict(this, \'out\', 0, 0);">
76 <a target="_blank" href="http://www.briscolachiamatamilano.it/maggiotorneo.htm">
77 Torneo di briscola<br> chiamata - Milano<br> 17/05/2008</a>
78 </div>
79 <img class="nobohide" id="topbanner_big" src="img/bcm_tor080517.gif">';
80
81 $G_sidebanner_idx = array( 0, 1, 0 );
82
83 // sidebanners array
84 $G_sidebanner = array(
85                       array('link' => 'http://www.alternativeoutput.it/brisk/bm33/',
86                             'title' => '3° BriskMeeting \'Isola delle Femmine\' - Sabato 11 Ottobre 2014 - Palermo (PA)',
87                             'icon_big' => 'bm33/img/bm33_500.jpg'
88                             // 'type' => 'meeting' or 'event'      // (default meeting with the correct icon)
89                             // 'icon' => 'img/brisk_meeting60.gif' // (default is the regulare meeting icon)
90                             // 'dx'
91                             // 'dy'                                // displacement of the big image
92                             ),
93
94                       array('link' => 'https://www.facebook.com/events/525109597594103/',
95                             'title' => 'BriskMeeting Busseto - Terra di Verdi - Sabato 4 Ottobre - Busseto (Parma)',
96                             'icon_big' => 'bm32/img/splash.jpg'
97                             )
98                       );
99
100 // is poll active ?
101 $G_with_poll = FALSE;
102 $G_poll_name = "calcolo_punteggio";
103 $G_poll_title = "Vota come calcolare i punteggi!";
104 $G_poll_entries = array( array( 'id' => 'din', 'cont' => 'Dinner room'),
105                          array( 'id' => 'bat', 'cont' => 'Bath room'),
106                          array( 'id' => 'coo', 'cont' => 'Cooking room') );
107
108 $G_ban_list = array();   // each element in the form "IP/<MSBs_number>" i.e. "192.15.21.4/24"
109 $G_black_list = array(); // each element in the form "IP/<MSBs_number>" i.e. "192.15.21.4/24"
110
111
112 // this is the prefix path to remove from backtrace
113 $G_btrace_pref_sub = "/home/nastasi/web/";
114
115 // where documents are stored
116 $G_doc_path = "Obj/doc/";
117
118 // licence related stuff
119 $G_tos_vers = "1.2";
120 $G_tos_fname = "terms-of-service_V%s_%s.txt";
121 // USE date +%s -d 'Wed Nov 20 18:35:41 CET 2013' to calculate
122 $G_tos_dthard = 1384968941;
123 $G_tos_dtsoft = 1384968941;
124 $G_tos_idx    = 1;
125 ?>