[ Index ]
 

Code source de GeekLog 1.4.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

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

   1  <?php
   2  
   3  $_SP_CONF['version'] = '1.4.3';
   4  
   5  // If you don't plan on using PHP code in static pages, you should set this
   6  // to 0, thus disabling the execution of PHP.
   7  
   8  $_SP_CONF['allow_php'] = 1;
   9  
  10  
  11  // If you have more than one static page that is to be displayed in Geeklog's 
  12  // center area, you can specify how to sort them:
  13  
  14  $_SP_CONF['sort_by'] = 'id'; // can be 'id', 'title', 'date'
  15  
  16  
  17  // sort the static pages that are listed in the site's menu
  18  // (assuming you're using a theme that uses the {plg_menu_elements} variable)
  19  
  20  $_SP_CONF['sort_menu_by'] = 'label'; // can be 'id', 'label', 'title', 'date'
  21  
  22  
  23  // When a user is deleted, ownership of static pages created by that user can
  24  // be transfered to a user in the Root group (= 0) or the pages can be
  25  // deleted (= 1).
  26  $_SP_CONF['delete_pages'] = 0;
  27  
  28  
  29  // Static pages can optionally be wrapped in a block. This setting defines
  30  // the default for that option (1 = wrap in a block, 0 = don't).
  31  $_SP_CONF['in_block'] = 1;
  32  
  33  // Do you want to show the hits on static pages?
  34  // the default for that option (1 = show hits, 0 = don't).
  35  $_SP_CONF['show_hits'] = 1;
  36  
  37  // Do you want to show the last update date/time on static pages?
  38  // the default for that option (1 = show date, 0 = don't).
  39  $_SP_CONF['show_date'] = 1;
  40  
  41  // If you experience timeout issues, you may need to set both of the
  42  // following values to 0 as they are intensive
  43  
  44  // NOTE: using filter_html will render any blank pages useless
  45  $_SP_CONF['filter_html'] = 0;
  46  $_SP_CONF['censor'] = 1;
  47  
  48  // Define default permissions for new pages created from the Admin panel.
  49  // Permissions are perm_owner, perm_group, perm_members, perm_anon (in that
  50  // order). Possible values:
  51  // 3 = read + write permissions (perm_owner and perm_group only)
  52  // 2 = read-only
  53  // 0 = neither read nor write permissions
  54  // (a value of 1, ie. write-only, does not make sense and is not allowed)
  55  $_SP_CONF['default_permissions'] = array (3, 2, 2, 2);
  56  
  57  ?>


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