<html>
<%@page info="MonthView" language="java" pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<%@taglib uri="/WEB-INF/jato.tld" prefix="jato"%>
<%@include file="../../uwc/js/resourceBundleUtils.js"%>
<%@include file="../../uwc/js/minicalinclude.js"%>
<jato:useViewBean className="com.sun.uwc.calclient.MonthViewViewBean">


<head>
<title><%= getLocalizedLabel(session, "i18nModel", "uwc-calclient-view-month-Title", "Calendar Month View - Communications Express") %></title>
<script language="JavaScript" src="../uwc/js/scripts.js">
</script>
<script src="../uwc/js/browserVersion.js" type="text/javascript"> </script>

<script type="text/javascript">
//<!--
  if (is_ie5up) // IE5
  {
   document.write("<LINK href=<jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="skinModel" lookInSession="true" name="Style-Sheet-IE" defaultValue="../uwc/css/css_ie5win.css"/> type=text/css rel=stylesheet>")
  }
  else if (is_gecko) // Netscape 6/7 or Mozilla
  {
   document.write("<LINK href=<jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="skinModel" lookInSession="true" name="Style-Sheet-NN" defaultValue="../uwc/css/css_ns6up.css"/> type=text/css rel=stylesheet>")

  }
  else  // All others
  {
   document.write("<LINK href=<jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="skinModel" lookInSession="true" name="Style-Sheet-NN" defaultValue="../uwc/css/css_ns6up.css"/> type=text/css rel=stylesheet>")
  }
//-->
</script>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" class="Page">
<jato:form name="MonthViewForm" method="post" defaultCommandChild="/EventsSearchBar/SearchEvents" >

  <table cellspacing=0 cellpadding=0 width="100%" border=0 bgcolor="#CCCCFF">
    <tr>
            <td class="SkpMst"><a href=#tabs><img src="../uwc/images/spacer.gif" height="1" width="1" border="0" alt="<%=getLocalizedLabel(session, "i18nModel", "uwc-common-skiplink-Masthead-message", "Skip Masthead")%>"></a></td>
            <td class="SkpMst"><a href=#calendarviewtabs><img src="../uwc/images/spacer.gif" height="1" width="1" border="0" alt="<%=getLocalizedLabel(session, "i18nModel", "uwc-common-skiplink-GlobalTabs-message", "Skip Global Tabs")%>"></a></td>
            <td class="SkpMst"><a href=#toolbar><img src="../uwc/images/spacer.gif" height="1" width="1" border="0" alt="<%=getLocalizedLabel(session, "i18nModel", "uwc-common-skiplink-CalendarViewTabs-message", "Skip Calendar View Tabs")%>"></a></td>
            <td class="SkpMst"><a href=#searchevents><img src="../uwc/images/spacer.gif" height="1" width="1" border="0" alt="<%=getLocalizedLabel(session, "i18nModel", "uwc-common-skiplink-SearchEvents-message", "Search for Events")%>"></a></td>
            <td class="SkpMst"><a href=#calendargrid><img src="../uwc/images/spacer.gif" height="1" width="1" border="0" alt="<%=getLocalizedLabel(session, "i18nModel","uwc-common-skiplink-calendarGrid","Skip to calendar grid")%>"></a></td>
        </tr>
</table>

   
   <!--Mast Head -->
   <jato:containerView name="MasterHead">
      <%@include file="/uwc/common/MasterHeadAnon.jsp"%>
   </jato:containerView>

<!-- JSP include for application toolbar -->
  <jato:containerView name="ApplnBar">
   <%@include file="/uwc/calclient/CalApplBarAnon.jsp" %>
  </jato:containerView>

