[ Index ]
 

Code source de GeekLog 1.4.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/plugins/calendar/ -> config.php (source)

   1  <?php
   2  
   3  /* Reminder: always indent with 4 spaces (no tabs). */
   4  // +---------------------------------------------------------------------------+
   5  // | Calendar Plugin 1.0                                                       |
   6  // +---------------------------------------------------------------------------+
   7  // | config.php                                                                |
   8  // |                                                                           |
   9  // | Calendar plugin configuration file                                        |
  10  // +---------------------------------------------------------------------------+
  11  // | Copyright (C) 2000-2006 by the following authors:                         |
  12  // |                                                                           |
  13  // | Authors: Tony Bibbs        - tony AT tonybibbs DOT com                    |
  14  // |          Mark Limburg      - mlimburg AT users DOT sourceforge DOT net    |
  15  // |          Jason Whittenburg - jwhitten AT securitygeeks DOT com            |
  16  // |          Dirk Haun         - dirk AT haun-online DOT de                   |
  17  // |          Trinity Bays      - trinity93 AT steubentech DOT com             |
  18  // +---------------------------------------------------------------------------+
  19  // |                                                                           |
  20  // | This program is free software; you can redistribute it and/or             |
  21  // | modify it under the terms of the GNU General Public License               |
  22  // | as published by the Free Software Foundation; either version 2            |
  23  // | of the License, or (at your option) any later version.                    |
  24  // |                                                                           |
  25  // | This program is distributed in the hope that it will be useful,           |
  26  // | but WITHOUT ANY WARRANTY; without even the implied warranty of            |
  27  // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             |
  28  // | GNU General Public License for more details.                              |
  29  // |                                                                           |
  30  // | You should have received a copy of the GNU General Public License         |
  31  // | along with this program; if not, write to the Free Software Foundation,   |
  32  // | Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.           |
  33  // |                                                                           |
  34  // +---------------------------------------------------------------------------+
  35  //
  36  // $Id: config.php,v 1.8 2006/09/03 21:08:03 dhaun Exp $
  37  
  38  $_CA_CONF['version']            = '1.0.0'; // Plugin Version
  39  
  40  // Calendar Settings
  41  
  42  // when set to 1 will only allow logged-in users to view the list of past events
  43  // (also see $_CONF['loginrequired'] in Geeklog's config.php)
  44  $_CA_CONF['calendarloginrequired']   = 0;
  45  
  46  // enable (set to 1) or disable (set to 0) submission queues:
  47  $_CA_CONF['eventsubmission'] = 1;
  48  
  49  /**
  50   * Set to 1 to hide the "Calendar" entry from the top menu:
  51   * 
  52   * @global array $_CA_CONF['hidecalendarmenu']
  53   */
  54  $_CA_CONF['hidecalendarmenu']    = 0;
  55  
  56  // Calendar Settings
  57  $_CA_CONF['personalcalendars']     = 1;
  58  $_CA_CONF['showupcomingevents']    = 1;
  59  $_CA_CONF['upcomingeventsrange']   = 14; // days
  60  $_CA_CONF['event_types']           = "Anniversary,Appointment,Birthday,Business,"
  61                                      ."Education,Holiday,Meeting,Miscellaneous,"
  62                                      ."Personal,Phone Call,Special Occasion,"
  63                                      ."Travel,Vacation";
  64  
  65  // Whether to use 12 hour (am/pm) or 24 hour mode
  66  $_CA_CONF['hour_mode'] = $_CONF['hour_mode']; // 12 hour am/pm or 24 hour format
  67  
  68  // notify when a new event was submitted for the site calendar (when set = 1)
  69  $_CA_CONF['notification'] = 0;
  70  
  71  // When a user is deleted, ownership of events created by that user can
  72  // be transfered to a user in the Root group (= 0) or the events can be
  73  // deleted (= 1).
  74  $_CA_CONF['delete_event'] = 0;
  75  
  76  // Define default permissions for new events created from the Admin panel.
  77  // Permissions are perm_owner, perm_group, perm_members, perm_anon (in that
  78  // order). Possible values:
  79  // 3 = read + write permissions (perm_owner and perm_group only)
  80  // 2 = read-only
  81  // 0 = neither read nor write permissions
  82  // (a value of 1, ie. write-only, does not make sense and is not allowed)
  83  $_CA_CONF['default_permissions'] = array (3, 2, 2, 2);
  84  
  85  // database table names - don't change
  86  $_TABLES['events']              = $_DB_table_prefix . 'events';
  87  $_TABLES['eventsubmission']     = $_DB_table_prefix . 'eventsubmission';
  88  $_TABLES['personal_events']     = $_DB_table_prefix . 'personal_events';
  89  
  90  ?>


Généré le : Wed Nov 21 12:27:40 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics