definition.php 1.2 KB

123456789101112131415161718192021222324
  1. <?php
  2. $sloodleconfig = new SloodleObjectConfig();
  3. $sloodleconfig->primname = 'SLOODLE WebIntercom';
  4. $sloodleconfig->module = 'chat';
  5. $sloodleconfig->module_choice_message = 'selectchatroom';
  6. $sloodleconfig->module_no_choices_message= 'nochatrooms';
  7. $sloodleconfig->group = 'communication';
  8. $sloodleconfig->collections= array('SLOODLE 2.0');
  9. $sloodleconfig->aliases = array('SLOODLE 1.1 WebIntercom');
  10. $sloodleconfig->field_sets = array(
  11. 'generalconfiguration' => array(
  12. 'sloodlelistentoobjects' => new SloodleConfigurationOptionYesNo( 'sloodlelistentoobjects', 'listentoobjects', '', 0 ),
  13. 'sloodleautodeactivate' => new SloodleConfigurationOptionYesNo( 'sloodleautodeactivate', 'allowautodeactivation', '', 1 ),
  14. ),
  15. 'accesslevel' => array(
  16. 'sloodleobjectaccessleveluse' => $sloodleconfig->access_level_object_use_option(),
  17. 'sloodleserveraccesslevel' => $sloodleconfig->access_level_server_option(),
  18. 'sloodleobjectaccesslevelctrl' => $sloodleconfig->access_level_object_control_option(),
  19. )
  20. // 'awards' => $sloodleconfig->awards_setting_options() // Allows you to award points for taking part in a discussion. Not sure if we want to display this or not...
  21. // 'awards' => $sloodleconfig->awards_pay_options()
  22. );
  23. ?>