<div class="Tab2">
    <table border="0" cellspacing="0" cellpadding="0" class="Tab2Tbl" width="100%" summary="Table that contains the Calendar View Tabs">
      <tr>
        <td colspan="18"><img src="../uwc/images/spacer.gif" width="1" height="10" alt=""><a name="calendarviewtabs"></a></td>
      </tr>

      <tr> 
        <td colspan="18"><img src="../uwc/images/spacer.gif" width="1" height="10" alt=""></td>
      </tr>
      <tr> 
        <td colspan="5"><img src="../uwc/images/spacer.gif" width="10" height="1" alt=""></td>
        <td colspan="5" class="Tab2LineBkgd"><img src="../uwc/images/spacer.gif" width="1" height="1" alt=""></td>
        <td colspan="8"><img src="../uwc/images/spacer.gif" width="1" height="1" alt=""></td>
      </tr>
      <tr> 
        <td><img src="../uwc/images/spacer.gif" width="10" height="1" alt=""></td>
        <td class="Tab2NotSel"> 
          <div class="Tab2NotSel"><a title='<%= getLocalizedLabel(session, "i18nModel", "uwc-calclient-view-month-DayAlt", "Calendar Day View") %>' href="<%= getContextURI(request) %>/calclient/DayView?date=<jato:getDisplayFieldValue name='startDate' />&calid=<jato:getDisplayFieldValue name='contextCalId' />&caltype=<jato:getDisplayFieldValue name='calType' />&category=<jato:getDisplayFieldValue name='category' />&viewctx=month&anon=true" class="TabLblNormal" ><%= getLocalizedLabel(session, "i18nModel", "uwc-calclient-view-month-DayHrefLabel", "Day") %></a></div>
        </td>
        <td><img src="../uwc/images/dividerbar.gif" alt=""></td>
        <td class="Tab2NotSel"> 
          <div class="Tab2NotSel"><a title='<%= getLocalizedLabel(session, "i18nModel", "uwc-calclient-view-month-WeekAlt", "Calendar Week View") %>' href="<%= getContextURI(request) %>/calclient/WeekView?date=<jato:getDisplayFieldValue name='startDate' />&calid=<jato:getDisplayFieldValue name='contextCalId' />&caltype=<jato:getDisplayFieldValue name='calType' />&category=<jato:getDisplayFieldValue name='category' />&viewctx=month&anon=true" class="TabLblNormal" ><%= getLocalizedLabel(session, "i18nModel", "uwc-calclient-view-month-WeekHrefLabel", "Week") %></a></div>
        </td>
		<td><img src="../uwc/images/spacer.gif" width="10" height="1" alt=""></td>
        <td class="Tab2LineBkgd"><img src="../uwc/images/spacer.gif" width="1" height="12" alt=""></td>
        <td class="Tab2Sel"><img src="../uwc/images/spacer.gif" width="10" height="1" alt=""></td>
        <td class="Tab2Sel"> 
          <div class="Tab2Sel"><span class="TabLblSel" title='<%= getLocalizedLabel(session, "i18nModel", "uwc-calclient-toolbar-tooltip-Month", "Calendat Month View") %>'><%= getLocalizedLabel(session, "i18nModel", "uwc-calclient-view-month-MonthLabel", "Month") %></span></div>
        </td>
        <td class="Tab2Sel"><img src="../uwc/images/spacer.gif" width="10" height="1" alt=""></td>
        <td class="Tab2LineBkgd"><img src="../uwc/images/spacer.gif" width="1" height="12" alt=""></td>
        <td><img src="../uwc/images/spacer.gif" width="10" height="1" alt=""></td>
        <td><img src="../uwc/images/dividerbar.gif" alt="" width="24" height="20"></td>
        <td class="Tab2NotSel">
		          <div class="Tab2NotSel"><a title='<%= getLocalizedLabel(session, "i18nModel", "uwc-calclient-view-month-YearAlt", "Calendar Year View") %>' href="<%= getContextURI(request) %>/calclient/YearView?date=<jato:getDisplayFieldValue name='startDate' />&calid=<jato:getDisplayFieldValue name='contextCalId' />&caltype=<jato:getDisplayFieldValue name='calType' />&category=<jato:getDisplayFieldValue name='category' />&viewctx=month&anon=true" class="TabLblNormal" ><%= getLocalizedLabel(session, "i18nModel", "uwc-calclient-view-month-YearHrefLabel", "Year") %></a></div>
	     </td>
	     <td><img src="../uwc/images/dividerbar.gif" alt="" width="24" height="20"></td>

        <td class="Tab2NotSel"> 
          <div class="Tab2NotSel"><a title='<%= getLocalizedLabel(session, "i18nModel", "uwc-calclient-view-month-EventsAlt", "Events List") %>' href="<%= getContextURI(request) %>/calclient/Events?date=<jato:getDisplayFieldValue name='startDate' />&calid=<jato:getDisplayFieldValue name='contextCalId' />&caltype=<jato:getDisplayFieldValue name='calType' />&category=<jato:getDisplayFieldValue name='category' />&viewctx=month&anon=true" class="TabLblNormal" ><%= getLocalizedLabel(session, "i18nModel", "uwc-calclient-view-month-EventsHrefLabel", "Events") %></a></div>
        </td>
        <td class="Tab2NotSel" width="90%"> 
          <div class="Tab2NotSel"></div>
        </td>
      </tr>
      <tr> 
        <td colspan="6" class="Tab2LineBkgd"><img src="../uwc/images/spacer.gif" width="1" height="1" alt=""></td>
        <td colspan="3"><img src="../uwc/images/spacer.gif" width="1" height="1" alt=""></td>
        <td colspan="9" class="Tab2LineBkgd"><img src="../uwc/images/spacer.gif" width="1" height="1" alt=""></td>
      </tr>
    </table>
