Subversion Repositories DevTools

Rev

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

Rev 5506 Rev 5590
Line 1... Line 1...
1
<%@LANGUAGE="VBSCRIPT"%>
1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
2
<%
-
 
3
'=====================================================
-
 
4
'|
-
 
5
'|  _wform_change_group.asp
-
 
6
'|      Move a package-version to a different base view
-
 
7
'|      This page is designed to operation within an iframe
-
 
8
'|
-
 
9
'=====================================================
-
 
10
%>
-
 
11
<%
3
Option explicit
12
Option explicit
4
Response.Expires = 0	' always load the page, dont store
13
Response.Expires = 0	' always load the page, dont store
5
%>
14
%>
6
<%
15
<%
7
'=====================================================
16
'=====================================================
Line 91... Line 100...
91
%>
100
%>
92
<%
101
<%
93
'Process submition
102
'Process submition
94
If CBool(QStrPar("action")) AND (QStrPar("btn") = "Update") AND objAccessControl.UserLogedIn Then
103
If CBool(QStrPar("action")) AND (QStrPar("btn") = "Update") AND objAccessControl.UserLogedIn Then
95
	Call Update_Pkg_Category ( QStrPar("rtag_id"), QStrPar("pv_id"), QStrPar("group_id") )
104
	Call Update_Pkg_Category ( QStrPar("rtag_id"), QStrPar("pv_id"), QStrPar("group_id") )
96
	Call OpenInParentWindow ("dependencies.asp?pv_id="& QStrPar("pv_id") &"&rtag_id="& QStrPar("rtag_id") )
105
	Call OpenInParentWindow ("fixed_issues.asp?pv_id="& QStrPar("pv_id") &"&rtag_id="& QStrPar("rtag_id") )
97
	Call CloseWindow
106
    Call CloseWindow
98
End If
107
End If
99
%>
108
%>
100
<%
109
<%
101
Call Get_Pkg_Info_From_Rel ( parRtag_id, parPv_id )
110
Call Get_Pkg_Info_From_Rel ( parRtag_id, parPv_id )
102
%>
111
%>
Line 111... Line 120...
111
<script language="JavaScript" src="images/tipster.js"></script>
120
<script language="JavaScript" src="images/tipster.js"></script>
112
<script language="JavaScript" src="images/_help_tips.js"></script>
121
<script language="JavaScript" src="images/_help_tips.js"></script>
113
<script language="JavaScript" src="images/common.js"></script>
122
<script language="JavaScript" src="images/common.js"></script>
114
</head>
123
</head>
115
 
124
 
116
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();">
125
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
117
<form name="chgroup" method="post" action="<%=scriptName%>">
126
<form name="chgroup" method="post" action="<%=scriptName%>" class="form_tight">
118
  <table width="100%" border="0" cellspacing="0" cellpadding="2" height="100%">
127
  <table border="0" cellspacing="0" cellpadding="2" >
119
    <tr> 
-
 
120
      <td background="images/lbox_bg_orange.gif" width="1%" height="1%"><img src="images/i_change_group_off.gif" width="22" height="25" hspace="5"></td>
-
 
121
      <td background="images/lbox_bg_blue.gif" nowrap width="50%" class="wform_ttl">&nbsp;Move Package</td>
-
 
122
      <td background="images/lbox_bg_blue.gif" align="right" width="50%"> 
-
 
123
        <input type="submit" name="btn" value="Update" class="form_btn_comp">
-
 
124
        <input type="reset" name="btn" value="Cancel" class="form_btn_comp" onclick="self.close()">
-
 
125
      </td>
-
 
126
      <td background="images/lbox_bg_blue.gif" align="right" width="1%%" nowrap> 
-
 
127
        <img src="images/h_trsp_dot.gif" width="5" height="22"> </td>
-
 
128
    </tr>
-
 
129
    <tr> 
128
    <tr> 
130
      <td height="100%" width="1%">&nbsp;</td>
-
 
131
      <td valign="top" nowrap colspan="3" class="wform_ttl" background="images/bg_form_lightgray.gif"> 
129
      <td valign="top" nowrap colspan="3" class="wform_ttl" background="images/bg_form_lightgray.gif"> 
132
        <table width="100%" border="0" cellspacing="1" cellpadding="2">
