[ Index ]
 

Code source de GeekLog 1.4.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

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

   1  <?php
   2  
   3  // Reminder: always indent with 4 spaces (no tabs).
   4  // +---------------------------------------------------------------------------+
   5  // | config.php   Links plugin configuration file                              |
   6  // +---------------------------------------------------------------------------+
   7  // | Copyright (C) 2000-2006 by the following authors:                         |
   8  // |                                                                           |
   9  // | Authors: Tony Bibbs        - tony AT tonybibbs DOT com                    |
  10  // |          Mark Limburg      - mlimburg AT users.sourceforge DOT net        |
  11  // |          Jason Whittenburg - jwhitten AT securitygeeks DOT com            |
  12  // |          Dirk Haun         - dirk AT haun-online DOT de                   |
  13  // +---------------------------------------------------------------------------+
  14  // |                                                                           |
  15  // | This program is licensed under the terms of the GNU General Public License|
  16  // | as published by the Free Software Foundation; either version 2            |
  17  // | of the License, or (at your option) any later version.                    |
  18  // |                                                                           |
  19  // | This program is distributed in the hope that it will be useful,           |
  20  // | but WITHOUT ANY WARRANTY; without even the implied warranty of            |
  21  // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                      |
  22  // | See the GNU General Public License for more details.                      |
  23  // |                                                                           |
  24  // | You should have received a copy of the GNU General Public License         |
  25  // | along with this program; if not, write to the Free Software Foundation,   |
  26  // | Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.           |
  27  // |                                                                           |
  28  // +---------------------------------------------------------------------------+
  29  //
  30  // $Id: config.php,v 1.11 2006/10/10 11:41:16 ospiess Exp $
  31  /**
  32   * Links plugin configuration file
  33   *
  34   * @package Links
  35   * @filesource
  36   * @version 1.0.1
  37   * @since GL 1.4.0
  38   * @copyright Copyright &copy; 2005-2006
  39   * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  40   * @author Trinity Bays <trinity93@steubentech.com>
  41   * @author Tony Bibbs <tony@tonybibbs.com>
  42   * @author Tom Willett <twillett@users.sourceforge.net>
  43   * @author Blaine Lang <langmail@sympatico.ca>
  44   * @author Dirk Haun <dirk@haun-online.de>
  45   *
  46   */
  47  
  48  /**
  49  * the link plugin's config aray
  50  *
  51  * @global array $_LI_CONF
  52  */
  53  $_LI_CONF = array();
  54  
  55  /**
  56  * the link plugin's version setting
  57  *
  58  * @global array $_LI_CONF['version']
  59  */
  60  $_LI_CONF['version'] = '1.0.1';          // Plugin Version
  61  
  62  /**
  63   * this lets you select which functions are available for registered users only
  64   *
  65   * @global array $_LI_CONF['linksloginrequired']
  66   */
  67  $_LI_CONF['linksloginrequired'] = 0;
  68  
  69  /**
  70   * Submission Settings
  71   * enable (set to 1) or disable (set to 0) submission queues:
  72   *
  73   * @global array $_LI_CONF['linksubmission']
  74   */
  75  $_LI_CONF['linksubmission']  = 1;
  76  
  77  /**
  78   * Following times are in seconds
  79   *
  80   * @global array $_LI_CONF['newlinksinterval']
  81   */
  82  $_LI_CONF['newlinksinterval']    = 1209600; // = 14 days
  83  
  84  /**
  85   * Set to 1 to hide a section from the What's New block:
  86   *
  87   * @global array $_LI_CONF['hidenewlinks']
  88   */
  89  $_LI_CONF['hidenewlinks']    = 0;
  90  
  91  /**
  92   * Set to 1 to hide the "Web Resources" entry from the top menu:
  93   *
  94   * @global array $_LI_CONF['hidelinksmenu']
  95   */
  96  $_LI_CONF['hidelinksmenu']    = 0;
  97  
  98  /**
  99   * categories per column
 100   * You can set this and $_LI_CONF['linksperpage'] to 0 to get back the old
 101   * (pre-1.3.6) style of the links section. Setting only linkcols to 0 will hide
 102   * the categories but keep the paging. Setting only linksperpage to 0 will list
 103   * all the links of the selected category on one page.
 104   *
 105   * @global array $_LI_CONF['linkcols']
 106   */
 107  $_LI_CONF['linkcols']     =  3;
 108  
 109  /**
 110   * links per page
 111   * You can set this and $_LI_CONF['linkcols'] to 0 to get back the old
 112   * (pre-1.3.6) style of the links section. Setting only linkcols to 0 will hide
 113   * the categories but keep the paging. Setting only linksperpage to 0 will list
 114   * all the links of the selected category on one page.
 115   *
 116   * @global array $_LI_CONF['linksperpage']
 117   */
 118  $_LI_CONF['linksperpage'] = 10;
 119  
 120  /**
 121   * show top ten links
 122   * Whether to show the Top Ten Links on the main page or not.
 123   *
 124   * @global array $_LI_CONF['show_top10']
 125   */
 126  $_LI_CONF['show_top10']   = true;
 127  
 128  /**
 129   * notify when a new link was submitted
 130   *
 131   * @global array $_LI_CONF['notification']
 132   */
 133  $_LI_CONF['notification'] = 0;
 134  
 135  /**
 136   * should we remove links submited by users if account is removed? (1)
 137   * or change owner to root (0)
 138   *
 139   * @global array $_LI_CONF['delete_links']
 140   */
 141  $_LI_CONF['delete_links'] = 0;
 142  
 143  /**
 144   * Define default permissions for new links created from the Admin panel.
 145   * Permissions are perm_owner, perm_group, perm_members, perm_anon (in that
 146   * order). Possible values:<br>
 147   * - 3 = read + write permissions (perm_owner and perm_group only)
 148   * - 2 = read-only
 149   * - 0 = neither read nor write permissions
 150   * (a value of 1, ie. write-only, does not make sense and is not allowed)
 151   *
 152   * @global array $_LI_CONF['default_permissions']
 153   */
 154  $_LI_CONF['default_permissions'] = array (3, 2, 2, 2);
 155  
 156  // database table names - don't change
 157  $_TABLES['links']               = $_DB_table_prefix . 'links';
 158  $_TABLES['linksubmission']      = $_DB_table_prefix . 'linksubmission';
 159  
 160  ?>


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