Subversion Repositories DevTools

Rev

Rev 6612 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6612 Rev 7030
Line 78... Line 78...
78
<script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
78
<script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
79
<!--#include file="_menu_def.asp"-->
79
<!--#include file="_menu_def.asp"-->
80
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
80
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
81
<!--#include file="_jquery_includes.asp"-->
81
<!--#include file="_jquery_includes.asp"-->
82
</head>
82
</head>
83
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
83
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
84
<!-- HEADER -->
84
<!-- HEADER -->
85
<!--#include file="_header.asp"-->
85
<!--#include file="_header.asp"-->
86
<!-- BODY ---->
86
<!-- BODY ---->
87
<table width="100%" border="0" cellspacing="0" cellpadding="0">
87
<table width="100%" border="0" cellspacing="0" cellpadding="0">
88
  <tr>
88
  <tr>
Line 109... Line 109...
109
          <td background="images/bg_member_dark.gif" align="left" class="wform_ttl"><a href="#" onClick="MM_openVixIFrame('members_new_public_view.asp','Create New Public View')" class="wform_ttl"><img src="images/i_add_view.gif" width="32" height="18" border="0" align="absmiddle" hspace="2" vspace="10" alt="Create new public view">New View</a></td>
109
          <td background="images/bg_member_dark.gif" align="left" class="wform_ttl"><a href="#" onClick="MM_openVixIFrame('members_new_public_view.asp','Create New Public View')" class="wform_ttl"><img src="images/i_add_view.gif" width="32" height="18" border="0" align="absmiddle" hspace="2" vspace="10" alt="Create new public view">New View</a></td>
110
          <td align="right" valign="top" width="1%" background="images/bg_member_dark.gif">&nbsp;</td>
110
          <td align="right" valign="top" width="1%" background="images/bg_member_dark.gif">&nbsp;</td>
111
        </tr>
111
        </tr>
112
        <tr>
112
        <tr>
113
          <td width="1%" bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10" height="100"></td>
113
          <td width="1%" bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10" height="100"></td>
114
          <td bgcolor="#FFFFFF" valign="top" class="form_item"> <br>
114
          <td bgcolor="#FFFFFF" valign="top"> <br>
115
            <table width="100%" border="0" cellspacing="1" cellpadding="2">
115
            <table width="100%" border="0" cellspacing="1" cellpadding="2" class=stdGrey>
116
              <tr>
116
              <thead>
117
                <td background="images/bg_form_lightbluedark.gif" nowrap class="form_field" width="1%">Show</td>
117
                <th nowrap width="1%">Show</th>
118
                <td background="images/bg_form_lightbluedark.gif" nowrap class="form_field" width="100%">View Name</td>
118
                <th nowrap width="100%">View Name</th>
119
            <td background="images/bg_form_lightbluedark.gif" nowrap class="form_field" width="1%">Package Count</td>
119
                <th nowrap width="1%">Package Count</th>
120
            <td background="images/bg_form_lightbluedark.gif" nowrap class="form_field" width="1%">Owner</td>
120
                <th nowrap width="1%">Owner</th>
121
                <td background="images/bg_form_lightbluedark.gif" class="form_field" width="1%">&nbsp;</td>
-
 
122
                <td background="images/bg_form_lightbluedark.gif" class="form_field" width="1%">&nbsp;</td>
121
                <th width="1%" colspan=2>Edit</th>
123
              </tr>
122
              </thead>
124
         <%Set rsTemp = OraDatabase.DbCreateDynaset( Get_Public_Views( objAccessControl.UserId ), cint(0))
123
         <%Set rsTemp = OraDatabase.DbCreateDynaset( Get_Public_Views( objAccessControl.UserId ), cint(0))
125
           While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%>
124
           While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%>
126
              <tr>
125
              <tr class='tight nowrap'>
127
            <%If rsTemp.Fields("base_view") = "Y" Then%>
126
            <%If rsTemp.Fields("base_view") = "Y" Then%>