130
        <table width="100%" border="0" cellspacing="1" cellpadding="2">
133
          <tr> 
131
          <tr> 
134
            <td width="1%"><img src="images/h_trsp_dot.gif" width="10" height="30"></td>
-
 
135
            <td width="1%" nowrap class="form_group" valign="bottom">PACKAGE DETAILS</td>
132
            <td width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">Package</td>
136
            <td nowrap width="100%">&nbsp; </td>
-
 
137
          </tr>
-
 
138
          <tr> 
-
 
139
            <td width="1%">&nbsp;</td>
-
 
140
            <td width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">Package<a href="#" onMouseOver="formTips.show('group')" onMouseOut="formTips.hide()"></a></td>
-
 
141
            <td nowrap width="100%" background="images/bg_form_lightbluedark.gif" class="form_txt"> 
133
            <td nowrap width="100%" background="images/bg_form_lightbluedark.gif" class="form_txt"> 
142
              <%=pkgInfoHash.Item ("pkg_name") &" "& pkgInfoHash.Item ("pkg_version")%></td>
134
              <%=pkgInfoHash.Item ("pkg_name") &" "& pkgInfoHash.Item ("pkg_version")%></td>
143
          </tr>
135
          </tr>
144
          <tr> 
136
          <tr> 
145
            <td width="1%">&nbsp;</td>
-
 
146
            <td width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">Base View<a href="#" onMouseOver="formTips.show('group')" onMouseOut="formTips.hide()"><img src="images/i_help.gif" width="12" height="12" hspace="2" align="absmiddle" border="0" ></a></td>
137
            <td width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">Base View<a href="#" onMouseOver="formTips.show('group')" onMouseOut="formTips.hide()"><img src="images/i_help.gif" width="12" height="12" hspace="2" align="absmiddle" border="0" ></a></td>
147
            <td nowrap width="100%" background="images/bg_form_lightbluedark.gif">
138
            <td nowrap width="100%" background="images/bg_form_lightbluedark.gif">
148
			<select name="group_id" class="form_item">
139
			<select name="group_id" class="form_item">
149
            <%Call Get_All_Base_Views( CInt(pkgInfoHash.Item("base_view_id")), parPv_id )%>
140
            <%Call Get_All_Base_Views( CInt(pkgInfoHash.Item("base_view_id")), parPv_id )%>
150
			</select>
141
			</select>
Line 156... Line 147...
156
            <input type="hidden" name="pv_id" value="<%=parPv_id%>">
147
            <input type="hidden" name="pv_id" value="<%=parPv_id%>">
157
			<input type="hidden" name="rtag_id" value="<%=parRtag_id%>">
148
			<input type="hidden" name="rtag_id" value="<%=parRtag_id%>">
158
			<input type="hidden" name="action" value="true">
149
			<input type="hidden" name="action" value="true">
159
            </td>
150
            </td>
160
          </tr>
151
          </tr>
161
          <tr> 
-
 
162
            <td width="1%">&nbsp;</td>
-
 
163
            <td width="1%" nowrap class="form_field"><img src="images/h_trsp_dot.gif" width="100" height="10"></td>
-
 
164
            <td nowrap width="100%"> 
-
 
165
              <p>&nbsp;</p>
-
 
166
            </td>
-
 
167
          </tr>
-
 
168
        </table>
152
        </table>
169
      </td>
153
      </td>
170
    </tr>
154
    </tr>
171
    <tr>
155
    <tr> 
-
 
156
      <td align="right"> 
172
      <td height="1%" width="1%"><img src="images/h_trsp_dot.gif" width="5" height="5"></td>
157
        <input type="submit" name="btn" value="Update" class="form_btn_comp">
173
      <td valign="top" nowrap colspan="3" class="wform_ttl" background="images/lbox_bg_blue.gif"></td>
158
        <input type="reset" name="btn" value="Cancel" class="form_btn_comp" onclick="parent.closeIFrame();">
-
 
159
      </td>
174
    </tr>
160
    </tr>
175
  </table>
161
  </table>
176
</form>
162
</form>
177
<!-- TIPS LAYERS -------------------------------------->
163
<!-- TIPS LAYERS -------------------------------------->
178
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
164
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>