</div>

<!-- Error information pagelet -->
   <jato:containerView name="errorPlugin">
      <%@include file="/uwc/common/error.jsp"%>
   </jato:containerView>

<!-- Calendar Tool bar -->
  <jato:containerView name="CalToolBar">
    <%@include file="/uwc/calclient/CalToolBarAnon.jsp"%>
  </jato:containerView>


<!-- Events Search bar -->
  <jato:containerView name="EventsSearchBar">
    <%@include file="/uwc/calclient/CalSearchBarPagelet.jsp"%>
  </jato:containerView>

  <jato:containerView name="CalQuickNavigation">
    <%@include file="/uwc/calclient/CalQuickNavigationPagelet.jsp"%>
  </jato:containerView>

<table width="100%" border="0" cellspacing="0" cellpadding="0" summary="Table that contains the Main Calendar Grid, Mini-calendar, and Task List">
      <tr>
       <td colspan="4"><img src="../uwc/images/spacer.gif" width="1" height="10"><a name="calendargrid"></a></td>
      </tr>

  <tr> 
    <td align="center" valign="top" class="sidebarCopy"><img src="../uwc/images/spacer.gif" width="10" height="1"></td>
    <td align="center" valign="top" class="sidebarCopy"> 

      <!-- MiniCalendar Pane -->
      <jato:containerView name="MiniCal">
       <%@include file="/uwc/common/minical.jsp" %>
      </jato:containerView>

      <tr>
        <td><img src="../uwc/images/spacer.gif" width="1" height="10"></td>
      </tr>

      <!-- Time Zone Display -->
      <tr>
        <td class="McalOutline"><div class="McalTimeZone"><span class="Lbl2"><%= getLocalizedLabel(session, "i18nModel", "uwc-calclient-view-month-TimeZoneLabel", "Time Zone:") %></span><br>
      <jato:text name="timezone"/></div></td>
      </tr>