128
                <td background="images/bg_form_lightgray.gif" align="center"><input type="checkbox" disabled></td>
127
                <td align="center"><input type="checkbox" name="FRpublicshow" value="<%=rsTemp.Fields("view_id")%>" <%If CBool(rsTemp.Fields("show")) Then Response.write "checked"%>></td>
129
               <td background="images/bg_form_lightgray.gif" nowrap class="form_item"><%=rsTemp.Fields("view_name")%></td>
128
                <td nowrap><%=rsTemp.Fields("view_name")%></td>
130
               <td background="images/bg_form_lightgray.gif" nowrap class="form_item" align="center"><%=rsTemp.Fields("pkg_count")%></td>
129
                <td nowrap  align="center"><%=rsTemp.Fields("pkg_count")%></td>
131
               <td background="images/bg_form_lightgray.gif" nowrap class="form_item">Base View</td>
130
                <td nowrap>Base View</td>
132
                   <td background="images/bg_form_lightgray.gif"><img src="images/i_edit_disable.gif" width="12" height="12" hspace="5" ></td>
131
                <td><img src="images/i_edit_disable.gif" width="12" height="12" hspace="5"></td>
133
                   <td background="images/bg_form_lightgray.gif"><img src="images/i_delete_disable.gif" width="13" height="12" hspace="5" ></td>
132
                <td><img src="images/i_delete_disable.gif" width="13" height="12" hspace="5"></td>
134
            <%ElseIf rsTemp.Fields("base_view") = "S" Then%>
133
            <%ElseIf rsTemp.Fields("base_view") = "S" Then%>
135
                <td background="images/bg_form_lightgray.gif" align="center"><input type="checkbox" disabled></td>
134
                <td align="center"><input type="checkbox" disabled></td>
136
               <td background="images/bg_form_lightgray.gif" nowrap class="form_item"><%=rsTemp.Fields("view_name")%></td>
135
                <td nowrap><%=rsTemp.Fields("view_name")%></td>
137
               <td background="images/bg_form_lightgray.gif" nowrap class="form_item" align="center"></td>
136
                <td nowrap  align="center"></td>
138
               <td background="images/bg_form_lightgray.gif" nowrap class="form_item">SDK View</td>
137
                <td nowrap>SDK View</td>
139
                   <td background="images/bg_form_lightgray.gif"><img src="images/i_edit_disable.gif" width="12" height="12" hspace="5" ></td>
138
                <td><img src="images/i_edit_disable.gif" width="12" height="12" hspace="5"></td>
140
                   <td background="images/bg_form_lightgray.gif"><img src="images/i_delete_disable.gif" width="13" height="12" hspace="5" ></td>
139
                <td><img src="images/i_delete_disable.gif" width="13" height="12" hspace="5"></td>
141
            <%Else%>
140
            <%Else%>
142
                <td background="images/bg_form_lightgray.gif" align="center"><input type="checkbox" name="FRpublicshow" value="<%=rsTemp.Fields("view_id")%>" <%If CBool(rsTemp.Fields("show")) Then Response.write "checked"%>></td>
141
                <td align="center"><input type="checkbox" name="FRpublicshow" value="<%=rsTemp.Fields("view_id")%>" <%If CBool(rsTemp.Fields("show")) Then Response.write "checked"%>></td>
143
               <%If (Cint(rsTemp.Fields("owner_id")) = Cint(objAccessControl.UserId)) OR (Cint(rsTemp.Fields("owner_id")) = 0) Then%>
142
                <%If (Cint(rsTemp.Fields("owner_id")) = Cint(objAccessControl.UserId)) OR (Cint(rsTemp.Fields("owner_id")) = 0) Then%>
144
               <td background="images/bg_form_lightgray.gif" nowrap><a href="#" onClick="MM_openVixIFrame('members_edit_public_view.asp?FRview_id=<%=rsTemp.Fields("view_id")%>','Edit Public View')" class="form_item"><%=rsTemp.Fields("view_name")%></a></td>
