<%@  page pageEncoding="utf-8" contentType="text/html;charset=utf-8" import="com.novell.webaccess.common.JSPConduit,
                                                                             java.util.ResourceBundle,
                                                                             com.novell.emframe.dev.eMFrameUtils" %>

<%@ taglib uri="/WEB-INF/iman.tld" prefix="iman" %>

<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/x.tld" prefix="x" %>




<iman:stringtable bundle="DevResources"/>
<x:parse xml="${edas}" var="edasXml"/>



<HTML>
<HEAD>
   <TITLE><iman:string key="ProductName"/></TITLE>
   <LINK rel="stylesheet" href="<c:out value="${ContextPath}" />/portal/modules/dev/css/hf_style.css">
   <iman:include page="fw/UiHandlerTools.jsp" />
   <iman:include page="dev/PageScripts_inc.jsp" />


   <iman:include page="dev/eMFrameScripts_inc.jsp"/>
   <LINK rel="stylesheet" href="<c:out value="${ContextPath}"/>/portal/modules/fw/css/TimeRestrictions.css" >
   <iman:include page="dev/TimeGridScripts_inc.jsp"/>

   <SCRIPT>
      function onInit()
      {
      }

      function isPageValid()
      {
         return notifyAllOfExit();
      }
   </SCRIPT>
</HEAD>

<BODY onLoad="onInit();">
<FORM name="form" method=post action="webacc">
   <iman:include page="dev/Messagebar_inc.jsp"/>
   <iman:include page="dev/BookVars_inc.jsp"/>

   <TABLE border="0" cellpadding="0" cellspacing="0">

      <!-- Login Allowed Time Map -->
      <TR>
         <TD align=left colspan=2>
            <SPAN class="mediumtext"><c:out value="${Login_Allowed_Time_MapDisplayName}"/>:&nbsp;&nbsp;</SPAN>
         </TD>
      </TR>
      <TR>
         <TD>
            <c:if test="${!edasRights.target.Login_Allowed_Time_Map.writeable && taskIsMoo!='true'}">
               <c:set var="TimeGridEditor_readOnly" value="true" scope="request"/>
            </c:if>
            <iman:include page="dev/TimeGrid_inc.jsp"/>
            <SCRIPT>
               initTimeRestrictions("<x:out select="$edasXml/edas/Login_Allowed_Time_Map/value"/>");
            </SCRIPT>

            <c:if test="${edasRights.target.Login_Allowed_Time_Map.writeable}">
               <SCRIPT>
                  addToNotificationList('Login_Allowed_Time_Map', 'uih_timegrid');
               </SCRIPT>
               <INPUT type="hidden" name="eDir$target$Login_Allowed_Time_Map" value="<x:out select="$edasXml/edas/Login_Allowed_Time_Map/value"/>" >
            </c:if>
         </TD>
         <TD valign=top>
            <c:set var="mode"><x:out select="$edasXml/edas/Login_Allowed_Time_Map/@mode"/></c:set>
            <iman:mooMode name="_Login_Allowed_Time_Map_mode" value="${mode}" multi="false" />
         </TD>
      </TR>
      <TR><TD height=9></TD></TR>

   </TABLE>

</FORM>
</BODY>
</HTML>
