| Line 772... |
Line 772... |
| 772 |
' Status:
|
772 |
' Status:
|
| 773 |
Dim sstate
|
773 |
Dim sstate
|
| 774 |
Dim bcan_unlock
|
774 |
Dim bcan_unlock
|
| 775 |
Dim stitle
|
775 |
Dim stitle
|
| 776 |
Dim bis_patch
|
776 |
Dim bis_patch
|
| 777 |
Dim slockonclick: slockonclick=""
|
- |
|
| 778 |
Dim spkgType
|
777 |
Dim spkgType
|
| 779 |
|
778 |
|
| 780 |
bis_patch = not IsNull(pkgInfoHash.Item ("is_patch"))
|
779 |
bis_patch = not IsNull(pkgInfoHash.Item ("is_patch"))
|
| 781 |
If bis_patch Then
|
780 |
If bis_patch Then
|
| 782 |
' the user can unlock a patch if they have permission
|
781 |
' the user can unlock a patch if they have permission
|
| Line 819... |
Line 818... |
| 819 |
End if
|
818 |
End if
|
| 820 |
%>
|
819 |
%>
|
| 821 |
|
820 |
|
| 822 |
<tr>
|
821 |
<tr>
|
| 823 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top">
|
822 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top">
|
| 824 |
<% If bcan_unlock Then
|
823 |
<% If bcan_unlock Then %>
|
| 825 |
If (slockonclick = "") Then%>
|
- |
|
| 826 |
<a class='body_txt' title='<%=stitle%>' href='<%=shref%>' > <strong>Status:</strong><img src='images/i_edit.gif' width='12' height='12' border='0' ></a>
|
824 |
<a class='sublbox_txt' title='<%=stitle%>' href='<%=shref%>'> <b>Status:</b><img src='images/i_edit.gif' width='12' height='12' border='0' ></a>
|
| 827 |
<% Else %>
|
- |
|
| 828 |
<a href='<%=shref%>' onClick='<%=slockonclick%>' class='body_txt' title='<%=stitle%>'> <strong>Status:</strong> <img src='images/i_edit.gif' width='12' height='12' border='0' ></a>
|
- |
|
| 829 |
<% End If %>
|
- |
|
| 830 |
<% Else %>
|
825 |
<% Else %>
|
| 831 |
<strong>Status:</strong><img src='images/i_edit_disable.gif' width='12' height='12' border='0' alt='Edit'>
|
826 |
<b>Status:</b><img src='images/i_edit_disable.gif' width='12' height='12' border='0' title='Cannot change status'>
|
| 832 |
<% End If %>
|
827 |
<% End If %>
|
| 833 |
</td>
|
828 |
</td>
|
| 834 |
<td bgcolor=#f5f5f5 class="sublbox_txt"><%=sstate%></td>
|
829 |
<td bgcolor=#f5f5f5 class="sublbox_txt"><%=sstate%></td>
|
| 835 |
</tr>
|
830 |
</tr>
|
| 836 |
|
831 |
|
| Line 865... |
Line 860... |
| 865 |
sonclick="MM_openVixIFrame('_wform_change_licence.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id &"','Change License')"
|
860 |
sonclick="MM_openVixIFrame('_wform_change_licence.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id &"','Change License')"
|
| 866 |
%>
|
861 |
%>
|
| 867 |
<tr>
|
862 |
<tr>
|
| 868 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top">
|
863 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top">
|
| 869 |
<%If canActionControlInProject ("EditPackageLicence") OR canActionControl("MSMaintainer") Then%>
|
864 |
<%If canActionControlInProject ("EditPackageLicence") OR canActionControl("MSMaintainer") Then%>
|
| 870 |
<a href='javascript:;' onClick="<%=sonclick%>" class='body_txt'>
|
865 |
<a href='javascript:;' onClick="<%=sonclick%>" class='sublbox_txt'>
|
| 871 |
<b>Package Licence:</b>
|
866 |
<b>Package Licence:</b>
|
| 872 |
<img src='images/i_edit.gif' width='12' height='12' border='0'>
|
867 |
<img src='images/i_edit.gif' width='12' height='12' border='0'>
|
| 873 |
</a>
|
868 |
</a>
|
| 874 |
<%Else%>
|
869 |
<%Else%>
|
| 875 |
<b>Package Licence:</b>
|
870 |
<b>Package Licence:</b>
|
| Line 891... |
Line 886... |
| 891 |
%>
|
886 |
%>
|
| 892 |
|
887 |
|
| 893 |
<tr>
|
888 |
<tr>
|
| 894 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top">
|
889 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top">
|
| 895 |
<%If objAccessControl.UserLogedIn() AND NOT pkgInfoHash.Item("is_sdkpkg") Then%>
|
890 |
<%If objAccessControl.UserLogedIn() AND NOT pkgInfoHash.Item("is_sdkpkg") Then%>
|
| 896 |
<a href='javascript:;' onClick="<%=sonclick%>" class='body_txt'>
|
891 |
<a href='javascript:;' onClick="<%=sonclick%>" class='sublbox_txt'>
|
| 897 |
<strong>Owner:</strong><img src='images/i_edit.gif' width='12' height='12' border='0' alt='Change owner'>
|
892 |
<strong>Owner:</strong><img src='images/i_edit.gif' width='12' height='12' border='0' alt='Change owner'>
|
| 898 |
</a>
|
893 |
</a>
|
| 899 |
<%Else%>
|
894 |
<%Else%>
|
| 900 |
<strong>Owner:</strong><img src='images/i_edit_disable.gif' width='12' height='12' border='0' alt='Change owner'>
|
895 |
<strong>Owner:</strong><img src='images/i_edit_disable.gif' width='12' height='12' border='0' alt='Change owner'>
|
| 901 |
<%End If%>
|
896 |
<%End If%>
|
| Line 1032... |
Line 1027... |
| 1032 |
</td>
|
1027 |
</td>
|
| 1033 |
</tr>
|
1028 |
</tr>
|
| 1034 |
<%End If%>
|
1029 |
<%End If%>
|
| 1035 |
|
1030 |
|
| 1036 |
<tr>
|
1031 |
<tr>
|
| 1037 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top"><b>Base View:</b></td>
|
1032 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top">
|
| - |
|
1033 |
<%If (pkgInfoHash.Item("can_edit_in_project") <> "1") OR (NOT objAccessControl.UserLogedIn) OR (NOT canActionInProject()) OR pkgInfoHash.Item("base_view_id") = "" Then %>
|
| - |
|
1034 |
<b>Base View:</b>
|
| - |
|
1035 |
<img src='images/i_edit_disable.gif' width='12' height='12' border='0'>
|
| - |
|
1036 |
<%Else%>
|
| - |
|
1037 |
<%Dim bonclick : bonclick ="MM_openVixIFrame('_wform_change_group.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id &"','Set Package Base View')"%>
|
| - |
|
1038 |
<a href='javascript:;' onClick="<%=bonclick%>" class='sublbox_txt'>
|
| - |
|
1039 |
<b>Base View:</b>
|
| - |
|
1040 |
<img src='images/i_edit.gif' width='12' height='12' border='0'>
|
| - |
|
1041 |
</a>
|
| - |
|
1042 |
<%End If%>
|
| - |
|
1043 |
</td>
|
| 1038 |
<td bgcolor=#f5f5f5 class="sublbox_txt clip">
|
1044 |
<td bgcolor=#f5f5f5 class="sublbox_txt clip">
|
| 1039 |
<%=Get_Pkg_Base_View ( parPv_id, parRtag_id )%>
|
1045 |
<%=Get_Pkg_Base_View ( parPv_id, parRtag_id )%>
|
| 1040 |
</td>
|
1046 |
</td>
|
| 1041 |
</tr>
|
1047 |
</tr>
|
| 1042 |
|
1048 |
|