#*
 * 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 = [["イベントログ一覧", "",""]])
#set ($indicator_id = "indicator-list-")
## ---------------------------------------------------------------------------
#ALtabheader($tabs "")
#ALspacebothheader()
#if($result.List.size() == 0)
<div class="message">指定された条件に該当する施設はありません。</div>
#else
#ALajaxIndicator("${indicator_id}" "$!{portlet.ID}" "")
#ALajaxlistformheader('イベントログ')
#ALajaxpageview('EventlogScreen' $result)
#ALtableheaderWide()
<tr>
#ALtdheadThin("#ALswitchCheckbox()")
#ALtdheadW25("#ALajaxsort('event_date' '発生日時' $result 'EventlogScreen')")
#ALtdheadW25("#ALajaxsort('user_name' 'ユーザー名' $result 'EventlogScreen')")
#ALtdheadW25("#ALajaxsort('portlet_id' '機能名' $result 'EventlogScreen')")
#ALtdheadW25("#ALajaxsort('event_type' '操作' $result 'EventlogScreen')")
#ALtdheadW25("#ALajaxsort('ip_addr' '接続IP' $result 'EventlogScreen')")
</tr>
#foreach ($record in $result.List)
<tr>
#ALtdcellAtt("<input name='check$!record.EventlogId' type='checkbox' value='$!record.EventlogId'/>" 'align="center"')
#ALtditemheaderAtt("nowrap='nowrap'")
<a href="javascript:void(0);" onclick="aipo.common.showDialog('$!utils.escapeXML($!jslink.getPortletById($!portlet.ID).addQueryData("template","EventlogDetailScreen").addQueryData("entityid",$record.EventlogId))');">$!record.EventDate</a>
#ALtdcellfooter()
#ALtdcell($!record.UserFullName)
#ALtdcell($!record.PortletName)
#ALtdcell($!record.EventName)
#ALtdcell($!record.IpAddr)
</tr>
#end
#ALtablefooter()
#ALbuttonheaderRight()
選択したイベントログを #ALajaxbuttonCheckboxDelete('削除する' "$!jslink.getPortletById($!portlet.ID).addQueryData('template','EventlogFormJSONScreen').addQueryData('mode','multi_delete')" "$indicator_id" "$!portlet.ID" "aipo.eventlog.onReceiveMessage")
#ALbuttonfooterRight()
#ALajaxpageviewFooter('EventlogScreen' $result)
#ALformfooter()
#end
#ALspacebothfooter()
#ALajaxtabfooter()
