Ignore:
Timestamp:
Sep 11, 2007, 4:24:51 AM (17 years ago)
Author:
rvelices
Message:

feature 731: permissions at image level

  • this is the first version - I wait for feedback before changing help files
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/config_default.inc.php

    r2029 r2084  
    169169//
    170170// Advenced use:
    171 //  You can also used special options. Instead to pass a string like parameter value 
     171//  You can also used special options. Instead to pass a string like parameter value
    172172//  you can pass a array with different optional parameter values
    173173//  $conf['links'] = array(
     
    175175//    'http://forum.phpwebgallery.net' => array('label' => 'For ADMIN', 'new_window' => true, 'eval_visible' => 'return is_admin();'),
    176176//    'http://phpwebgallery.net/doc' => array('label' => 'For Guest', 'new_window' => true, 'eval_visible' => 'return is_a_guest();'),
    177 //    'http://download.gna.org/phpwebgallery/' => 
    178 //      array('label' => 'PopUp', 'new_window' => true, 
     177//    'http://download.gna.org/phpwebgallery/' =>
     178//      array('label' => 'PopUp', 'new_window' => true,
    179179//      'nw_name' => 'PopUp', 'nw_features' => 'width=800,height=450,location=no,status=no,toolbar=no,scrollbars=no,menubar=no'),
    180180//    );
     
    264264$conf['users_page'] = 20;
    265265
     266// image level permissions available in the admin interface
     267$conf['available_permission_levels'] = array(0,1,2,4,8);
     268
    266269// mail_options: only set it true if you have a send mail warning with
    267270// "options" parameter missing on mail() function execution.
     
    615618
    616619// On Access control false / Admim Web Service need Php cURL extension
    617 // Controls are done on public basis or 
     620// Controls are done on public basis or
    618621// if connected on member authorization basis
    619622$conf['ws_access_control'] = false;
    620  
    621 // On Access control true 
     623
     624// On Access control true
    622625// Additionnal controls are made based on Web Service Access Table
    623626
     
    629632  $conf['ws_postponed_start'] = array(0,1,2,3,5,7,14,30); /* In days */
    630633
    631 // By default 10, 5, 2, 1 year(s) or 6, 3, 1 month(s) 
     634// By default 10, 5, 2, 1 year(s) or 6, 3, 1 month(s)
    632635// or 15, 10, 7, 5, 1, 0 day(s)
    633636// 0 it's temporary closed (Useful for one access)
    634   $conf['ws_durations'] = array(3650,1825,730,365,182,91,30,15,10,7,5,1,0); 
     637  $conf['ws_durations'] = array(3650,1825,730,365,182,91,30,15,10,7,5,1,0);
    635638
    636639// +-----------------------------------------------------------------------+
     
    676679// | Light slideshow                                                       |
    677680// +-----------------------------------------------------------------------+
    678 // $conf['light_slideshow'] indicates to use slideshow.tpl in state of 
     681// $conf['light_slideshow'] indicates to use slideshow.tpl in state of
    679682// picture.tpl for slideshow
    680683// Take care to have slideshow.tpl in all available templates
     
    682685// Check if Picture's plugins are compliant with it
    683686// Every plugin from 1.7 would be design to manage light_slideshow case.
    684 $conf['light_slideshow'] = true; 
     687$conf['light_slideshow'] = true;
    685688
    686689?>
Note: See TracChangeset for help on using the changeset viewer.