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

## ---------------------------------------------------------------------------
                            <!-- MAIN TAB -->
#foreach ( $c in $css )
<link rel="stylesheet" type="text/css" href="${external_resources_url}/css/$c.Path" media="$c.Media" />
#end
#if (!$tabs )
#parse ("jetspeed.vm")
#else
#if($!showTab == "false")
$portlet.getContent($data)
#else
                            <div id="mainTab" class="clearfix">
                              <ul class="tabContainer">
#foreach ( $tab in $tabs )
                               <li#if ($tab.Link && ($tab.isSelected() == true)) class="selectedMenu" #end>
                                  <div class="menuTitle"><a class="menuList" title="$tab.Title" href="$tab.Link">$tab.Title</a></div>
                                  <div class="menuIcon">
                                  #if ($!tab.Authority)#foreach ($action in $tab.Actions)
                                        #if (${client} == "IPAD")
                                        <a href="${action.Link}"><img class="img_icon" title="${action.Alt}" alt="${action.Alt}" src="${skin.getImage($action.Name,"images/${action.Name}.gif")}"/></a>
                                        #else
                                        <a href="javascript:void(0);" onclick="aipo.common.showDialog('$!{tab.Link}&template=CustomizeFormScreen')"><img class="img_icon" title="${action.Alt}" alt="${action.Alt}" src="${skin.getImage($action.Name,"images/${action.Name}.gif")}"/></a>
                                        #end
                                  #end#end
                                  </div>
                                </li>
#end
                               <li class="tooltip_box">
                                 <div class="tooltip_gray">Aipoアプリを追加して、もっと便利に</div>
                                 <a href="http://store.aipo.com/" target="_blank">
                                   <img src="images/common/img_aipostore.gif" alt="" />
                                 </a>
                               </li>
                              </ul>
                            </div>
                            <!-- /MAIN TAB -->
                            <!-- MAIN OUTER -->
                            <table class="tableWrapper">
                              <tbody>
                                <tr>
                                  <td class="wide top">
                                    <div class="roundTopMain clearfix">
                                      <div class="roundRightMain">
                                        <div class="roundBottomMain">
                                          <div class="roundLeftMain">
                                            <div class="roundTopLeftMain">
                                              <div class="roundTopRightMain">
                                                <div class="roundBottomRightMain">
                                                  <div class="roundBottomLeftMain">
                                                    <div class="roundMainWrapper">
$portlet.getContent($data)
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                            <!-- /MAIN OUTER  -->
#end
#end