</table>
    </td>
    <td><img src="../uwc/images/spacer.gif" width="10" height="1"></td>

    <td valign="top" width="100%"> 
        <table width="100%" cellspacing="0" cellpadding="0" class="CalGrid">
          <tr> 
            <td colspan="8" class="GridHdr"><a href="<jato:text name='prevMonthUrl' />"><img name="back" src="<%= getLocalizedLabel(session, "skinModel", "uwc-calclient-Back-Arrow-image", "../uwc/images/back.gif") %>" width="13" height="13" align="absmiddle" title='<%= getLocalizedLabel(session, "i18nModel", "uwc-calclient-view-month-PrevMonthAlt", "Previous Month") %>' alt='<%= getLocalizedLabel(session, "i18nModel", "uwc-calclient-view-month-PrevMonthAlt", "Previous Month") %>' border="0"></a>&nbsp;&nbsp;<span class="BlockHeaderText"><jato:text name="monthDisplay" /> </span>&nbsp;&nbsp; <a href="<jato:text name='nextMonthUrl' />" ><img name="forward" src="<%= getLocalizedLabel(session, "skinModel", "uwc-calclient-Forward-Arrow-image", "../uwc/images/forward.gif") %>" width="13" height="13" align="absmiddle" title='<%= getLocalizedLabel(session, "i18nModel", "uwc-calclient-view-month-NextMonthAlt", "Next Month") %>' alt='<%= getLocalizedLabel(session, "i18nModel", "uwc-calclient-view-month-NextMonthAlt", "Next Month") %>' border="0"></a></td>
          </tr>
          <tr> 
            <td scope="row" nowrap class="DayOfWeekFirst" width="2%">&nbsp;</td>
            <jato:tiledView name="dayNamesOfWeek" type="com.sun.uwc.calclient.MonthDaySlotTileView">
             <td nowrap class="DayOfWeek" width="14%">
              <span class="Lbl2">
               <jato:text name="dayName" escape="true" />
              </span>
             </td>
            </jato:tiledView>
          </tr>
          <tr> 
          <jato:tiledView name="dayNumOfMonth" type="com.sun.uwc.calclient.MonthDaySlotTileView">

           <jato:content name="isFirstRow">
            </tr>
            <tr>
             <td scope="row" nowrap class="GridTime"><a href="<jato:text name='weekViewUrl' />" title='<%= getLocalizedLabel(session, "i18nModel", "uwc-calclient-view-month-JumpToWeekAlt", "Jump to Week") %>' class="Lnk" ><span class="plus">&gt;</span></a></td>
           </jato:content>

            <jato:content name="isOtherMonth" >
              <td class="OtherMonth">
            </jato:content>

            <jato:content name="isToday" >
              <td class="Today">
            </jato:content>

           <jato:content name="isNotToday" >
            <jato:content name="isNotOtherMonth" >
              <td>
            </jato:content>
           </jato:content>

              <a href="<jato:text name='dayViewUrl' />" title='<%= getLocalizedLabel(session, "i18nModel", "uwc-calclient-view-month-JumpToDayAlt", "Jump to Day") %>' class="LnkBold" target="_parent"><span class="DayOfMonth"><jato:text name="dayNum" /></span></a>

             <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
              <jato:tiledView name="eventsDisplay" type="com.sun.uwc.calclient.MonthEventsTileView">
               <jato:content name="isEventsPresent">
                <tr>

                  <jato:content name="isConflictingEvent">
                   <td class="ExtConflict">
                  </jato:content>

                  <jato:content name="isNotConflictingEvent">
                   <td class="Ext">
                  </jato:content>
                  <!-- Event Title -->
                  <jato:content name="isConfidentialEvent">
                    <%= getLocalizedLabel(session, "i18nModel", "uwc-calclient-view-month-Busy", "Busy") %><strong>&nbsp;
                  </jato:content>

                  <jato:content name="isNotConfidentialEvent">
                    <a href="<jato:text name='openevent'/>" class="LnkBold" onClick='openWinAutoHeight("<jato:text name='openevent'/>", "", "width=600,titlebar=yes,resizable=yes,scrollbars=yes"); return false;' >
                    <jato:text name="eventtitle" escape="true" /></a>&nbsp;
                  </jato:content>
                 <!--Event Start Time -->
                    <jato:text name="eventtime"/>
                   </td>
                 </tr>
                </jato:content>
              </jato:tiledView>

             </table>

            </td>
           <jato:content name="isWeekRowEnd">
            </tr>
            <tr>
             <td scope="row" nowrap class="GridTime"><a href="<jato:text name='weekViewUrl' />" title='<%= getLocalizedLabel(session, "i18nModel", "uwc-calclient-view-month-JumpToWeekAlt", "Jump to Week") %>' class="Lnk" ><span class="plus">&gt;</span></a></td>
           </jato:content>
          </jato:tiledView>
          </tr>
        </table>
    </td>

    <td><img src="../uwc/images/spacer.gif" width="10" height="1"></td>
  </tr>
  <tr> 
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr> 
    <td colspan="5">&nbsp;</td>
  </tr>
</table>
</jato:form>
</body>
</jato:useViewBean>
</html>
