[ Index ] |
|
Code source de Claroline 188 |
1 <?php // $Id: CLRSS.def.conf.inc.php,v 1.16 2006/12/05 14:43:04 mathieu Exp $ 2 if ( count( get_included_files() ) == 1 ) die( '---' ); 3 /** 4 * CLAROLINE 5 * 6 * This file describe the parameter for user tool 7 * 8 * @version 1.8 $Revision: 1.16 $ 9 * 10 * @copyright 2001-2006 Universite catholique de Louvain (UCL) 11 * 12 * @license http://www.gnu.org/copyleft/gpl.html (GPL) GENERAL PUBLIC LICENSE 13 * 14 * @see http://www.claroline.net/wiki/index.php/Config 15 * 16 * @author Claro Team <cvs@claroline.net> 17 * 18 * @package CLRSS 19 * 20 */ 21 // TOOL 22 $conf_def['config_code'] = 'CLRSS'; 23 $conf_def['config_file'] = 'rss.conf.php'; 24 $conf_def['config_name'] = 'Rss (read and write) tool'; 25 $conf_def['config_class'] = 'kernel'; 26 27 //SECTION 28 $conf_def['section']['main']['label']='Main settings'; 29 $conf_def['section']['main']['properties'] = 30 array ( 'enableRssInCourse' 31 , 'rssRepositoryCache' 32 , 'rssUseCache' 33 , 'rssCacheLifeTime' 34 ); 35 36 //PROPERTIES 37 38 $conf_def_property_list['enableRssInCourse'] = 39 array ('label' => 'Enable RSS in course' 40 , 'description' => '' 41 ,'default' => TRUE 42 ,'type' => 'boolean' 43 , 'readonly' => FALSE 44 , 'acceptedValue' => array('TRUE'=>'Yes', 'FALSE' => 'No') 45 46 ); 47 48 $conf_def_property_list['rssRepositoryCache'] = 49 array ('label' => 'Repository for cache files' 50 , 'description' => 'Note : this repository should be protected with a .htaccess or 51 be placed outside the web. Because there contain data of private courses.' 52 ,'default' => 'tmp/cache/rss/' 53 ,'type' => 'relpath' 54 ); 55 56 $conf_def_property_list['rssUseCache'] = 57 array ( 58 'label' => 'Use the cache' 59 , 'description' => 'File are always created in cache, but if this value is true feed file in cache arent rebuilt on request if exiting in cache.' 60 , 'default' => TRUE 61 ,'type' => 'boolean' 62 , 'readonly' => FALSE 63 , 'acceptedValue' => array('TRUE'=>'Use it, and build on change', 'FALSE' => 'rebuild file on each request') 64 , 'oldName' => 'use_rss_cache' 65 ); 66 67 $conf_def_property_list['rssCacheLifeTime'] = 68 array ( 69 'label' => 'Life time of cache' 70 , 'description' => 'Time before really compute data. 86400 = 1 day.' 71 , 'default' => '86400' 72 , 'type' => 'integer' 73 , 'unit' => 'seconds' 74 , 'display' => true 75 , 'readonly' => FALSE 76 , 'acceptedValue' => array('min'=> '360', 'max' => '8640000') 77 , 'oldName' => 'use_rss_cache' 78 ); 79 80 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Thu Nov 29 14:38:42 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |