#*
 * Aipo is a groupware program developed by Aimluck,Inc.
 * Copyright (C) 2004-2010 Aimluck,Inc.
 * http://aipostyle.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($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.MsgTypeBlog.toString() == "3") #set($pc = "通知する") #set($cel = "通知する")
#elseif($result.Detail.MsgTypeBlog.toString() == "2") #set($cel = "通知する")
#elseif($result.Detail.MsgTypeBlog.toString() == "1") #set($pc = "通知する")#end
<td class="item">
パソコン:$pc
</td>
<td class="item">
携帯電話:$cel
</td>
#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>
 #*
#ALtdcaption("通知時刻")
<td class="item" colspan="2">
当日 $!result.Detail.MsgNotifyTimeHour.toString() 時 $!result.Detail.MsgNotifyTimeMinute.toString() 分
</td>
 *#

#ALtablefooter()
#ALbuttonheader()
#ALajaxbuttonEdit("$!jslink.getPortletById($!portlet.ID).addQueryData('template','WebMailAdminSettingsFormScreen').addQueryData('entityid', 'edit')")
#ALbuttonfooter()
#ALformfooter()
#ALspacebothfooter()
#ALajaxtabfooter()
