#If you want to modify options you have to modify the template in /etc/e-smith/templates/opt/roundcube/config/main.inc.php/20plugin

#Please add all plugins you want to activate in the command line below : $rcmail_config['plugins'] = array('plugin1','plugin2','plugin3');
#where "plugin*" is a valid name of plugin and a valid folder name in /opt/roundcube/plugins

#Here we declare our activated plugins
$rcmail_config['plugins'] = array('carddav','calendar','libcalendaring','contextmenu','markasjunk2','vcard_attachments','newmail_notifier',"emoticons");


#calendar plugin option
// backend type (database, google, kolab)
$rcmail_config['calendar_driver'] = "database";

// default calendar view (agendaDay, agendaWeek, month)
$rcmail_config['calendar_default_view'] = "month";

// mapping of Roundcube date formats to calendar formats (long/short/agenda)
// should be in sync with 'date_formats' in main config
$rcmail_config['calendar_date_format_sets'] = array(
  'yyyy-MM-dd' => array('MMM d yyyy',   'M-d',  'ddd MM-dd'),
  'dd-MM-yyyy' => array('d MMM yyyy',   'd-M',  'ddd dd-MM'),
  'yyyy/MM/dd' => array('MMM d yyyy',   'M/d',  'ddd MM/dd'),
  'MM/dd/yyyy' => array('MMM d yyyy',   'M/d',  'ddd MM/dd'),
  'dd/MM/yyyy' => array('d MMM yyyy',   'd/M',  'ddd dd/MM'),
  'dd.MM.yyyy' => array('dd. MMM yyyy', 'd.M',  'ddd dd.MM.'),
  'd.M.yyyy'   => array('d. MMM yyyy',  'd.M',  'ddd d.MM.'),
);

// general date format (only set if different from default date format and not user configurable)
// $rcmail_config['calendar_date_format'] = "yyyy-MM-dd";

// time format  (only set if different from default date format)
// $rcmail_config['calendar_time_format'] = "HH:mm";

// short date format (used for column titles)
// $rcmail_config['calendar_date_short'] = 'M-d';

// long date format (used for calendar title)
// $rcmail_config['calendar_date_long'] = 'MMM d yyyy';

// date format used for agenda view
// $rcmail_config['calendar_date_agenda'] = 'ddd MM-dd';

// timeslots per hour (1, 2, 3, 4, 6)
$rcmail_config['calendar_timeslots'] = 2;

// show this number of days in agenda view
$rcmail_config['calendar_agenda_range'] = 60;

// first day of the week (0-6)
$rcmail_config['calendar_first_day'] = 1;

// first hour of the calendar (0-23)
$rcmail_config['calendar_first_hour'] = 6;

// working hours begin
$rcmail_config['calendar_work_start'] = 6;

// working hours end
$rcmail_config['calendar_work_end'] = 18;

// show line at current time of the day
$rcmail_config['calendar_time_indicator'] = true;

// default alarm settings for new events.
// this is only a preset when a new event dialog opens
// possible values are <empty>, DISPLAY, EMAIL
$rcmail_config['calendar_default_alarm_type'] = 'DISPLAY';

// default alarm offset for new events.
// use ical-style offset values like "-1H" (one hour before) or "+30M" (30 minutes after)
$rcmail_config['calendar_default_alarm_offset'] = '-15M';

// how to colorize events:
// 0: according to calendar color
// 1: according to category color
// 2: calendar for outer, category for inner color
// 3: category for outer, calendar for inner color
$rcmail_config['calendar_event_coloring'] = 0;

// event categories
$rcmail_config['calendar_categories'] = array(
  'Personal' => 'c0c0c0',
      'Work' => 'ff0000',
    'Family' => '00ff00',
   'Holiday' => 'ff6600',
);

// enable users to invite/edit attendees for shared events organized by others
$rcmail_config['calendar_allow_invite_shared'] = false;

// enable asynchronous free-busy triggering after data changed
$rcmail_config['calendar_freebusy_trigger'] = false;

// SMTP username used to send (anonymous) itip messages
#$rcmail_config['calendar_itip_smtp_server'] = null;

// SMTP username used to send (anonymous) itip messages
#$rcmail_config['calendar_itip_smtp_user'] = 'smtpauth';

// SMTP password used to send (anonymous) itip messages
#$rcmail_config['calendar_itip_smtp_pass'] = '123456';

#New mail notifier plugin
// Enables basic notification
$rcmail_config['newmail_notifier_basic'] = true;

// Enables sound notification
$rcmail_config['newmail_notifier_sound'] = false;

// Enables desktop notification
$rcmail_config['newmail_notifier_desktop'] = false;
###

