definition.php 1.1 KB

123456789101112131415161718192021222324252627
  1. <?php
  2. /*
  3. This object sends an instant message to a user when asked to do so by the server.
  4. */
  5. $sloodleconfig = new SloodleObjectConfig();
  6. $sloodleconfig->primname = 'SLOODLE Photo Blogger';
  7. $sloodleconfig->group = 'communication';
  8. $sloodleconfig->collections= array('Avatar Classroom 2.0 Furniture A');
  9. /*
  10. $sloodleconfig->collections= array('SLOODLE 2.0 Disabled');
  11. if (defined('SLOODLE_FREEMAIL_ACTIVATE') && SLOODLE_FREEMAIL_ACTIVATE) {
  12. $sloodleconfig->collections= array('SLOODLE 2.0');
  13. }
  14. */
  15. $sloodleconfig->aliases = array();
  16. $sloodleconfig->notify = array('message_to_user'); // If this happens on the server side, tell me about it.
  17. global $FREEMAIL_SETTINGS;
  18. $blogdefault = '';
  19. if ( isset($FREEMAIL_SETTINGS) && isset($FREEMAIL_SETTINGS->sloodle_freemail_mail_email_address) ) {
  20. $blogdefault = $FREEMAIL_SETTINGS->sloodle_freemail_mail_email_address;
  21. }
  22. $sloodleconfig->field_sets = array(
  23. 'generalconfiguration' => array(
  24. 'sloodleblogaddress' => new SloodleConfigurationOptionText( 'sloodleblogaddress', 'freemail:sloodleblogaddress', '', $blogdefault, 40 ),
  25. )
  26. );