#*
 * Aipo is a groupware program developed by Aimluck,Inc.
 * Copyright (C) 2004-2011 Aimluck,Inc.
 * http://www.aipo.com
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *#

#set($schedulescreen = "ScheduleScreen")
#set($tabs = [["個人・1日", "oneday","$!jslink.getPortletById($!portlet.ID).addQueryData('template','ScheduleScreen').addQueryData('tab','oneday')"], ["個人・週間", "weekly", "$!jslink.getPortletById($!portlet.ID).addQueryData('template','ScheduleScreen').addQueryData('tab','weekly')"], ["個人・月間", "monthly", "$!jslink.getPortletById($!portlet.ID).addQueryData('template','ScheduleScreen').addQueryData('tab','monthly')"], ["グループ・1日", "oneday-group","$!jslink.getPortletById($!portlet.ID).addQueryData('template','ScheduleScreen').addQueryData('tab','oneday-group')"], ["グループ・週間", "weekly-group", "$!jslink.getPortletById($!portlet.ID).addQueryData('template','ScheduleScreen').addQueryData('tab','weekly-group')"]])

#ALspacebothheader()
## One day
#if ($!result.Viewtype == "calendar")
#parse("/portlets/html/ja/schedule-calendar.vm")
#end
## One day
#if ($!result.Viewtype == "oneday")
#parse("/portlets/html/ja/schedule-oneday.vm")
#end
## Weekly
#if ($!result.Viewtype == "weekly")
#parse("/portlets/html/ja/schedule-weekly.vm")
#end
## Monthly
#if ($!result.Viewtype == "monthly")
#parse("/portlets/html/ja/schedule-monthly.vm")
#end
## One day
#if ($!result.Viewtype == "oneday-group")
#parse("/portlets/html/ja/schedule-oneday-group.vm")
#end
## Weekly
#if ($!result.Viewtype == "weekly-group")
#parse("/portlets/html/ja/schedule-weekly-group.vm")
#end
#ALspacebothfooter()

