diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-01-19 21:00:19 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-01-19 21:00:19 +0100 |
commit | ccad24a925b2e610881fceba9fb550f91da24162 (patch) | |
tree | a23b9eed4a9b59395375e2d42d6c38b8ffed04d5 /apps/calendar/templates/calendar.php | |
parent | 838766add085abab914bb405903ced35baddbb74 (diff) | |
download | nextcloud-server-ccad24a925b2e610881fceba9fb550f91da24162.tar.gz nextcloud-server-ccad24a925b2e610881fceba9fb550f91da24162.zip |
[Calendar] Use class for active view button
Diffstat (limited to 'apps/calendar/templates/calendar.php')
-rwxr-xr-x | apps/calendar/templates/calendar.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/apps/calendar/templates/calendar.php b/apps/calendar/templates/calendar.php index 929f5b72f96..2d5cdea4d74 100755 --- a/apps/calendar/templates/calendar.php +++ b/apps/calendar/templates/calendar.php @@ -28,20 +28,6 @@ echo '$(\'#calendar_holder\').fullCalendar(\'gotoDate\', ' . $year . ', ' . --$month . ', ' . $day . ');'; echo '$(\'#dialog_holder\').load(OC.filePath(\'calendar\', \'ajax\', \'editeventform.php\') + \'?id=\' + ' . $_['showevent'] . ' , Calendar.UI.startEventDialog);'; } - - switch(OC_Preferences::getValue(OC_USER::getUser(), 'calendar', 'currentview', 'month')){ - case 'agendaWeek': - echo '$(\'#oneweekview_radio\').css(\'color\', \'#6193CF\');'; - break; - case 'month': - echo '$(\'#onemonthview_radio\').css(\'color\', \'#6193CF\');'; - break; - case 'list': - echo '$(\'#listview_radio\').css(\'color\', \'#6193CF\');'; - break; - default: - break; - } ?> }); </script> |