143
                    <td nowrap><a href="#" onClick="MM_openVixIFrame('members_edit_public_view.asp?FRview_id=<%=rsTemp.Fields("view_id")%>','Edit Public View')"><%=rsTemp.Fields("view_name")%></a></td>
145
               <td background="images/bg_form_lightgray.gif" nowrap class="form_item" align="center"><%=rsTemp.Fields("pkg_count")%></td>
144
                    <td nowrap  align="center"><%=rsTemp.Fields("pkg_count")%></td>
146
               <td background="images/bg_form_lightgray.gif" nowrap class="form_item"><%=Owner_Format( rsTemp.Fields("owner_id"), rsTemp.Fields("owner_email"), rsTemp.Fields("owner_name") )%></td>
145
                    <td nowrap><%=Owner_Format( rsTemp.Fields("owner_id"), rsTemp.Fields("owner_email"), rsTemp.Fields("owner_name") )%></td>
147
                   <td background="images/bg_form_lightgray.gif"><a href="#" onClick="MM_openVixIFrame('members_edit_public_view.asp?FRview_id=<%=rsTemp.Fields("view_id")%>','Edit Public View')"><img src="images/i_edit.gif" width="12" height="12" hspace="5" border="0" alt="Edit view" title="Edit view"></a></td>
146
                    <td><a href="#" onClick="MM_openVixIFrame('members_edit_public_view.asp?FRview_id=<%=rsTemp.Fields("view_id")%>','Edit Public View')"><img src="images/i_edit.gif" width="12" height="12" hspace="5" border="0" alt="Edit view" title="Edit view"></a></td>
148
                   <td background="images/bg_form_lightgray.gif"><a href="_remove_public_view.asp?FRview_id=<%=rsTemp.Fields("view_id")%>"><img src="images/i_delete.gif" width="13" height="12" hspace="5" border="0" alt="Delete view permanently" title="Delete view permanently"></a></td>
147
                    <td><a href="_remove_public_view.asp?FRview_id=<%=rsTemp.Fields("view_id")%>"><img src="images/i_delete.gif" width="13" height="12" hspace="5" border="0" alt="Delete view permanently" title="Delete view permanently"></a></td>
149
               <%Else%>
148
               <%Else%>
150
               <td background="images/bg_form_lightgray.gif" nowrap class="form_item"><%=rsTemp.Fields("view_name")%></td>
149
                    <td nowrap><%=rsTemp.Fields("view_name")%></td>
151
               <td background="images/bg_form_lightgray.gif" nowrap class="form_item" align="center"><%=rsTemp.Fields("pkg_count")%></td>
150
                    <td nowrap  align="center"><%=rsTemp.Fields("pkg_count")%></td>
152
               <td background="images/bg_form_lightgray.gif" nowrap class="form_item"><%=Owner_Format( rsTemp.Fields("owner_id"), rsTemp.Fields("owner_email"), rsTemp.Fields("owner_name") )%></td>
151
                    <td nowrap><%=Owner_Format( rsTemp.Fields("owner_id"), rsTemp.Fields("owner_email"), rsTemp.Fields("owner_name") )%></td>
153
               <td background="images/bg_form_lightgray.gif"><img src="images/i_edit_disable.gif" width="12" height="12" hspace="5" ></td>
152
                    <td><img src="images/i_edit_disable.gif" width="12" height="12" hspace="5"></td>
154
                   <td background="images/bg_form_lightgray.gif"><img src="images/i_delete_disable.gif" width="13" height="12" hspace="5" ></td>
153
                   <td><img src="images/i_delete_disable.gif" width="13" height="12" hspace="5"></td>
155
               <%End If%>
154
               <%End If%>
156
            <%End If%>
155
            <%End If%>
157
              </tr>
156
              </tr>
158
         <%rsTemp.MoveNext
157
         <%rsTemp.MoveNext
159
          WEnd%>
158
          WEnd%>