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

Last change on this file since 1905 was 1905, checked in by rub, 17 years ago

Change the default email format use to send email

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