#*
 * 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($title = 'アドレス帳')
#set ($menulist_address = [["アドレス帳", ""], ["社外アドレス一覧", "$!jslink.getPortletById($!portlet.ID).addQueryData('eventSubmit_doAddressbook_list','1').addQueryData('tab','syagai')", "themes/iphone/img/icon/32/user.gif"], ["社内アドレス一覧", "$!jslink.getPortletById($!portlet.ID).addQueryData('eventSubmit_doAddressbook_corp_list','1').addQueryData('tab','corp')", "themes/iphone/img/icon/32/user-silver.gif"], ["アドレス検索", "$!jslink.getPortletById($!portlet.ID).addQueryData('eventSubmit_doAddressbook_addr_search','1')", "themes/iphone/img/icon/32/search.gif"]])
#set ($menulist_company = [["会社情報",""], ["会社情報一覧", "$!jslink.getPortletById($!portlet.ID).addQueryData('eventSubmit_doaddressbook_company_list','1')", "themes/iphone/img/icon/32/web.gif"], ["会社情報検索", "$!jslink.getPortletById($!portlet.ID).addQueryData('eventSubmit_doAddressbook_company_search','1')", "themes/iphone/img/icon/32/search.gif"]])
#set ($menulist = [$menulist_address, $menulist_company])

#set($index = 0)
#ALcell_pagetitle_iphone($career $title)
#ALcell_contents_header($career)
<ul class="multi_list">
#foreach($list in $menulist)
#set($listlen = $list.size() - 1)
#set($index = 0)
#foreach($menu in $list)
#if($index == 0)
#ALcell_li_header($career)
#if ($menu.get(1) == "")
<span>$menu.get(0)</span>
#else
<a href="$menu.get(1)">$menu.get(0)</a>
#end
#ALcell_ul_header($career)
#else
#ALcell_li_header($career)
<a href="$menu.get(1)"><img src="$menu.get(2)" width="32" height="32" align="absmiddle" />　$menu.get(0)</a>
#ALcell_li_footer($career)
#end
#set($index = $index + 1)
#end
#ALcell_ul_footer($career)
#ALcell_li_footer($career)
#end
</ul>
#ALcell_contents_footer($career)



