<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ include file="../language.jsp" %>



<div style="padding:5px">
<table border="0" cellspacing="0">
  <tr>
    <td width="68" style="text-align:left; width:68px; vertical-align:top; background-image:url(../images/comm/tdbg.gif);background-repeat:repeat-y;padding:0px">
    
      <ul style="list-style:none; padding:0px; margin:0px">

				<sec:authorize url="SEC_ORG">
                	<li id="M001" class="mianstyle onfuc" onclick="showTab('001')"><fmt:message key="title.security.org"/></li>
				</sec:authorize>

				<sec:authorize url="SEC_SECURITY">
                	<li id="M002" class="mianstyle outfuc" onclick="showTab('002')"><fmt:message key="title.security.visit"/></li>
				</sec:authorize>
				
				
				<sec:authorize url="SEC_DICTIONARY">
                	<li id="M003" class="mianstyle outfuc" onclick="showTab('003')"><fmt:message key="title.security.dataDictionary"/></li>
				</sec:authorize>
				
				
				<sec:authorize url="SEC_LOG">
                	<li id="M004" class="mianstyle outfuc" onclick="showTab('004')"><fmt:message key="title.security.logManage"/></li>
				</sec:authorize>
				
				<sec:authorize url="SEC_SLA">
                	<li id="M005" class="mianstyle outfuc" onclick="showTab('005')">SLA</li>
				</sec:authorize>
				
				<sec:authorize url="SEC_RULES">
                	<li id="M006" class="mianstyle outfuc" onclick="showTab('006')"><fmt:message key="title.security.businessRule"/></li>
				</sec:authorize>
				
				<sec:authorize url="SEC_WORKFLOW">
                	<li id="M007" class="mianstyle outfuc" onclick="showTab('007')"><fmt:message key="title.security.workFlow"/></li>
    			</sec:authorize>
    			
    			<sec:authorize url="SEC_BASICCONFIG">
    			<li id="M008" class="mianstyle outfuc" onclick="showTab('008')"><fmt:message key="label.basicConfig.mianTitle"/></li>
    			</sec:authorize>
    			
            </ul>
    
    </td>
    <td width="178" valign="top" style="padding:0px; text-align:left">
    
    <div id="menuContent" style="border-top:#94b1dd 1px solid;border-right:#94b1dd 1px solid;border-bottom:#94b1dd 1px solid; height:auto;min-height:300px;line-height:22px; padding-left:15px; padding-top:5px;">
   
   
   <sec:authorize url="SEC_ORG">
   		<sec:authorize url="COMPANY">
			<a onClick="javascript:itsm.common.utility.tabUtility.addTab('<fmt:message key="title.security.companyInfo"/>','../pages/security/company.jsp')"><fmt:message key="title.security.companyInfo"/></a><br/>
    	</sec:authorize>
    	
	    <sec:authorize url="ORGMG">
			<a onClick="javascript:itsm.common.utility.tabUtility.addTab('<fmt:message key="title.security.orgSet"/>','../pages/security/organization.jsp')"><fmt:message key="title.security.orgSet"/></a><br/>
		</sec:authorize>
		
		<sec:authorize url="CUSTOMER">
			<sec:authorize url="/pages/customer!findByCompany.action">
				<a onClick="javascript:itsm.common.utility.tabUtility.addTab('<fmt:message key="title.security.customerManager"/>','../pages/security/customerMain.jsp')"><fmt:message key="title.security.customerManager"/></a><br/>
			</sec:authorize>
		</sec:authorize>
		<sec:authorize url="SUPPLIER">
			<sec:authorize url="/pages/supplier!findByCompany.action">
				<a onClick="javascript:itsm.common.utility.tabUtility.addTab('<fmt:message key="title.security.supplierManager"/>','../pages/security/supplierMain.jsp')"><fmt:message key="title.security.supplierManager"/></a><br/>
			</sec:authorize>
		</sec:authorize>
		
	</sec:authorize>
	
    </div>
    
    </td>
  </tr>
</table>

<div id="001" style="display:none">

     	<sec:authorize url="COMPANY">
			<a onClick="javascript:itsm.common.utility.tabUtility.addTab('<fmt:message key="title.security.companyInfo"/>','../pages/security/company.jsp')"><fmt:message key="title.security.companyInfo"/></a><br/>
    	</sec:authorize>
    	
	    <sec:authorize url="ORGMG">
			<a onClick="javascript:itsm.common.utility.tabUtility.addTab('<fmt:message key="title.security.orgSet"/>','../pages/security/organization.jsp')"><fmt:message key="title.security.orgSet"/></a><br/>
		</sec:authorize>
		
		<sec:authorize url="CUSTOMER">
			<sec:authorize url="/pages/customer!findByCompany.action">
			<a onClick="javascript:itsm.common.utility.tabUtility.addTab('<fmt:message key="title.security.customerManager"/>','../pages/security/customerMain.jsp')"><fmt:message key="title.security.customerManager"/></a><br/>
			</sec:authorize>
		</sec:authorize>
		
		<sec:authorize url="SUPPLIER">
			<sec:authorize url="/pages/supplier!findByCompany.action">
			<a onClick="javascript:itsm.common.utility.tabUtility.addTab('<fmt:message key="title.security.supplierManager"/>','../pages/security/supplierMain.jsp')"><fmt:message key="title.security.supplierManager"/></a><br/>
			</sec:authorize>
		</sec:authorize>
	
