From 18ca5a6e516c014d75214ff4a4045d680bd629f6 Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 17 Oct 2024 14:46:30 -0600 Subject: [PATCH] Calendar: Use Et2SwitchIcon for weekend toggle --- calendar/inc/class.calendar_uiviews.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/calendar/inc/class.calendar_uiviews.inc.php b/calendar/inc/class.calendar_uiviews.inc.php index 5f0d71409d..bd4b25770c 100644 --- a/calendar/inc/class.calendar_uiviews.inc.php +++ b/calendar/inc/class.calendar_uiviews.inc.php @@ -326,14 +326,13 @@ class calendar_uiviews extends calendar_ui ), 'weekend' => array( 'caption' => 'Weekend', - 'icon' => '7_day_view', 'checkbox' => true, 'checked' => is_array($this->cal_prefs['saved_states']) ? $this->cal_prefs['saved_states']['weekend']:false, 'group' => $group, 'onExecute' => 'javaScript:app.calendar.toolbar_action', 'hint' => 'Toggle weekend', 'toolbarDefault' => false, - 'data' => array('toggle_off' => '5', 'toggle_on' => '7') + 'data' => array('onIcon' => '7-square', 'offIcon' => '5-square'), ), 'previous' => array( 'caption' => 'Previous',