summaryrefslogtreecommitdiffstats
path: root/apps/calendar/index.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2011-09-22 22:22:52 +0200
committerBart Visscher <bartv@thisnet.nl>2011-09-23 19:40:06 +0200
commite9950defb240dfe19a22cf1cce34e0fd25e58ee9 (patch)
tree1df2da6edcc6985700085d82f0e9a54533989b46 /apps/calendar/index.php
parent5559a0dedef2ac1f366ca17ddb2286629009ee3c (diff)
downloadnextcloud-server-e9950defb240dfe19a22cf1cce34e0fd25e58ee9.tar.gz
nextcloud-server-e9950defb240dfe19a22cf1cce34e0fd25e58ee9.zip
Make event category choice multiselect
Diffstat (limited to 'apps/calendar/index.php')
-rw-r--r--apps/calendar/index.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/apps/calendar/index.php b/apps/calendar/index.php
index c93ea93bb6c..b4e7d5ff48f 100644
--- a/apps/calendar/index.php
+++ b/apps/calendar/index.php
@@ -17,7 +17,7 @@
* 59 Temple Place, Suite 330, Boston, *
* MA 02111-1307 USA *
*************************************************/
-require_once ("../../lib/base.php");
+require_once ('../../lib/base.php');
OC_Util::checkLoggedIn();
// Create default calendar ...
$calendars = OC_Calendar_Calendar::allCalendars(OC_User::getUser());
@@ -25,8 +25,10 @@ if( count($calendars) == 0){
OC_Calendar_Calendar::addCalendar(OC_User::getUser(),'default','Default calendar');
$calendars = OC_Calendar_Calendar::allCalendars(OC_User::getUser());
}
-OC_UTIL::addScript("calendar", "calendar");
-OC_UTIL::addStyle("calendar", "style");
-OC_APP::setActiveNavigationEntry("calendar_index");
-$output = new OC_TEMPLATE("calendar", "calendar", "user");
+OC_UTIL::addScript('calendar', 'calendar');
+OC_UTIL::addStyle('calendar', 'style');
+OC_UTIL::addScript('', 'jquery.multiselect');
+OC_UTIL::addStyle('', 'jquery.multiselect');
+OC_APP::setActiveNavigationEntry('calendar_index');
+$output = new OC_TEMPLATE('calendar', 'calendar', 'user');
$output -> printPage();