diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-01 20:03:41 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-01 20:03:41 +0200 |
commit | 1a2bbd2ee49db8ec2c83b87718c943f47f91be28 (patch) | |
tree | c0f4cd83c6864728f4710566b929f48ef3168852 /apps/calendar/index.php | |
parent | 254b8b95065b4e2f27a8d2620f26bef65269957b (diff) | |
download | nextcloud-server-1a2bbd2ee49db8ec2c83b87718c943f47f91be28.tar.gz nextcloud-server-1a2bbd2ee49db8ec2c83b87718c943f47f91be28.zip |
ported addSyript and other small stuff
Diffstat (limited to 'apps/calendar/index.php')
-rwxr-xr-x | apps/calendar/index.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/calendar/index.php b/apps/calendar/index.php index beb6ac0c372..cc6b19a0402 100755 --- a/apps/calendar/index.php +++ b/apps/calendar/index.php @@ -39,19 +39,19 @@ if(OC_Preferences::getValue(OCP\USER::getUser(), 'calendar', 'currentview', 'mon OC_Preferences::setValue(OCP\USER::getUser(), "calendar", "currentview", "list"); } -OC_Util::addScript('3rdparty/fullcalendar', 'fullcalendar'); +OCP\Util::addscript('3rdparty/fullcalendar', 'fullcalendar'); OCP\Util::addStyle('3rdparty/fullcalendar', 'fullcalendar'); -OC_Util::addScript('3rdparty/timepicker', 'jquery.ui.timepicker'); +OCP\Util::addscript('3rdparty/timepicker', 'jquery.ui.timepicker'); OCP\Util::addStyle('3rdparty/timepicker', 'jquery.ui.timepicker'); if(OC_Preferences::getValue(OCP\USER::getUser(), "calendar", "timezone") == null || OC_Preferences::getValue(OCP\USER::getUser(), 'calendar', 'timezonedetection') == 'true'){ - OC_UTIL::addScript('calendar', 'geo'); + OCP\Util::addscript('calendar', 'geo'); } -OC_Util::addScript('calendar', 'calendar'); +OCP\Util::addscript('calendar', 'calendar'); OCP\Util::addStyle('calendar', 'style'); -OC_Util::addScript('', 'jquery.multiselect'); +OCP\Util::addscript('', 'jquery.multiselect'); OCP\Util::addStyle('', 'jquery.multiselect'); -OC_Util::addScript('contacts','jquery.multi-autocomplete'); -OC_Util::addScript('','oc-vcategories'); +OCP\Util::addscript('contacts','jquery.multi-autocomplete'); +OCP\Util::addscript('','oc-vcategories'); OC_App::setActiveNavigationEntry('calendar_index'); $tmpl = new OC_Template('calendar', 'calendar', 'user'); $tmpl->assign('eventSources', $eventSources); |