[ PHPXref.com ] [ Generated: Sun Jul 20 19:15:28 2008 ] [ OverLook 4.02 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/config/ -> config_local.php (source)

   1  <?php
   2  
   3  /********************************************************************
   4   *   Autori:             Marco Colombo (marco@openit.it)
   5   *                       Valentina Portolan (valentina@openit.it)
   6   *                       Giuliano Natali Diaolin (diaolin@openit.it)
   7   *  Copyright:           Open It S.r.l.
   8   *                       Viale Dante, 78
   9   *                       38057 Pergine Valsugana (TN) ITALY
  10   *                       Tel: +39 0461 534800 Fax: +39 0461 538443
  11   *********************************************************************/
  12  /* Local config overrides.
  13     You can override the config.php settings here.  Don't do it unless you know what you're doing.
  14     Use standard PHP syntax, see config.php for examples. */
  15  
  16  /********************************** ADDRESSBOOK ************************************/
  17  
  18  //Indicare i files per la rubrica pubblica:
  19  //e' possibile indicare un file per ogni dominio
  20  //di appartenenza dell'utente:
  21  //es: utente "marco@miodominio.it" -> dominio "miodominio.it" -> rubrica pubblica "global@miodominio.it.abook";
  22  
  23  //I files della rubrica pubblica devono essere creati durante l'installazione!
  24  
  25  //Nella variabile indicare i path e il nome parziale di tutte le rubriche pubbliche.
  26  //Il programma in automatico aggiungera' la chiocciola, il dominio e l'estensione per
  27  //il file di rubrica pubblica relativo al dominio dell'utente.
  28  
  29  //Se non esiste neanche una rubrica pubblica (per nessun dominio) lasciare vuota la variabile,
  30  //altrimenti indicare il path. 
  31  
  32  //Nel caso in cui per qualche dominio il file di rubrica pubblica non esista, il programma si comporta come
  33  //se per quel dominio la rubrica pubblica non esistesse.
  34  //$address_book_global_filename = $data_dir."global";
  35  
  36  //Public addressbook files:
  37  //one file for each domain
  38  //of the user:
  39  //ex: user "marco@miodominio.it" -> domain "miodominio.it" -> public abook ->"global@miodominio.it.abook";
  40  //group public addressbook
  41  //ex: user "marco@miodominio.it" -> domain "miodominio.it" -> public abook ->"global@miodominio.it.group";
  42  //The public abook files shoud be initialized during installation!
  43  //(use touch filename and change the ownership to the apache owner username )
  44  // ex: chown www-data global@miodominio.it.abook
  45  //In this variable you should declare the path and the partial name of the public addressbook.
  46  //The program itself adds the @, domain and extension
  47  //related to the public abook for the user
  48  
  49  //If you don't have any public addressbook let the variable '' ,
  50  //otherwise write the path. 
  51  
  52  //If a domain hasn't initialized the public abook file the program ignores it
  53  //and shown no public abook for that domain
  54  //$address_book_global_filename = $data_dir."global";
  55  
  56  $address_book_global_filename = $data_dir."global";
  57  
  58  $max_file_addressbook_size = 50000;
  59  
  60  
  61  //inserire i login degli utenti
  62  //che potranno modificare la rubrica pubblica
  63  //del loro dominio
  64  //
  65  //insert all users (logins)
  66  //that are authorized changing the public
  67  //addressbook
  68  
  69  $global_abook_master=array('');
  70  
  71  // campi mostrati in rubrica
  72  // addressbook showed fields
  73  $show_fieldarrayabook = array("Nominativo","Referente","N_tel","N_fax");
  74  
  75  // contact files
  76  $fieldarrayabook = array(
  77      "idrub"        => array( label => "Id"            , idfile => 0 , align => "left" ),
  78      "nickname"         => array( label => "Nickname"        , idfile => 1 , align => "left" ),
  79      "Nominativo"     => array( label => "Name"        , idfile => 2 , align => "left" ),
  80      "Referente"     => array( label => "Contact"        , idfile => 3 , align => "left" ),
  81      "Email"         => array( label => "Email"        , idfile => 4 , align => "left" ),
  82      "N_tel"         => array( label => "Tel"        , idfile => 5 , align => "right", functions => "GetVisualPhone" ),
  83      "Cellulare"     => array( label => "Cellulare"        , idfile => 6 , align => "right", functions => "GetVisualPhone" ),
  84      "N_fax"         => array( label => "Fax"        , idfile => 7 , align => "right", functions => "GetVisualPhone" ),
  85      "Indirizzo"     => array( label => "Street"        , idfile => 8 , align => "left" ),
  86      "N_civico"         => array( label => "Street Number"    , idfile => 9 , align => "left" ),
  87      "Comune"         => array( label => "City"        , idfile => 10 , align => "left" ),
  88      "CAP"         => array( label => "Zip Code"        , idfile => 11 , align => "left" ),
  89      "Provincia"     => array( label => "Country"        , idfile => 12 , align => "left" ),    
  90      "Nazione"         => array( label => "State"        , idfile => 13 , align => "left" ),
  91      "PIVA"         => array( label => "Vat Code"        , idfile => 14 , align => "left" ),
  92      "CodFiscale"     => array( label => "Fiscal Code"    , idfile => 15 , align => "left" ),
  93      "Note_addr"     => array( label => "Notes"        , idfile => 16 , align => "left" ),
  94      "SendPredefined"     => array( label => "Send Predefined"    , idfile => 17 , align => "left" ),
  95      "syncr"         => array( label => "Syncronize"        , idfile => 18 , align => "left" )
  96  );
  97  
  98  // campi mostrati in rubrica dei gruppi
  99  // showed fields into the group addressbook
 100  $show_fieldarraygroupabook = array("group_name");
 101  
 102  // group files
 103  $fieldarraygroupabook = array(
 104      "group_id"            => array( label => "Id"                , idfile => 0 , align => "left" ),
 105      "group_name"         => array( label => "Name"            , idfile => 1 , align => "left" ),
 106      "group_list_private"     => array( label => "Contact List Private"    , idfile => 2 , align => "left" ),
 107      "group_list_public"     => array( label => "Contact List Public"    , idfile => 3 , align => "left" ),
 108  );
 109  
 110  /********************************** CALENDAR ************************************/
 111  
 112  $max_file_calendar_size = 50000;
 113  
 114  $SLEEPCRONTIMEALARMS = 60;
 115  
 116  $option_calendar_event_default_duration = array(
 117      15 => "15 minutes",
 118      30 => "30 minutes",
 119      45 => "45 minutes",
 120      60 => "1 hour",
 121      120 => "2 hours",
 122      240 => "4 hours",
 123      480 => "8 hours",
 124      1440 => "1 day",
 125      2880 => "2 days",
 126  );
 127  
 128  $option_calendar_summary_days = array(
 129      1 => "1 day",
 130      2 => "2 days",
 131      3 => "3 days",
 132      4 => "4 days",
 133      5 => "5 days",
 134      6 => "6 days",
 135      7 => "7 days",
 136      10 => "10 days",
 137      15 => "15 days",
 138      20 => "20 days",
 139      30 => "30 days"
 140  );
 141  
 142  // contact files
 143  $event_categories = array(
 144      "ANNIVERSARY"     => array( icon => "event1.gif", label => "Anniversary" ),
 145      "APPOINTMENT"    => array( icon => "event2.gif", label => "Appointment" ),
 146      "BUSINESS"        => array( icon => "event3.gif", label => "Business" ),
 147      "EDUCATION"        => array( icon => "event4.gif", label => "Education" ),
 148      "HOLIDAY"        => array( icon => "event5.gif", label => "Holiday" ),
 149      "MEETING"        => array( icon => "event6.gif", label => "Meeting" ),
 150      "MISCELLANEOUS"    => array( icon => "event7.gif", label => "Miscellaneous" ),
 151      "NON-WORKING HOURS"    => array( icon => "event8.gif", label => "Non-working hours" ),
 152      "NOT IN OFFICE"    => array( icon => "event9.gif", label => "Not in office" ),
 153      "PERSONAL"        => array( icon => "event10.gif", label => "Personal" ),
 154      "PHONE CALL"    => array( icon => "event11.gif", label => "Phone call" ),
 155      "SICK DAY"        => array( icon => "event12.gif", label => "Sick day" ),
 156      "SPECIAL OCCASION"    => array( icon => "event13.gif", label => "Special occasion" ),
 157      "TRAVEL"        => array( icon => "event14.gif", label => "Travel" ),
 158      "VACATION"        => array( icon => "event15.gif", label => "Vacation" )
 159  );
 160  
 161  // contact files
 162  $event_priority = array(
 163      "1" => "High",
 164      "5" => "Medium",
 165      "7" => "Low"
 166  );
 167  
 168  // contact files
 169  $event_class = array(
 170      "PRIVATE" => "Private",
 171      "CONFIDENTIAL" => "Confidential",
 172      "PUBLIC" => "Public"
 173  );
 174  
 175  // contact files
 176  $todo_class = array(
 177      "PRIVATE" => "Private",
 178  );
 179  
 180  // contact files
 181  $event_transp = array(
 182      "NORMAL" => "Visible",
 183      "OPAQUE" => "Opaque"
 184  );
 185  
 186  $event_freq_recurrence_rules = array(
 187      "DAILY" => "Days",
 188      "WEEKLY" => "Weeks",
 189      "MONTHLY" => "Months",
 190      "YEARLY" => "Years"
 191  );
 192  
 193  $event_weekly_byday_recurrence = array(
 194      "MO" => "Monday",
 195      "TU" => "Tuesday",
 196      "WE" => "Wednesday",
 197      "TH" => "Thursday",
 198      "FR" => "Friday",
 199      "SA" => "Saturday",
 200      "SU" => "Sunday"
 201  );
 202  
 203  $event_bymonthday_recurrence = array(
 204      "BYMONTHDAY=1" => "First day",
 205      "BYMONTHDAY=2" => "Second day",
 206      "BYMONTHDAY=3" => "Third day",
 207      "BYMONTHDAY=4" => "4th day",
 208      "BYMONTHDAY=5" => "5th day",
 209      "BYMONTHDAY=6" => "6th day",
 210      "BYMONTHDAY=7" => "7th day",
 211      "BYMONTHDAY=8" => "8th day",
 212      "BYMONTHDAY=9" => "9th day",
 213      "BYMONTHDAY=10" => "10th day",
 214      "BYMONTHDAY=11" => "11th day",
 215      "BYMONTHDAY=12" => "12th day",
 216      "BYMONTHDAY=13" => "13th day",
 217      "BYMONTHDAY=14" => "14th day",
 218      "BYMONTHDAY=15" => "15th day",
 219      "BYMONTHDAY=16" => "16th day",
 220      "BYMONTHDAY=17" => "17th day",
 221      "BYMONTHDAY=18" => "18th day",
 222      "BYMONTHDAY=19" => "19th day",
 223      "BYMONTHDAY=20" => "20th day",
 224      "BYMONTHDAY=21" => "21th day",
 225      "BYMONTHDAY=22" => "22th day",
 226      "BYMONTHDAY=23" => "23th day",
 227      "BYMONTHDAY=24" => "24th day",
 228      "BYMONTHDAY=25" => "25th day",
 229      "BYMONTHDAY=26" => "26th day",
 230      "BYMONTHDAY=27" => "27th day",
 231      "BYMONTHDAY=28" => "28th day",
 232      "BYMONTHDAY=29" => "29th day",
 233      "BYMONTHDAY=30" => "30th day",
 234      "BYMONTHDAY=31" => "31th day",
 235      "BYMONTHDAY=-1" => "Last day",
 236      "BYMONTHDAY=-2" => "Second to the last day",
 237      "BYMONTHDAY=-3" => "Third to the last day",
 238      "BYMONTHDAY=-4" => "Fourth to the last day",
 239      "BYMONTHDAY=-5" => "Fifth to the last day",
 240  );
 241  
 242  $event_monthly_byday_recurrence = array(
 243      "BYDAY=1" => "1",
 244      "BYDAY=2" => "2",
 245      "BYDAY=3" => "3",
 246      "BYDAY=4" => "4",
 247      "BYDAY=5" => "5",
 248      "BYDAY=-1" => "Last",
 249      "BYDAY=-2" => "Second to the Last",
 250      "BYDAY=-3" => "Third to the Last",
 251      "BYDAY=-4" => "Fourth to the Last",
 252      "BYDAY=-5" => "Fifth to the Last",
 253  );
 254  
 255  $event_yearly_bymonth_recurrence = array(
 256      "BYMONTH=1" => "January",
 257      "BYMONTH=2" => "February",
 258      "BYMONTH=3" => "March",
 259      "BYMONTH=4" => "April",
 260      "BYMONTH=5" => "May",
 261      "BYMONTH=6" => "June",
 262      "BYMONTH=7" => "July",
 263      "BYMONTH=8" => "August",
 264      "BYMONTH=9" => "September",
 265      "BYMONTH=10" => "October",
 266      "BYMONTH=11" => "November",
 267      "BYMONTH=12" => "December",
 268  );
 269  
 270  $event_remind = array (
 271          "-P5M" => '5 mins before',
 272          "-P10M" => '10 mins before',
 273          "-P15M" => '15 mins before',
 274          "-P30M" => '30 mins before',
 275          "-P1H" => '1 hour before',
 276          "-P2H" => '2 hours before',
 277          "-P4H" => '4 hours before',
 278          "-P8H" => '8 hours before',
 279          "-P16H" => '16 hours before',
 280          "-P1D" => '1 day before',
 281          "-P2D" => '2 days before',
 282          "+P5M" => '5 mins after',
 283          "+P10M" => '10 mins after',
 284          "+P30M" => '30 mins after',
 285  );
 286  
 287  $event_attendee_rsvp = array(
 288      "RSVP=TRUE;" => 'Yes',
 289      "RSVP=FALSE;" => 'No',
 290  );
 291  
 292  $event_attendee_parstat = array(
 293      "PARSTAT=NEEDS-ACTION;" => 'Needs action',
 294      "PARSTAT=ACCEPTED;" => 'Accepted',
 295      "PARSTAT=DECLINED;" => 'Declined',
 296  );
 297  
 298  $event_attendee_role = array(
 299      "ROLE=CHAIR;" => 'Chair',
 300      "ROLE=REQ-PARTICIPANT;" => 'Requested',
 301      "ROLE=OPT-PARTICIPANT;" => 'Optional',
 302      "ROLE=NON-PARTICIPANT;" => 'Observer', 
 303  );
 304  
 305  /********************************** GENERIC ************************************/
 306  
 307  // se vuota la rete interna e' tutto il mondo
 308  // altrimenti la rete interna e' solo la rete e gli IP indicati
 309  // if nothing the internal net is all the world
 310  // otherwise only the selected nets are allowed to login all users
 311  // in any case if you have any user that can login from everywhere you can enable 
 312  // this users writing the login name into the $file_external_net as showed below
 313  $internal_net           = array();
 314  // il file e' nel formato:
 315  // file format
 316  //login1 "\n\r"
 317  //login2 "\n\r"
 318  //login3 "\n\r"
 319  //...
 320  $file_external_net      = "/var/www/overlook/data/external_net";
 321  
 322  // cambio impostazioni personali:
 323  // - 0 o '': nessuna interfaccia disponibile in opzioni per la modifica della password
 324  // - 1: gli utenti di OverLook sono utenti di sistema: interfaccia in opzioni per la modifica della password
 325  // - url di qmailadmin: si utilizza qmailadmin per le modifiche delle impostazioni personali
 326  //$qmlogin_cgi_url        = "/cgi-bin/qmailadmin";
 327  //
 328  // change personal config
 329  // - 0 or '': no change-password interface
 330  // - 1: the OverLook users are system users (then read the chpasswd section...
 331  // - url of qmailadmin: using qmailadmin for personal configurations
 332  //$qmlogin_cgi_url        = "/cgi-bin/qmailadmin";
 333  
 334  $qmlogin_cgi_url        = '';
 335  // solo se si utilizza chpasswd per modificare password di utenti di sistema
 336  // il file chpasswd.c allegato va compilato con i seguenti parametri (in alternativa):
 337  // 1) gcc -lcrypt -O -o chpasswd chpasswd.c; chmod 4750 chpasswd; chown root:www-data chpasswd
 338  // 2) gcc -Wall -lcrypt -O -o chpasswd chpasswd.c; chmod 4750 chpasswd; chown root:www-data chpasswd
 339  // copiare il file chpasswd in /usr/bin o nel $PathChpwd specificato sotto ed eseguire nuovamente
 340  // chmod 4750 chpasswd; chown root:www-data chpasswd.
 341  // www-data e' il gruppo al quale appartiene l'utente di apache.
 342  //
 343  // if you use chpasswd for password changing(system users)
 344  // the chpasswd.c file shoud be compiled with the following parameters:
 345  // 1) gcc -lcrypt -O -o chpasswd chpasswd.c; chmod 4750 chpasswd; chown root:www-data chpasswd
 346  // 2) gcc -Wall -lcrypt -O -o chpasswd chpasswd.c; chmod 4750 chpasswd; chown root:www-data chpasswd
 347  // copy the file chpasswd into /usr/bin od into $PathChpwd specified and execute
 348  // chmod 4750 chpasswd; chown root:www-data chpasswd.
 349  // www-data is the user that owns the apache running process
 350  
 351  $minimumPasswordLength = 8;
 352  $PathChpwd = '/usr/bin/chpasswd';
 353  
 354  // aggiunge dominio di accesso al textfield del login nella pagina di login:
 355  // 0 per non aggiungere;
 356  // 1 per aggiungere;
 357  // 2 per aggiungere cancellando la prima parte (solitamente www.)
 358  //
 359  // this option adds the current domain to the login textfield:
 360  // 0 nothing
 361  // 1 adds the entire name
 362  // 2 adds the name of the domain withouth the machine (example www.diaolin.com will be @diaolin.com)
 363  
 364  $enable_set_domain = 2;
 365  
 366  // &larr => freccia
 367  // thread separator 
 368  $thread_symbol = "-";
 369  
 370  // mostra icone in barre di navigazione
 371  // show icons into the navigation bar
 372  $icon_folder = 1;
 373  
 374  // max length in folder name field
 375  $max_length_folder_name_field = 50;
 376  
 377  // DEMO ONLINE
 378  $demo_version = 0;
 379  $demo_user = "";
 380  $demo_password = "";
 381  $link_download = $data_dir."overlook.tgz";
 382  
 383  $use_pop3 = 1;
 384  
 385  $use_banner = 0;
 386  // timeout in millisecondi
 387  $banner_timeout = 15000;
 388  //imgs = width x height: 300 x 55
 389  //     = devono essere inserite in /images/sponsor/
 390  //$banners = array(
 391  //    1 => array ( 'text' => '', 'img' => '<myimage>.gif', 'link' => 'http://<myurl>' ),
 392  //    2 => array ( 'text' => '', 'img' => '<myimage>.gif', 'link' => 'http://<myurl>' ),
 393  //);
 394  
 395  // SPELLCHECK
 396  $aspell_prog = '"/usr/bin/aspell"';
 397  $aspell_opts_def = "-a --encoding=utf-8 -H";
 398  $aspell_tempfiledir = "/tmp";
 399  // insert aspell available languages. Use ; as field separator.
 400  $aspell_language = 'it;en;fr';


[ Powered by PHPXref - Served by Debian GNU/Linux ]