phpDocumentor pond
[ class tree: pond ] [ index: pond ] [ all elements ]

Source for file _admin.php

Documentation is available at _admin.php

  1. <?php
  2. /**
  3.  * This is the admin config file
  4.  *
  5.  * This sets how the back-office/admin interface works
  6.  *
  7.  * @package pond
  8.  */
  9. if!defined('QP_CONFIG_LOADED') ) die'Please, do not access this page directly.' );
  10.  
  11.  
  12. /**
  13.  * Cross posting
  14.  *
  15.  * Possible values:
  16.  *   - -1 if you don't want to use categories at all
  17.  *   - 0 if you want users to post to a single category only
  18.  *   - 1 if you want to be able to cross-post among multiple categories
  19.  *   - 2 if you want to be able to cross-post among multiple blogs/categories
  20.  *   - 3 if you want to be able to change main cat among blogs (which will move the
  21.  *       posts from one blog to another; use with caution)
  22.  *
  23.  * @todo fp>This should be moved to the backoffice.
  24.  *  In the BO, this should actually be split into:
  25.  *  App Settings:
  26.  *   checkbox         [] allow cross posting
  27.  *   another checkbox [] allow moving posting between different blogs
  28.  *  Each blog's settings: radio between:
  29.  *     o One category per post
  30.  *     o Multiple categories per post (requires transparent handling of main cat)
  31.  *     o Main cat + extra cats
  32.  *     o Don't use categories  (this requires to transparently manage a default category)
  33.  *
  34.  * @global int $allow_cross_posting 
  35.  */
  36. $allow_cross_posting 1;
  37.  
  38.  
  39. /**
  40.  * Locked post type IDs.
  41.  *
  42.  * These post types can't be edited or deleted in the post type editor.
  43.  * They're needed by certain Quam Plures features, so
  44.  * don't remove any IDs from this array.
  45.  *
  46.  * @global array $posttypes_locked_IDs 
  47.  */
  48. $posttypes_locked_IDs array10001500152015301570160020003000 );
  49.  
  50. /**
  51.  * Reserved post type IDs.
  52.  *
  53.  * These post types are reserved for future use and can't be edited or
  54.  * deleted in the post type editor. It also is not possible to select
  55.  * them when creating a new post.
  56.  * Do not remove any IDs from this array.
  57.  *
  58.  * @global array $posttypes_reserved_IDs 
  59.  */
  60. $posttypes_reserved_IDs array40005000 );
  61.  
  62. /**
  63.  * Dashboard Items Count.
  64.  *
  65.  * This controls how many comments and drafts and recent edits
  66.  * are displayed on the dashboard page
  67.  *
  68.  * @global int $dash_disp_num 
  69.  */
  70. $dash_disp_num 5;
  71.  
  72. ?>