source: trunk/include/config_default.inc.php @ 2313

Last change on this file since 2313 was 2313, checked in by vdigital, 16 years ago

New: jQuery and Accordion Admin menus

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 27.6 KB
Line 
1<?php
2// +-----------------------------------------------------------------------+
3// | Piwigo - a PHP based picture gallery                                  |
4// +-----------------------------------------------------------------------+
5// | Copyright(C) 2008      Piwigo Team                  http://piwigo.org |
6// | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
7// | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
8// +-----------------------------------------------------------------------+
9// | This program is free software; you can redistribute it and/or modify  |
10// | it under the terms of the GNU General Public License as published by  |
11// | the Free Software Foundation                                          |
12// |                                                                       |
13// | This program is distributed in the hope that it will be useful, but   |
14// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
15// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
16// | General Public License for more details.                              |
17// |                                                                       |
18// | You should have received a copy of the GNU General Public License     |
19// | along with this program; if not, write to the Free Software           |
20// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
21// | USA.                                                                  |
22// +-----------------------------------------------------------------------+
23
24/**
25 *                           configuration page
26 *
27 * Set configuration parameters that are not in the table config. In the
28 * application, configuration parameters are considered in the same way
29 * coming from config table or config_default.inc.php.
30 *
31 * It is recommended to let config_default.inc.php as provided and to
32 * overwrite configuration in your local configuration file
33 * config_local.inc.php. See tools/config_local.inc.php as an example.
34 *
35 * Why having some parameters in config table and others in
36 * config_*.inc.php? Modifying config_*.inc.php is a "hard" task for low
37 * skilled users, they need a GUI for this : admin/configuration. But only
38 * parameters that might be modified by low skilled users are in config
39 * table, other parameters are in config_*.inc.php
40 */
41
42// +-----------------------------------------------------------------------+
43// |                                 misc                                  |
44// +-----------------------------------------------------------------------+
45
46// order_by : how to change the order of display for images in a category ?
47//
48// There are several fields that can order the display :
49//
50//  - date_available : the date of the adding to the gallery
51//  - file : the name of the file
52//  - id : element identifier
53//  - date_creation : date of element creation
54//
55// Once you've chosen which field(s) to use for ordering, you must chose the
56// ascending or descending order for each field.  examples :
57//
58// 1. $conf['order_by'] = " order by date_available desc, file asc";
59//    will order pictures by date_available descending & by filename ascending
60//
61// 2. $conf['order_by'] = " order by file asc";
62//    will only order pictures by file ascending without taking into account
63//    the date_available
64$conf['order_by'] = ' ORDER BY date_available DESC, file ASC, id ASC';
65
66// file_ext : file extensions (case sensitive) authorized
67$conf['file_ext'] = array('jpg','JPG','jpeg','JPEG',
68                          'png','PNG','gif','GIF','mpg','zip',
69                          'avi','mp3','ogg');
70
71// picture_ext : file extensions for picture file, must be a subset of
72// file_ext
73$conf['picture_ext'] = array('jpg','JPG','jpeg','JPEG',
74                             'png','PNG','gif','GIF');
75
76// top_number : number of element to display for "best rated" and "most
77// visited" categories
78$conf['top_number'] = 15;
79
80// anti-flood_time : number of seconds between 2 comments : 0 to disable
81$conf['anti-flood_time'] = 60;
82
83// qualified spam comments are not registered (false will register them
84// but they will require admin validation)
85$conf['comment_spam_reject'] = true;
86
87// maximum number of links in a comment before it is qualified spam
88$conf['comment_spam_max_links'] = 3;
89
90// calendar_datefield : date field of table "images" used for calendar
91// catgory
92$conf['calendar_datefield'] = 'date_creation';
93
94// calendar_show_any : the calendar shows an aditional 'any' button in the
95// year/month/week/day navigation bars
96$conf['calendar_show_any'] = true;
97
98// calendar_show_empty : the calendar shows month/weeks/days even if there are
99//no elements for these
100$conf['calendar_show_empty'] = true;
101
102// calendar_month_cell_width, calendar_month_cell_height : define the
103// width and the height of a cell in the monthly calendar when viewing a
104// given month. a value of 0 means that the pretty view is not shown.
105// a good suggestion would be to have the width and the height equal
106// and smaller than tn_width and tn_height.
107$conf['calendar_month_cell_width'] =80;
108$conf['calendar_month_cell_height']=80;
109
110// newcat_default_commentable : at creation, must a category be commentable
111// or not ?
112$conf['newcat_default_commentable'] = true;
113
114// newcat_default_uploadable : at creation, must a category be uploadable or
115// not ?
116$conf['newcat_default_uploadable'] = false;
117
118// newcat_default_visible : at creation, must a category be visible or not ?
119// Warning : if the parent category is invisible, the category is
120// automatically create invisible. (invisible = locked)
121$conf['newcat_default_visible'] = true;
122
123// newcat_default_status : at creation, must a category be public or private
124// ? Warning : if the parent category is private, the category is
125// automatically create private.
126$conf['newcat_default_status'] = 'public';
127
128// level_separator : character string used for separating a category level
129// to the sub level. Suggestions : ' / ', ' &raquo; ', ' &rarr; ', ' - ',
130// ' &gt;'
131$conf['level_separator'] = ' / ';
132
133// paginate_pages_around : on paginate navigation bar, how many pages
134// display before and after the current page ?
135$conf['paginate_pages_around'] = 2;
136
137// tn_width : default width for thumbnails creation
138$conf['tn_width'] = 128;
139
140// tn_height : default height for thumbnails creation
141$conf['tn_height'] = 128;
142
143// show_version : shall the version of PhpWebGallery be displayed at the
144// bottom of each page ?
145$conf['show_version'] = true;
146
147
148// links : list of external links to add in the menu. An example is the best
149// than a long explanation :
150//
151// Simple use:
152//  for each link is associated a label
153//  $conf['links'] = array(
154//    'http://phpwebgallery.net' => 'PWG website',
155//    'http://forum.phpwebgallery.net' => 'PWG forum',
156//    'http://phpwebgallery.net/doc' => 'PWG wiki'
157//    );
158//
159// Advenced use:
160//  You can also used special options. Instead to pass a string like parameter value
161//  you can pass a array with different optional parameter values
162//  $conf['links'] = array(
163//    'http://phpwebgallery.net' => array('label' => 'PWG website', 'new_window' => false, 'eval_visible' => 'return true;'),
164//    'http://forum.phpwebgallery.net' => array('label' => 'For ADMIN', 'new_window' => true, 'eval_visible' => 'return is_admin();'),
165//    'http://phpwebgallery.net/doc' => array('label' => 'For Guest', 'new_window' => true, 'eval_visible' => 'return is_a_guest();'),
166//    'http://download.gna.org/phpwebgallery/' =>
167//      array('label' => 'PopUp', 'new_window' => true,
168//      'nw_name' => 'PopUp', 'nw_features' => 'width=800,height=450,location=no,status=no,toolbar=no,scrollbars=no,menubar=no'),
169//    );
170// Parameters:
171//  'label':
172//    Label to display for the link, must be defined
173//  'new_window':
174//    If true open link on tab/window
175//    [Default value is true if it's not defined]
176//  'nw_name':
177//    Name use when new_window is true
178//    [Default value is '' if it's not defined]
179//  'nw_features':
180//    features use when new_window is true
181//    [Default value is '' if it's not defined]
182//  'eval_visible':
183//    It's php code witch must return if the link is visible or not
184//    [Default value is true if it's not defined]
185//
186// Equivalence:
187//  $conf['links'] = array(
188//    'http://phpwebgallery.net' => 'PWG website',
189//    );
190//  $conf['links'] = array(
191//    'http://phpwebgallery.net' => array('label' => 'PWG website', 'new_window' => false, 'visible' => 'return true;'),
192//    );
193//
194// If the array is empty, the "Links" box won't be displayed on the main
195// page.
196$conf['links'] = array();
197
198// random_index_redirect: list of 'internal' links to use when no section is defined on index.php.
199// An example is the best than a long explanation :
200//
201//  for each link is associated a php condition
202//  '' condition is equivalent to 'return true;'
203//  $conf['random_index_redirect'] = array(
204//    PHPWG_ROOT_PATH.'index.php?/best_rated' => 'return true;',
205//    PHPWG_ROOT_PATH.'index.php?/recent_pics' => 'return is_a_guest();',
206//    PHPWG_ROOT_PATH.'random.php' => '',
207//    PHPWG_ROOT_PATH.'index.php?/categories' => '',
208//    );
209$conf['random_index_redirect'] = array();
210
211// List of notes to display on all header page
212// example $conf['header_notes']  = array('Test', 'Hello');
213$conf['header_notes']  = array();
214
215// show_thumbnail_caption : on thumbnails page, show thumbnail captions ?
216$conf['show_thumbnail_caption'] = true;
217
218// show_picture_name_on_title : on picture presentation page, show picture
219// name ?
220$conf['show_picture_name_on_title'] = true;
221
222// display_fromto: in subcatify mode, display the date creation bounds of a
223// category.
224$conf['display_fromto'] = false;
225
226// allow_random_representative : do you wish PhpWebGallery to search among
227// categories elements a new representative at each reload ?
228//
229// If false, an element is randomly or manually chosen to represent its
230// category and remains the representative as long as an admin does not
231// change it.
232//
233// Warning : setting this parameter to true is CPU consuming. Each time you
234// change the value of this parameter from false to true, an administrator
235// must update categories informations in screen [Admin > General >
236// Maintenance].
237$conf['allow_random_representative'] = false;
238
239// allow_html_descriptions : authorize administrators to use HTML in
240// category and element description.
241$conf['allow_html_descriptions'] = true;
242
243// prefix_thumbnail : string before filename. Thumbnail's prefix must only
244// contain characters among : a to z (case insensitive), "-" or "_".
245$conf['prefix_thumbnail'] = 'TN-';
246
247// users_page: how many users to display in screen
248// Administration>Identification>Users?
249$conf['users_page'] = 20;
250
251// image level permissions available in the admin interface
252$conf['available_permission_levels'] = array(0,1,2,4,8);
253
254// mail_options: only set it true if you have a send mail warning with
255// "options" parameter missing on mail() function execution.
256$conf['mail_options'] = false;
257
258// send_bcc_mail_webmaster: send bcc mail to webmaster. Set true for debug
259// or test.
260$conf['send_bcc_mail_webmaster'] = false;
261
262// default_email_format:
263//  Define the default email format use to send email
264//  Value could be text/plain  or text/html
265$conf['default_email_format'] = 'text/html';
266
267// define the name of sender mail:
268// If value is empty, gallery title is used
269$conf['mail_sender_name'] = '';
270
271// smtp configuration
272// (work if fsockopen function is allowed for smtp port)
273// smtp_host: smtp server host
274//  if null, regular mail function is used
275//   format: hoststring[:port]
276//   exemple: smtp.pwg.net:21
277// smtp_user/smtp_password: user & password for smtp identication
278$conf['smtp_host'] = '';
279$conf['smtp_user'] = '';
280$conf['smtp_password'] = '';
281
282
283// check_upgrade_feed: check if there are database upgrade required. Set to
284// true, a message will strongly encourage you to upgrade your database if
285// needed.
286//
287// This configuration parameter is set to true in BSF branch and to false
288// elsewhere.
289$conf['check_upgrade_feed'] = true;
290
291// rate_items: available rates for a picture
292$conf['rate_items'] = array(0,1,2,3,4,5);
293
294// Define default method to use ('http' or 'html' in order to do redirect)
295$conf['default_redirect_method'] = 'http';
296
297// +-----------------------------------------------------------------------+
298// |                               metadata                                |
299// +-----------------------------------------------------------------------+
300
301// show_iptc: Show IPTC metadata on picture.php if asked by user
302$conf['show_iptc'] = false;
303
304// show_iptc_mapping : is used for showing IPTC metadata on picture.php
305// page. For each key of the array, you need to have the same key in the
306// $lang array. For example, if my first key is 'iptc_keywords' (associated
307// to '2#025') then you need to have $lang['iptc_keywords'] set in
308// language/$user['language']/common.lang.php. If you don't have the lang
309// var set, the key will be simply displayed
310//
311// To know how to associated iptc_field with their meaning, use
312// tools/metadata.php
313$conf['show_iptc_mapping'] = array(
314  'iptc_keywords'        => '2#025',
315  'iptc_caption_writer'  => '2#122',
316  'iptc_byline_title'    => '2#085',
317  'iptc_caption'         => '2#120'
318  );
319
320// use_iptc: Use IPTC data during database synchronization with files
321// metadata
322$conf['use_iptc'] = false;
323
324// use_iptc_mapping : in which IPTC fields will PhpWebGallery find image
325// information ? This setting is used during metadata synchronisation. It
326// associates a phpwebgallery_images column name to a IPTC key
327$conf['use_iptc_mapping'] = array(
328  'keywords'        => '2#025',
329  'date_creation'   => '2#055',
330  'author'          => '2#122',
331  'name'            => '2#005',
332  'comment'         => '2#120'
333  );
334
335// show_exif: Show EXIF metadata on picture.php (table or line presentation
336// avalaible)
337$conf['show_exif'] = true;
338
339// show_exif_fields : in EXIF fields, you can choose to display fields in
340// sub-arrays, for example ['COMPUTED']['ApertureFNumber']. for this, add
341// 'COMPUTED;ApertureFNumber' in $conf['show_exif_fields']
342//
343// The key displayed in picture.php will be $lang['exif_field_Make'] for
344// example and if it exists. For compound fields, only take into account the
345// last part : for key 'COMPUTED;ApertureFNumber', you need
346// $lang['exif_field_ApertureFNumber']
347//
348// for PHP version newer than 4.1.2 :
349// $conf['show_exif_fields'] = array('CameraMake','CameraModel','DateTime');
350//
351$conf['show_exif_fields'] = array(
352  'Make',
353  'Model',
354  'DateTimeOriginal',
355  'COMPUTED;ApertureFNumber'
356  );
357
358// use_exif: Use EXIF data during database synchronization with files
359// metadata
360$conf['use_exif'] = true;
361
362// use_exif_mapping: same behaviour as use_iptc_mapping
363$conf['use_exif_mapping'] = array(
364  'date_creation' => 'DateTimeOriginal'
365  );
366
367// +-----------------------------------------------------------------------+
368// |                               sessions                                |
369// +-----------------------------------------------------------------------+
370
371// session_use_cookies: specifies to use cookie to store
372// the session id on client side
373$conf['session_use_cookies'] = true;
374
375// session_use_only_cookies: specifies to only use cookie to store
376// the session id on client side
377$conf['session_use_only_cookies'] = true;
378
379// session_use_trans_sid: do not use transparent session id support
380$conf['session_use_trans_sid'] = false;
381
382// session_name: specifies the name of the session which is used as cookie name
383$conf['session_name'] = 'pwg_id';
384
385// session_save_handler: comment the line below
386// to use file handler for sessions.
387$conf['session_save_handler'] = 'db';
388
389// authorize_remembering : permits user to stay logged for a long time. It
390// creates a cookie on client side.
391$conf['authorize_remembering'] = true;
392
393// remember_me_name: specifies the name of the cookie used to stay logged
394$conf['remember_me_name'] = 'pwg_remember';
395
396// remember_me_length : time of validity for "remember me" cookies, in
397// seconds.
398$conf['remember_me_length'] = 5184000;
399
400// session_length : time of validity for normal session, in seconds.
401$conf['session_length'] = 3600;
402
403// +-----------------------------------------------------------------------+
404// |                                debug                                  |
405// +-----------------------------------------------------------------------+
406
407// show_queries : for debug purpose, show queries and execution times
408$conf['show_queries'] = false;
409
410// show_gt : display generation time at the bottom of each page
411$conf['show_gt'] = true;
412
413// debug_l10n : display a warning message each time an unset language key is
414// accessed
415$conf['debug_l10n'] = false;
416
417// activate template debugging - a new window will appear
418$conf['debug_template'] = false;
419
420// die_on_sql_error: if an SQL query fails, should everything stop?
421$conf['die_on_sql_error'] = true;
422
423// +-----------------------------------------------------------------------+
424// |                            authentication                             |
425// +-----------------------------------------------------------------------+
426
427// apache_authentication : use Apache authentication as reference instead of
428// users table ?
429$conf['apache_authentication'] = false;
430
431// users_table: which table is the reference for users? Can be a different
432// table than PhpWebGallery table
433//
434// If you decide to use another table than the default one, you need to
435// prepare your database by deleting some datas :
436//
437// delete from phpwebgallery_user_access;
438// delete from phpwebgallery_user_cache;
439// delete from phpwebgallery_user_feed;
440// delete from phpwebgallery_user_group;
441// delete from phpwebgallery_user_infos;
442// delete from phpwebgallery_sessions;
443// delete from phpwebgallery_rate;
444// update phpwebgallery_images set average_rate = NULL;
445// delete from phpwebgallery_caddie;
446// delete from phpwebgallery_favorites;
447//
448// All informations contained in these tables and column are related to
449// phpwebgallery_users table.
450$conf['users_table'] = $prefixeTable.'users';
451
452// Other tables can be changed, if you define associated constants
453// Example:
454//   define('USER_INFOS_TABLE', 'pwg_main'.'user_infos');
455
456
457// user_fields : mapping between generic field names and table specific
458// field names. For example, in PWG, the mail address is names
459// "mail_address" and in punbb, it's called "email".
460$conf['user_fields'] = array(
461  'id' => 'id',
462  'username' => 'username',
463  'password' => 'password',
464  'email' => 'mail_address'
465  );
466
467// pass_convert : function to crypt or hash the clear user password to store
468// it in the database
469$conf['pass_convert'] = create_function('$s', 'return md5($s);');
470
471// guest_id : id of the anonymous user
472$conf['guest_id'] = 2;
473// default_user_id : id of user used for default value
474$conf['default_user_id'] = $conf['guest_id'];
475
476// webmaster_id : webmaster'id.
477$conf['webmaster_id'] = 1;
478
479// allow to use adviser mode
480$conf['allow_adviser'] = false;
481
482// does the guest have access ?
483// (not a security feature, set your categories "private" too)
484// If false it'll be redirected from index.php to identification.php
485$conf['guest_access'] = true;
486
487// +-----------------------------------------------------------------------+
488// |                                upload                                 |
489// +-----------------------------------------------------------------------+
490
491// upload_maxfilesize: maximum filesize for the uploaded pictures. In
492// kilobytes.
493$conf['upload_maxfilesize'] = 200;
494
495// upload_maxheight: maximum height authorized for the uploaded images. In
496// pixels.
497$conf['upload_maxheight'] = 800;
498
499// upload_maxwidth: maximum width authorized for the uploaded images. In
500// pixels.
501$conf['upload_maxwidth'] = 800;
502
503// upload_maxheight_thumbnail: maximum height authorized for the uploaded
504// thumbnails
505$conf['upload_maxheight_thumbnail'] = 128;
506
507// upload_maxwidth_thumbnail: maximum width authorized for the uploaded
508// thumbnails
509$conf['upload_maxwidth_thumbnail'] = 128;
510
511// +-----------------------------------------------------------------------+
512// |                               history                                 |
513// +-----------------------------------------------------------------------+
514
515// nb_logs_page :  how many logs to display on a page
516$conf['nb_logs_page'] = 300;
517
518// +-----------------------------------------------------------------------+
519// |                                 urls                                  |
520// +-----------------------------------------------------------------------+
521
522// question_mark_in_urls : the generated urls contain a ? sign. This can be
523// changed to false only if the server translates PATH_INFO variable
524// (depends on the server AcceptPathInfo directive configuration)
525$conf['question_mark_in_urls'] = true;
526
527// php_extension_in_urls : if true, the urls generated for picture and
528// category will not contain the .php extension. This will work only if
529// .htaccess defines Options +MultiViews parameter or url rewriting rules
530// are active.
531$conf['php_extension_in_urls'] = true;
532
533// category_url_style : one of 'id' (default) or 'id-name'. 'id-name'
534// means that an simplified ascii represntation of the category name will
535// appear in the url
536$conf['category_url_style'] = 'id';
537
538// picture_url_style : one of 'id' (default), 'id-file' or 'file'. 'id-file'
539// or 'file' mean that the file name (without extension will appear in the
540// url). Note that one aditionnal sql query will occur if 'file' is choosen.
541// Note that you might experience navigation issues if you choose 'file'
542// and your file names are not unique
543$conf['picture_url_style'] = 'id';
544
545// tag_url_style : one of 'id-tag' (default), 'id' or 'tag'.
546// Note that if you choose 'tag' and the url (ascii) representation of your
547// tags is not unique, all tags with the same url representation will be shown
548$conf['tag_url_style'] = 'id-tag';
549
550// +-----------------------------------------------------------------------+
551// |                                 tags                                  |
552// +-----------------------------------------------------------------------+
553
554// full_tag_cloud_items_number: number of tags to show in the full tag
555// cloud. Only the most represented tags will be shown
556$conf['full_tag_cloud_items_number'] = 200;
557
558// menubar_tag_cloud_items_number: number of tags to show in the tag
559// cloud in the menubar. Only the most represented tags will be shown
560$conf['menubar_tag_cloud_items_number'] = 100;
561
562// content_tag_cloud_items_number: number of tags to show in the tag
563// cloud on the content page. Only the most represented tags will be shown
564$conf['content_tag_cloud_items_number'] = 12;
565
566// tags_levels: number of levels to use for display. Each level is bind to a
567// CSS class tagLevelX.
568$conf['tags_levels'] = 5;
569
570// +-----------------------------------------------------------------------+
571// | Notification by mail                                                  |
572// +-----------------------------------------------------------------------+
573
574// Default Value for nbm user
575$conf['nbm_default_value_user_enabled'] = false;
576
577// Search list user to send quickly (List all without to check news)
578// More quickly but less fun to use
579$conf['nbm_list_all_enabled_users_to_send'] = false;
580
581// Max time used on one pass in order to send mails.
582// Timeout delay ratio.
583$conf['nbm_max_treatment_timeout_percent'] = 0.8;
584
585// If timeout cannot be compite with nbm_max_treatment_timeout_percent,
586// nbm_treatment_timeout_default is used by default
587$conf['nbm_treatment_timeout_default'] = 20;
588
589// Parameters used in get_recent_post_dates for the 2 kind of notification
590$conf['recent_post_dates'] = array(
591  'RSS' => array('max_dates' => 5, 'max_elements' => 6, 'max_cats' => 6),
592  'NBM' => array('max_dates' => 7, 'max_elements' => 3, 'max_cats' => 9)
593  );
594
595// +-----------------------------------------------------------------------+
596// | Set admin layout                                                      |
597// +-----------------------------------------------------------------------+
598
599$conf['admin_layout'] = 'yoga/admin';
600
601// should we load the active plugins ? true=Yes, false=No
602$conf['enable_plugins']=true;
603
604// Web services are allowed (true) or completely forbidden (false)
605$conf['allow_web_services'] = true;
606
607// Maximum number of images to be returned foreach call to the web service
608$conf['ws_max_images_per_page'] = 500;
609
610// On Access control false / Admim Web Service need Php cURL extension
611// Controls are done on public basis or
612// if connected on member authorization basis
613$conf['ws_access_control'] = false;
614
615// Additionnal controls are made based on Web Service Access Table
616// Max returned rows number ( > 0 )
617$conf['ws_allowed_limit'] = array(1,2,3,5,10,25);
618
619// By default can be delayed by 0, 1, 2, 3, 5, 7, 14 or 30 days
620// 0 it's Now(), don't remove that one
621$conf['ws_postponed_start'] = array(0,1,2,3,5,7,14,30); /* In days */
622
623// By default 10, 5, 2, 1 year(s) or 6, 3, 1 month(s)
624// or 15, 10, 7, 5, 1, 0 day(s)
625// 0 it's temporary closed (Useful for one access)
626$conf['ws_durations'] = array(3650,1825,730,365,182,91,30,15,10,7,5,1,0);
627
628// +-----------------------------------------------------------------------+
629// | Filter                                                                |
630// +-----------------------------------------------------------------------+
631// $conf['filter_pages'] contains configuration for each pages
632//   o If values are not defined for a specific page, default value are used
633//   o Array is composed by the basename of each page without extention
634//   o List of value names:
635//     - used: filter function are used
636//       (if false nothing is done [start, cancel, stop, ...]
637//     - cancel: cancel current started filter
638//     - add_notes: add notes about current started filter on the header
639//   o Empty configuration in order to disable completely filter functions
640//     No filter, No icon,...
641//     $conf['filter_pages'] = array();
642$conf['filter_pages'] = array
643  (
644    // Default page
645    'default' => array(
646      'used' => true, 'cancel' => false, 'add_notes' => false),
647    // Real pages
648    'index' => array('add_notes' => true),
649    'tags' => array('add_notes' => true),
650    'search' => array('add_notes' => true),
651    'comments' => array('add_notes' => true),
652    'admin' => array('used' => false),
653    'feed' => array('used' => false),
654    'notification' => array('used' => false),
655    'nbm' => array('used' => false),
656    'popuphelp' => array('used' => false),
657    'profile' => array('used' => false),
658    'web_service' => array('used' => false),
659    'ws' => array('used' => false),
660    'identification' => array('cancel' => true),
661    'install' => array('cancel' => true),
662    'password' => array('cancel' => true),
663    'register' => array('cancel' => true),
664    'upgrade_feed' => array('cancel' => true),
665  );
666
667// +-----------------------------------------------------------------------+
668// | Slideshow                                                             |
669// +-----------------------------------------------------------------------+
670// slideshow_period : waiting time in seconds before loading a new page
671// during automated slideshow
672// slideshow_period_min, slideshow_period_max are bounds of slideshow_period
673// slideshow_period_step is the step of navigation between min and max
674$conf['slideshow_period_min'] = 1;
675$conf['slideshow_period_max'] = 10;
676$conf['slideshow_period_step'] = 1;
677$conf['slideshow_period'] = 4;
678
679// slideshow_repeat : slideshow loops on pictures
680$conf['slideshow_repeat'] = true;
681
682// $conf['light_slideshow'] indicates to use slideshow.tpl in state of
683// picture.tpl for slideshow
684// Take care to have slideshow.tpl in all available templates
685// Or set it false.
686// Check if Picture's plugins are compliant with it
687// Every plugin from 1.7 would be design to manage light_slideshow case.
688$conf['light_slideshow'] = true;
689
690// the local data directory is used to store data such as compiled templates
691// or other plugin variables etc
692$conf['local_data_dir'] = dirname(dirname(__FILE__)).'/_data';
693?>
Note: See TracBrowser for help on using the repository browser.