#*
 * Aipo is a groupware program developed by Aimluck,Inc.
 * Copyright (C) 2004-2008 Aimluck,Inc.
 * http://aipostyle.com/
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU 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 General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 *#
## ---------------------------------------------------------------------------
#set($tabs = [["接続設定","connect","$!jslink.getPortletById($!portlet.ID).addQueryData('eventSubmit_doWebmail_mailaccount_detail','1').addQueryData('Template','WebMailAdminDetailScreen')"],["メール通知設定","mailarrert","$!jslink.getPortletById($!portlet.ID).addQueryData('eventSubmit_doWebmail_mailaccount_detail_option','1').addQueryData('Template','WebMailAdminSettingsScreen')"]])
## ---------------------------------------------------------------------------
#ALajaxtabheader($tabs "mailarrert")
#ALspacebothheader()
<div style="padding:0px 0px 5px 0px">
メール通知の可否を設定します。
</div>
#ALformheader('メールアカウント' $jslink $portlet)
#ALtableheaderWide()
#ALtdcaption("他人からのスケジュール追加")

#set($cel = "通知しない")
#set($pc = "通知しない")
#if($result.Detail.MsgTypeSchedule.toString() == "3") #set($pc = "通知する") #set($cel = "通知する")
#elseif($result.Detail.MsgTypeSchedule.toString() == "2") #set($cel = "通知する")
#elseif($result.Detail.MsgTypeSchedule.toString() == "1") #set($pc = "通知する")#end
<td class="item">
パソコン:$pc
</td>
<td class="item">
携帯電話:$cel
</td>
#ALtdcaption("ワークフロー申請")
#set($cel = "通知しない")
#set($pc = "通知しない")
#if($result.Detail.MsgTypeWorkflow.toString() == "3") #set($pc = "通知する") #set($cel = "通知する")
#elseif($result.Detail.MsgTypeWorkflow.toString() == "2") #set($cel = "通知する")
#elseif($result.Detail.MsgTypeWorkflow.toString() == "1") #set($pc = "通知する")#end
<td class="item">
パソコン:$pc
</td>
<td class="item">
携帯電話:$cel
</td>
#ALtablefooter()
#ALbuttonheader()
#ALajaxbuttonEdit("$!jslink.getPortletById($!portlet.ID).addQueryData('template','WebMailAdminSettingsFormScreen').addQueryData('entityid', 'edit')")
#ALbuttonfooter()
#ALformfooter()
#ALspacebothfooter()
#ALajaxtabfooter()
