mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-16 10:21:23 +01:00
Calendar: Use Et2SwitchIcon for weekend toggle
This commit is contained in:
parent
ce06aa5038
commit
18ca5a6e51
@ -326,14 +326,13 @@ class calendar_uiviews extends calendar_ui
|
|||||||
),
|
),
|
||||||
'weekend' => array(
|
'weekend' => array(
|
||||||
'caption' => 'Weekend',
|
'caption' => 'Weekend',
|
||||||
'icon' => '7_day_view',
|
|
||||||
'checkbox' => true,
|
'checkbox' => true,
|
||||||
'checked' => is_array($this->cal_prefs['saved_states']) ? $this->cal_prefs['saved_states']['weekend']:false,
|
'checked' => is_array($this->cal_prefs['saved_states']) ? $this->cal_prefs['saved_states']['weekend']:false,
|
||||||
'group' => $group,
|
'group' => $group,
|
||||||
'onExecute' => 'javaScript:app.calendar.toolbar_action',
|
'onExecute' => 'javaScript:app.calendar.toolbar_action',
|
||||||
'hint' => 'Toggle weekend',
|
'hint' => 'Toggle weekend',
|
||||||
'toolbarDefault' => false,
|
'toolbarDefault' => false,
|
||||||
'data' => array('toggle_off' => '5', 'toggle_on' => '7')
|
'data' => array('onIcon' => '7-square', 'offIcon' => '5-square'),
|
||||||
),
|
),
|
||||||
'previous' => array(
|
'previous' => array(
|
||||||
'caption' => 'Previous',
|
'caption' => 'Previous',
|
||||||
|
Loading…
Reference in New Issue
Block a user