[ Index ]
 

Code source de Claroline 188

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/claroline/inc/conf/def/ -> CLLINKER.def.conf.inc.php (source)

   1  <?php // $Id: CLLINKER.def.conf.inc.php,v 1.11 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.11 $
   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 CLUSR
  19   *
  20   */
  21  
  22  // TOOL
  23  $conf_def['config_code'] = 'CLLINKER';
  24  $conf_def['config_file'] = 'linker.conf.php';
  25  $conf_def['config_name'] = 'Linker tool';
  26  $conf_def['config_class']='kernel';
  27  
  28  
  29  //SECTION
  30  $conf_def['section']['main']['label']='Main settings';
  31  
  32  //$conf_def['section']['main']['description']='Settings of the tool';
  33  $conf_def['section']['main']['properties'] =
  34  array ( 'jpspanAllowed'
  35        , 'otherCoursesAllowed'
  36        , 'publicCoursesAllowed'
  37        , 'externalLinkAllowed'
  38        , 'groupAllowed'
  39        , 'toolGroupAllowed'
  40        );
  41  
  42  //PROPERTIES
  43  
  44  $conf_def_property_list['jpspanAllowed'] =
  45  array ('label'         => 'Activate Jpspan'
  46        ,'description'   => 'Use Jpspan mode for the resource linking utility. Warning : Jpspan does not work on IIS web servers.'
  47        ,'default'       => TRUE
  48        ,'type'          => 'boolean'
  49        ,'acceptedValue' => array ('TRUE'  => 'Yes'
  50                                  ,'FALSE' => 'No'
  51                                  )
  52        );
  53  
  54  $conf_def_property_list['otherCoursesAllowed'] =
  55  array ('label'         => 'Allow other course resource linking'
  56        ,'description'   => 'Allow a course manager to browse and link resources in its other courses'
  57        ,'default'       => TRUE
  58        ,'type'          => 'boolean'
  59        ,'acceptedValue' => array ('TRUE'  => 'Yes'
  60                                  ,'FALSE' => 'No'
  61                                  )
  62        );
  63  
  64  $conf_def_property_list['publicCoursesAllowed'] =
  65  array ('label'         => 'Allow public course resource linking'
  66        ,'description'   => 'Allow a course manager to browse and link resources in any public course'
  67        ,'default'       => TRUE
  68        ,'type'          => 'boolean'
  69        ,'acceptedValue' => array ('TRUE'  => 'Yes'
  70                                  ,'FALSE' => 'No'
  71                                  )
  72        );
  73  
  74  $conf_def_property_list['externalLinkAllowed'] =
  75  array ('label'         => 'Allow external resource linking'
  76        ,'description'   => 'Allow a course manager to browse and link external resources reachable by an url'
  77        ,'default'       => TRUE
  78        ,'type'          => 'boolean'
  79        ,'acceptedValue' => array ('TRUE'  => 'Yes'
  80                                  ,'FALSE' => 'No'
  81                                  )
  82        );
  83  
  84  $conf_def_property_list['groupAllowed'] =
  85  array ('label'         => 'Show groups in resource browser'
  86        // ,'description'   => 'Allow a course manager to browse groups'
  87        ,'default'       => TRUE
  88        ,'type'          => 'boolean'
  89        ,'acceptedValue' => array ('TRUE'  => 'Yes'
  90                                  ,'FALSE' => 'No'
  91                                  )
  92        );
  93  
  94  $conf_def_property_list['toolGroupAllowed'] =
  95  array ('label'         => 'Allow group resource linking'
  96        ,'description'   => 'Allow a course manager to browse and link resources located in a group space and in group tools'
  97        ,'default'       => TRUE
  98        ,'type'          => 'boolean'
  99        ,'acceptedValue' => array ('TRUE'  => 'Yes'
 100                                  ,'FALSE' => 'No'
 101                                  )
 102        );
 103  
 104  ?>


Généré le : Thu Nov 29 14:38:42 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics