<%-- 
  Copyright 2003 Sun Microsystems, Inc. All rights reserved 
  Use is subject to license terms.
 --%>

<html>
<%@page info="SubscriptionsAdminService" language="java"%>
<%@taglib uri="/WEB-INF/jato.tld" prefix="jato"%>
<%@taglib uri="/WEB-INF/console.tld" prefix="console"%>
<%--
<%@taglib uri="/WEB-INF/style.tld" prefix="style"%>
<%@taglib uri="/WEB-INF/html.tld" prefix="html"%>
--%>
<jato:useViewBean 
    className="com.sun.portal.subscriptions.admin.SubscriptionsAdminServiceViewBean" 
    fireChildDisplayEvents="true">  
<jsp:useBean id="viewBean" 
    type="com.sun.portal.subscriptions.admin.SubscriptionsAdminServiceViewBean"/>

<head>
    <title><jato:text name="title" /></title>
    <link rel="stylesheet" href="../console/css/adminstyle.css"> 
    <script language="javascript" src="../console/js/consolecomp.js"></script>
</head>  

<body class="dataFrame" leftMargin=0 rightMargin=0 topMargin=0 
    marginheight="0" marginwidth="0">
<script language="javascript">
    pageLoaded = 0;
    parent.headerFrame.helpDocURL = "<jato:text name="helpDocURL"/>";
    parent.headerFrame.helpPage = "<jato:text name="helpAnchorTag"/>";
</script>

<!-- page header -->
<console:title name="serviceName" />

<console:form name="SubscriptionsAdminService" method="post">

<!-- buttons -->
<table border=0 cellpadding=0 cellspacing=0 width="100%">
    <tr>
        <td width="97%" align=right>
            <console:button name="btnSave" />
        </td>
        <td width="1%">
            <console:button name="btnReset" />
        </td>
        <jato:content name="DeleteButtonBlock">
        <!-- only for template level processing -->
        <td width="1%">
            <console:button name="DeleteButton" />
        </td>
        </jato:content>
        <jato:content name="showCancel">
        <td width="1%">
            <console:button name="btnCancel" />
        </td>
        </jato:content>
    </tr>
</table>

<console:messagebox name="ccMsgBox" imageURI="../console/images" />

<jato:content name="GlobalBlock">
<!-- Global attributes section --> 
<table border=0 cellpadding=10 cellspacing=0 width="100%">
<tr> 
    <td nowrap>
        <div class="properties-level1-label-text">
        <jato:text name="lblGlobal" />
        </div>               
    </td>
    <td valign="bottom" width="99%"> 
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td valign="bottom" class="properties-separator"><img src="../console/images/spacer.gif" width="1" height="1" alt=""></td>
            </tr>
        </table>
    </td>
</tr> 
</table> 
<div class="properties-level3-label-text">
<table border=0 cellpadding=0 cellspacing=0>
    <jato:tiledView name="GlobalDataView" 
        type="com.iplanet.am.console.service.SMDataView"
        fireDisplayEvents="true">
    <tr>
	    <td colspan=3><img src="../console/spacer.gif" height=10></td>
    </tr> 
    <console:dynamicgui 
	    name="ccAttrSet" 
	    imageURI="../console/images"/>
    </jato:tiledView>
</table> 
</div>
</jato:content>

<jato:content name="TopLevelBlock">
<!-- Dynamic attributes section for Service management module -->
<table border="0" cellpadding="10" cellspacing="0" width="100%"> 
    <tr>  
        <td nowrap> 
            <div class="properties-level1-label-text"> 
                <jato:text name="lblDynamic" />
            </div>                
        </td> 
        <td valign="bottom" width="99%"> 
            <table border="0" cellpadding="0" cellspacing="0" width="100%"> 
                <tr> 
                    <td valign="bottom" class="properties-separator"><img src="../console/images/spacer.gif" width="1" height="1" alt=""></td> 
                </tr> 
            </table> 
        </td> 
    </tr>  
</table> 
<div class="properties-level3-label-text">
<table border=0 cellpadding=0 cellspacing=0>
    <jato:tiledView name="DynamicDataView" 
        type="com.iplanet.am.console.service.SMDataView"
        fireDisplayEvents="true">
    <console:dynamicgui name="ccAttrSet" imageURI="../console/images"/>
    </jato:tiledView> 
</table>
</div>
</jato:content>

<jato:content name="TemplateLevelBlock">
<!-- profiler admin description -->
<table border="0" cellpadding="10" cellspacing="0" width="100%">
    <tr>
        <td nowrap>
            <div class="properties-level1-label-text">
                <jato:text name="lblOrg" />
            </div>            
        </td>
        <td valign="bottom" width="99%">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td valign="bottom" class="properties-separator"><img src="../console/images/spacer.gif" width="1" height="1" alt=""></td>
                </tr>
            </table>
        </td>
    </tr>
</table>
<div class="properties-level3-label-text">
<table align="center" border="0" cellpadding="0" cellspacing="10" width="100%">
	<table border="0" cellpadding="0" cellspacing="10" width="100%">
	  <tr> 
		<td class="help-text">
		  <jato:text name="prof.description"/>
		</td>
	  </tr>
	</table>
</table>
	<jato:containerView name="StartProfiler" 
		type="com.sun.portal.search.admin.ScheduleView">
	  <table border="0" cellpadding="0" cellspacing="10" width="100%">
		<tr>
		  <td height="2"> 
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
			  <tr>
				<td nowrap>
				  <div class="properties-level1-label-text">
					<jato:text name="prof.label.start.profiler"/>
				  </div>
				</td>
				<td valign="bottom" width="99%"> 
				  <table border="0" cellpadding="0" cellspacing="0" width="100%">
					<tr> 
					  <td valign="bottom" class="properties-separator">
						<img src="../ps/searchadmin/images/blank.gif" width="1" height="1" alt="">
					  </td>
					</tr>
				  </table>
				</td>
			  </tr>
			</table>
		  </td>
		</tr>
		<tr>
		  <td height="1"> 
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
			  <tr>
				<td>
				  <div class="properties-level3-label-text"><label for="time.text"><jato:text name="time.text"/></label>: 
					<jato:comboBox name="HourList" elementId="time.text" />
					<jato:text name="hhmm.separator"/>
					<jato:combobox name="MinList" elementId="time.text" />
					<br>
					<jato:text name="days.text"/>
					<jato:checkbox name="SUN" elementId="weekday.sun" /><label for="weekday.sun"><jato:text name="weekday.sun"/></label>&nbsp;
					<jato:checkbox name="MON" elementId="weekday.mon" /><label for="weekday.mon"><jato:text name="weekday.mon"/></label>&nbsp;
					<jato:checkbox name="TUE" elementId="weekday.tue" /><label for="weekday.tue"><jato:text name="weekday.tue"/></label>&nbsp;
					<jato:checkbox name="WED" elementId="weekday.wed" /><label for="weekday.wed"><jato:text name="weekday.wed"/></label>&nbsp;
					<jato:checkbox name="THU" elementId="weekday.thu" /><label for="weekday.thu"><jato:text name="weekday.thu"/></label>&nbsp;
					<jato:checkbox name="FRI" elementId="weekday.fri" /><label for="weekday.fri"><jato:text name="weekday.fri"/></label>&nbsp;
					<jato:checkbox name="SAT" elementId="weekday.sat" /><label for="weekday.sat"><jato:text name="weekday.sat"/></label>&nbsp;
					<br>
				  </div>
				</td>
			  </tr>
			</table>
		  </td>
		</tr>
	  </table>
	</jato:containerView>
	<jato:containerView name="StopProfiler"
		type="com.sun.portal.search.admin.ScheduleView">
	  <table border="0" cellpadding="0" cellspacing="10" width="100%">
		<tr>
		  <td height="1"> 
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
			  <tr>
				<td nowrap>
				  <div class="properties-level1-label-text">
					<jato:text name="prof.label.stop.profiler"/>
				  </div>
				</td>
				<td valign="bottom" width="99%"> 
				  <table border="0" cellpadding="0" cellspacing="0" width="100%">
					<tr> 
					  <td valign="bottom" class="properties-separator">
						<img src="../ps/searchadmin/images/blank.gif" width="1" height="1" alt="">
					  </td>
					</tr>
				  </table>
				</td>
			  </tr>
			</table>
		  </td>
		</tr>
		<tr>
		  <td height="1"> 
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
			  <tr>
				<td>
				  <div class="properties-level3-label-text"><label for="time.text"><jato:text name="time.text"/></label>: 
					<jato:comboBox name="HourList" elementId="time.text" />
					<jato:text name="hhmm.separator"/>
					<jato:combobox name="MinList" elementId="time.text" />
					<br>
					<jato:text name="days.text"/>
					<jato:checkbox name="SUN" elementId="weekday.sun" /><label for="weekday.sun"><jato:text name="weekday.sun"/></label>&nbsp;
					<jato:checkbox name="MON" elementId="weekday.mon" /><label for="weekday.mon"><jato:text name="weekday.mon"/></label>&nbsp;
					<jato:checkbox name="TUE" elementId="weekday.tue" /><label for="weekday.tue"><jato:text name="weekday.tue"/></label>&nbsp;
					<jato:checkbox name="WED" elementId="weekday.wed" /><label for="weekday.wed"><jato:text name="weekday.wed"/></label>&nbsp;
					<jato:checkbox name="THU" elementId="weekday.thu" /><label for="weekday.thu"><jato:text name="weekday.thu"/></label>&nbsp;
					<jato:checkbox name="FRI" elementId="weekday.fri" /><label for="weekday.fri"><jato:text name="weekday.fri"/></label>&nbsp;
					<jato:checkbox name="SAT" elementId="weekday.sat" /><label for="weekday.sat"><jato:text name="weekday.sat"/></label>&nbsp;
					<br>
				  </div>
				</td>
			  </tr>
			</table>
		  </td>
		</tr>
	  </table>
	</jato:containerView>
</div>

<!-- Dynamic attributes section for User management module -->
<table border="0" cellpadding="10" cellspacing="0" width="100%">  
    <tr>   
        <td nowrap>  
            <div class="properties-level1-label-text">  
                <jato:text name="lblDynamic" /> 
            </div>                 
        </td>  
        <td valign="bottom" width="99%">  
            <table border="0" cellpadding="0" cellspacing="0" width="100%">  
                <tr>  
                    <td valign="bottom" class="properties-separator"><img src="../console/images/spacer.gif" width="1" height="1" alt=""></td>  
                </tr>  
            </table>  
        </td>  
    </tr>    
</table>
<!-- subscription admin description -->
<table border="0" cellpadding="0" cellspacing="10" width="100%">
  <tr> 
    <td class="help-text">
      <jato:text name="subs.description"/>
    </td>
  </tr>
</table>

<div class="properties-level3-label-text">
<table border=0 cellpadding=0 cellspacing=0>
    <jato:content name="PriorityBlock">
    <tr>
      <td>  
        <jato:text name="lblPriority" />:
      </td>  
      <td nowrap valign="middle">&nbsp;</td>
      <td nowrap>
        <jato:combobox name="Priority" extraHtml="id='SMData.Priority'"/>
      </td>
    </tr>
    </jato:content>
    <jato:tiledView name="DynamicDataView" 
        type="com.iplanet.am.console.service.SMDataView"
        fireDisplayEvents="true">
    <console:dynamicgui name="ccAttrSet" imageURI="../console/images"/>
    </jato:tiledView> 
</table>
</div>
</jato:content>
<!-- buttons -->
<table border=0 cellpadding=0 cellspacing=0 width="100%">
    <tr>
        <td width="98%" align=right>
	    <console:button name="btnSave" />
        </td>
        <td width="1%">
	    <console:button name="btnReset" />
        </td>
        <jato:content name="DeleteButtonBlock">
        <!-- only for template level processing --> 
        <td width="1%">
            <console:button name="DeleteButton" />
        </td>
        </jato:content>
        <jato:content name="showCancel">
        <td width="1%">
            <console:button name="btnCancel" />
        </td>
        </jato:content>
    </tr>
</table>
</console:form> 
<div class="left-margin">
</body>
<script language="javascript">
pageLoaded = 1;
</script>
</jato:useViewBean> 
</html>
