#*
 * 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/>.
 *#

## ---------------------------------------------------------------------------
#if($!result.currentTab == "receive")
#set($pagetitle = "受信ﾄﾚｲ")
#set($person = "差出人")
#set($person_value = "$!{result.Detail.From}")
#else
#set($pagetitle = "送信ﾄﾚｲ")
#set($person = "宛先")
#set($person_value = "$!{result.Detail.To}")
#end
#set($methodlist = [["ﾒｰﾙ返信", "$!jslink.getPortletById($!portlet.getID()).addQueryData('eventSubmit_doWebmail_create_mail','1').addQueryData('entityid', $entityid).addQueryData('tab', $!result.currentTab).addQueryData('mailtype', '1')"], ["ﾒｰﾙ転送", "$!jslink.getPortletById($!portlet.getID()).addQueryData('eventSubmit_doWebmail_create_mail','1').addQueryData('entityid', $entityid).addQueryData('tab', $!result.currentTab).addQueryData('mailtype', '2')"]])
#set($linklist = [["ﾒｰﾙ一覧へ", "$!jslink.getPortletById($!portlet.ID).addQueryData('eventSubmit_doWebmail_list','1')"],["Webﾒｰﾙへ", "$!jslink.getPortletById($!portlet.ID).addQueryData('eventSubmit_doWebmail_menu','1')"]])
#ALcell_pagetitle($career "ﾒｰﾙ詳細")
#ALcell_dt($career '件名')#ALcell_dd($career "$!{result.Detail.Subject}")
#ALcell_dt($career '日付')
#ALcell_dd_header($career)
$!{result.Detail.Date.Year}年$!{result.Detail.Date.Month}月$!{result.Detail.Date.Day}日 $!{result.Detail.Date.Hour}時$!{result.Detail.Date.Minute}分
#ALcell_dd_footer($career)
#ALcell_dt($career $person)#ALcell_dd($career "$person_value")
#ALcell_dt($career '本文')#ALcell_dd($career "$!{result.Detail.Body}")
#ALcell_hr($career '1')
#ALcell_linklist($career $methodlist)
#ALcell_hr($career '1')
#ALcell_linklist($career $linklist)
#ALtdcellFooterLink($career)

