<html>

<%@page info="Events" 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"%>

<jato:useViewBean className="com.sun.uwc.calclient.EventsViewBean">
<head>
<title><%= getLocalizedLabel(session, "uwc-calclient-events-title", "Events - Sun&#153;ONE Unified Messaging Client") %></title>
<script src="../uwc/js/browserVersion.js" type="text/javascript"> </script>
<script src="../uwc/js/scripts.js" type="text/javascript"> </script>
<script src="../uwc/js/uwcUtils.js" type="text/javascript"> </script>
<script src="../uwc/js/date_utils.js" type="text/javascript"> </script>
<script type="text/javascript">
//<!--
  if (is_ie5up) // IE5
  {
   document.write("<LINK href=<%= getLocalizedLabel(session, "skinModel", "Style-Sheet-IE", "../uwc/css/css_ie5win.css") %> type=text/css rel=stylesheet>")
  }
  else if (is_gecko) // Netscape 6/7 or Mozilla
  {
   document.write("<LINK href=<%= getLocalizedLabel(session, "skinModel", "Style-Sheet-NN", "../uwc/css/css_ns6up.css") %> type=text/css rel=stylesheet>")
  }
  else  // All others
  {
   document.write("<LINK href=<%= getLocalizedLabel(session, "skinModel", "Style-Sheet-NN", "../uwc/css/css_ns6up.css") %> type=text/css rel=stylesheet>")
  }
//-->
</script>
<script> self.focus() </script>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" class="Page">

<jato:form name="EventsInputForm" method="post">

<input type="hidden" name="EnableSearchMode" value="false">
<input type="hidden" name="submitType">
<jato:hidden name="SelectedDateInUTC"/>
<jato:hidden name="TimeZone"/>
<jato:hidden name="SortCriteria"/>

<jato:containerView name="MasterHead">
  <%@include file="/uwc/common/MasterHeadPrintable.jsp"%>
</jato:containerView>

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

<!-- Calendar view tabs are starting from here -->
<div class="Tab2">
</div>

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

<!-- Page Title with Save Button -->
<div class="TtlTxtDiv">
</div>

<div class="SearchDiv"> 
</div>

<div class="ViewDiv">
</div>

<table width="100%" border="0" cellspacing="0" cellpadding="0" summary="Table that contains the Main Calendar Grid, Mini-calendar, and Event List">
    <tr> 
      <td align="center" valign="top" class="sidebarCopy" width="1%"><img src="../uwc/images/spacer.gif" width="10" height="1" alt=""></td>
      <td valign="top" width="98%">
        <table border="0" cellpadding="0" cellspacing="0" class="Tbl" bordercolor="#cccccc" width="100%" summary="Table contains list of Events.">
          <tbody> 
      <jato:content name="NonSearchMode">
          <tr> 
            <td class="TblTtlTd" colspan="5"><span class="TblTtlTxt"><%= getLocalizedLabel(session, "uwc-calclient-events-banner", "Events") %></span>&nbsp; 
              &nbsp; <span class="TblTtlTxt"><jato:text name="ContextName"/>:&nbsp;<jato:text name="ContextDuration"/></span>&nbsp; 
            </td>
          </tr>
      </jato:content>
      <jato:content name="SearchMode">
          <tr>
            <td class="TblTtlTd" colspan="5"><span class="TblTtlTxt"><%= getLocalizedLabel(session, "uwc-calclient-events-SearchResults", "Search Results") %>:&nbsp;"<jato:text name="SearchText"/>"</span>
            </td>
          </tr>
      </jato:content>
      <tr> 
       <th scope="col" nowrap><strong><%= getLocalizedLabel(session, "uwc-calclient-events-StartDate", "Start Date") %></strong></th>
       <th scope="col" nowrap><strong><%= getLocalizedLabel(session, "uwc-calclient-events-Title", "Title") %></strong></th>
       <th scope="col" nowrap><strong><%= getLocalizedLabel(session, "uwc-calclient-events-Type", "Type") %></strong></th>
      </tr>
      <jato:tiledView name="EventsTiledView" type="com.sun.uwc.calclient.EventsTileView">
          <jato:hidden name="EventCalID"/>
          <jato:hidden name="EventUID"/>
          <jato:hidden name="EventRID"/>
          <tr> 
              <td <jato:content name="StartDateColumnStyle"/>><jato:text name="StartDate"/>
               <jato:content name="NonAllDayEventInformation">
                  <jato:text name="StartTime"/>&nbsp;<jato:text name="DurationHrs"/>
               </jato:content>
            </td>
              <td><jato:text name="Title"/><br>
              <jato:content name="HasAlarm">
                <img src="<%= getLocalizedLabel(session, "skinModel", "uwc-calclient-NotifyImage", "../uwc/images/LrlNotify_1.gif") %>" width="12" height="12" border="0" hspace="2" align="absmiddle" alt="<%= getLocalizedLabel(session, "uwc-calclient-events-Notify", "Notify") %>" title="<%= getLocalizedLabel(session, "uwc-calclient-events-Notify", "Notify") %>">
              </jato:content>
              <jato:content name="IsRecurring">
                <img src="<%= getLocalizedLabel(session, "skinModel", "uwc-calclient-RecurringImage", "../uwc/images/LrlRecur_1.gif") %>" width="12" height="12" border="0" align="absmiddle" hspace="2" title="<%= getLocalizedLabel(session, "uwc-calclient-events-Recurring", "Recurring") %>" alt="<%= getLocalizedLabel(session, "uwc-calclient-events-Recurring", "Recurring") %>">
              </jato:content>
              <jato:content name="IsPublic">
                <img src="<%= getLocalizedLabel(session, "skinModel", "uwc-calclient-PublicImage", "../uwc/images/LrlPrvPub_1.gif") %>" width="12" height="12" border="0" hspace="2" title="<%= getLocalizedLabel(session, "uwc-calclient-events-Public", "Public") %>" alt="<%= getLocalizedLabel(session, "uwc-calclient-events-Public", "Public") %>"> 
               <br>
              <%= getLocalizedLabel(session, "uwc-calclient-Location", "Location") %>:&nbsp;<jato:text name="Location"/>
              </jato:content>
              <jato:content name="IsExternal">
                <br>
                [<jato:text name="OwnerName"/>&nbsp;(<jato:text name="CalendarName"/>)]
              </jato:content>
            </td>
            <td><jato:text name="Category" escape="false"/></td>
         </tr>
      </jato:tiledView>
          </tbody> 
        </table>
      </td>
      <td width="1%"><img src="../uwc/images/spacer.gif" width="10" height="1" alt=""></td>
    </tr>
  </table>
</jato:form>
</body>
</jato:useViewBean>
</html>
