| Line 489... |
Line 489... |
| 489 |
|
489 |
|
| 490 |
bis_patch = not IsNull(pkgInfoHash.Item ("is_patch"))
|
490 |
bis_patch = not IsNull(pkgInfoHash.Item ("is_patch"))
|
| 491 |
If bis_patch Then
|
491 |
If bis_patch Then
|
| 492 |
' the user can unlock a patch if they have permission
|
492 |
' the user can unlock a patch if they have permission
|
| 493 |
' packages can be unlocked by the btnUnlockRelease button
|
493 |
' packages can be unlocked by the btnUnlockRelease button
|
| 494 |
bcan_unlock = objAccessControl.IsDataActive ("PROJECTS", DB_PROJ_ID, "EditProjects") AND objAccessControl.IsActive("UnlockPatch")
|
494 |
bcan_unlock = canActionControlInProject("UnlockPatch")
|
| 495 |
Else
|
495 |
Else
|
| 496 |
bcan_unlock = objAccessControl.IsActive("EditCriticalInfoForLockedPackage")
|
496 |
bcan_unlock = canActionControlInProject("EditCriticalInfoForLockedPackage")
|
| 497 |
End If
|
497 |
End If
|
| 498 |
|
498 |
|
| 499 |
Select Case pkgInfoHash.Item ("dlocked")
|
499 |
Select Case pkgInfoHash.Item ("dlocked")
|
| 500 |
Case "Y" sstate = "Released"
|
500 |
Case "Y" sstate = "Released"
|
| 501 |
Case "N" sstate = "Not Released"
|
501 |
Case "N" sstate = "Not Released"
|
| Line 803... |
Line 803... |
| 803 |
<tr>
|
803 |
<tr>
|
| 804 |
<td width="20%" bgcolor=#e4e9ec class="sublbox_txt">
|
804 |
<td width="20%" bgcolor=#e4e9ec class="sublbox_txt">
|
| 805 |
<%
|
805 |
<%
|
| 806 |
' Previous Version
|
806 |
' Previous Version
|
| 807 |
sonclick="MM_openBrWindow(""_wform_change_previous_version.asp?rfile="& scriptName &"&pv_id="& parPv_id &"&rtag_id="& parRtag_id &""",""ChangeOwner"",""resizable=yes,width=400,height=200"")"
|
807 |
sonclick="MM_openBrWindow(""_wform_change_previous_version.asp?rfile="& scriptName &"&pv_id="& parPv_id &"&rtag_id="& parRtag_id &""",""ChangeOwner"",""resizable=yes,width=400,height=200"")"
|
| 808 |
If objAccessControl.IsActive("ChangePreviousVersion") Then
|
808 |
If canActionControlInProject("ChangePreviousVersion") Then
|
| 809 |
%>
|
809 |
%>
|
| 810 |
<a href='javascript:;' onClick=<%=sonclick%> class='body_txt'>
|
810 |
<a href='javascript:;' onClick=<%=sonclick%> class='body_txt'>
|
| 811 |
<strong>Previous Version:</strong><img src='images/i_edit.gif' width='12' height='12' border='0' alt='Edit'>
|
811 |
<strong>Previous Version:</strong><img src='images/i_edit.gif' width='12' height='12' border='0' alt='Edit'>
|
| 812 |
</a>
|
812 |
</a>
|
| 813 |
<%Else%>
|
813 |
<%Else%>
|
| Line 1272... |
Line 1272... |
| 1272 |
<fieldset class="fset"><legend class="body_colb"><img src='icons/i_pkg_ripple_type.gif' hspace='4' border='0' align='absmiddle' height='25' width='25'>Ripple Properties</legend>
|
1272 |
<fieldset class="fset"><legend class="body_colb"><img src='icons/i_pkg_ripple_type.gif' hspace='4' border='0' align='absmiddle' height='25' width='25'>Ripple Properties</legend>
|
| 1273 |
<a name="RIPPLE_PROPERTIES"></a>
|
1273 |
<a name="RIPPLE_PROPERTIES"></a>
|
| 1274 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
1274 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
| 1275 |
<tr>
|
1275 |
<tr>
|
| 1276 |
<td align="right" valign="bottom">
|
1276 |
<td align="right" valign="bottom">
|
| 1277 |
<%If (objAccessControl.IsVisible( "RipplePackage" ) AND pageIsEditable) OR criticalSectionIsEditable OR objAccessControl.IsVisible( "PegPackageVersions" ) Then%>
|
1277 |
<%If (canShowControlInProject( "RipplePackage" ) AND pageIsEditable) OR criticalSectionIsEditable OR canShowControlInProject( "PegPackageVersions" ) Then%>
|
| 1278 |
<a href='javascript:;' onClick="MM_openBrWindow('_wform_ripple_properties.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','RippleType','resizable=yes,width=800,height=500')" class="txt_linked">Edit<img src="images/i_edit.gif" width="12" height="12" hspace="2" border="0" align="absmiddle"></a>
|
1278 |
<a href='javascript:;' onClick="MM_openBrWindow('_wform_ripple_properties.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','RippleType','resizable=yes,width=800,height=500')" class="txt_linked">Edit<img src="images/i_edit.gif" width="12" height="12" hspace="2" border="0" align="absmiddle"></a>
|
| 1279 |
<%End If%>
|
1279 |
<%End If%>
|
| 1280 |
</td>
|
1280 |
</td>
|
| 1281 |
</tr>
|
1281 |
</tr>
|
| 1282 |
</table>
|
1282 |
</table>
|