</div>


<div id="002" style="display:none">  

<a onClick="javascript:itsm.common.utility.tabUtility.addTab('<fmt:message key="label.edit.user.password"/>','../pages/security/editUserPassword.jsp')"><fmt:message key="label.edit.user.password" /></a><br/>
<sec:authorize url="USER">
	<sec:authorize url="/pages/user!find.action">
	<a onClick="javascript:itsm.common.utility.tabUtility.addTab('<fmt:message key="title.security.userManager"/>','../pages/security/user.jsp')"><fmt:message key="title.security.userManager"/></a><br/>
	</sec:authorize>
</sec:authorize>

<sec:authorize url="ROLE">
	<sec:authorize url="/pages/role!find.action">
	<a onClick="javasrcipt:itsm.common.utility.tabUtility.addTab('<fmt:message key="title.security.roleManager"/>','../pages/security/role.jsp')"><fmt:message key="title.security.roleManager"/></a> <br/>
	</sec:authorize>
</sec:authorize>
<!--  
<sec:authorize url="RESOURCE">
<a onClick="javascript:itsm.common.utility.tabUtility.addTab('<fmt:message key="title.security.resourceManager"/>','../pages/security/resource.jsp')"><fmt:message key="title.security.resourceManager"/></a><br/>
</sec:authorize>
-->

<sec:authorize url="LDAP">
	<a onClick="javascript:itsm.common.utility.tabUtility.addTab('<fmt:message key="title.security.LDAPManager"/>','../pages/security/ldap.jsp')"><fmt:message key="title.security.LDAPManager"/></a><br/>
</sec:authorize>


	<a onClick="javasrcipt:itsm.common.utility.tabUtility.addTab('<fmt:message key="title.security.areaUser"/>','../pages/security/adUser.jsp')"><fmt:message key="title.security.areaUser"/></a><br/>
<sec:authorize url="AREAUSER"></sec:authorize>
</div>



<sec:authorize url="CATEGORY">
<div id="003" style="display:none">  
	<div style="padding:10px"><img src="../images/icons/loading.gif" /></div>
</div>

</sec:authorize>



<div id="004" style="display:none">

<sec:authorize url="ONLINELOG">
<a onClick="javascript:itsm.common.utility.tabUtility.addTab('<fmt:message key="title.security.userOnlineLog"/>','../pages/onlinelog/userOnlineLog.jsp')"><fmt:message key="title.security.userOnlineLog"/></a><br/>
</sec:authorize>
<sec:authorize url="USEROPERATIONLOG">
<a onClick="javascript:itsm.common.utility.tabUtility.addTab('<fmt:message key="title.security.userOptLog"/>','../pages/onlinelog/userOptLog.jsp')"><fmt:message key="title.security.userOptLog"/></a><br/>
</sec:authorize> 
       
</div>


<div id="005" style="display:none">

<sec:authorize url="/pages/slaContractManage!find.action">
<a onClick="javascript:itsm.common.utility.tabUtility.addTab('<fmt:message key="title.security.slaContract"/>','../pages/sla/slaMain.jsp')"><fmt:message key="title.security.slaContract"/></a><br/>
</sec:authorize>


</div>


<div id="006" style="display:none">

<div style="padding:10px"><img src="../images/icons/loading.gif" /></div>

</div>

<div id="007" style="display:none">


<sec:authorize url="/pages/upload!findProcessDefinitions.action">
<a onClick="javascript:itsm.common.utility.tabUtility.addTab('<fmt:message key="title.security.processManage"/>','../pages/jbpm/ProcessDefined.jsp')"><fmt:message key="title.security.processManage"/></a><br/>
</sec:authorize>


<sec:authorize url="/pages/upload!showHistories.action">
<a onClick="javascript:itsm.common.utility.tabUtility.addTab('<fmt:message key="title.security.processHistoryManage"/>','../pages/jbpm/showProcessHistories.jsp')"><fmt:message key="title.security.processHistoryManage"/></a><br/>
</sec:authorize>

<!-- 
<sec:authorize url="/pages/upload!showMyTasks.action">
<a onClick="javascript:itsm.common.utility.tabUtility.addTab('<fmt:message key="title.security.myTask"/>','../pages/jbpm/showMyTasks.jsp')"><fmt:message key="title.security.myTask"/></a><br/>
</sec:authorize>
 -->
<a onClick="javascript:itsm.common.utility.tabUtility.addTab('<fmt:message key="title.security.processUseSet"/>','../pages/jbpm/processUse.jsp')"><fmt:message key="title.security.processUseSet"/></a><br/>

</div>


<div id="008" style="display:none">
<a onClick="javascript:itsm.common.utility.tabUtility.addTab('<fmt:message key="label.basicConfig.currencySet"/>','../pages/config/basicConfig/currencyMain.jsp')"><fmt:message key="label.basicConfig.currencySet"/></a>
</div>


</div>
