Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 ghuddy 1
<%
2
'=====================================================
3
'					Action Buttons
4
'=====================================================
5
%>
6
<%Sub Action_Buttons ( SSwithTab )%>
7
	<%Select Case SSwithTab%>
8
	<%Case "Build Dependencies"%>
9
	    <table width="10" border="0" cellspacing="10">
10
	     <tr> 
11
		   <%If ( (pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R") )   Then%>
12
		   <td align="center" nowrap valign="bottom"><a href="form_search_pkgs.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&add_type=<%=enum_ADD_DEPENDENCIES%>" class="abtnItem"><img src="images/i_add_deps.gif" width="22" height="25" align="absmiddle" border="0" hspace="3" alt="Add dependency to the list.">Add</a></td>
13
		   <td align="center" nowrap valign="bottom"><a href="form_edit_deps.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>" class="abtnItem"><img src="images/i_edit_deps.gif" width="23" height="24" align="absmiddle" border="0" hspace="3" alt="Edit dependency list.">Edit</a></td>
14
		   <td align="center" nowrap valign="bottom"><a href="form_update_<%=Get_Devl_Envorinment%>_dependencies.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>" class="abtnItem"><img src="images/i_import_on.gif" width="22" height="22" align="absmiddle" border="0" hspace="3" alt="Import dependency list from your build file.">Import</a></td>
15
		   <%End If%>
16
	       <td align="center" nowrap valign="bottom"><a href="form_export_<%=Get_Devl_Envorinment%>_dependencies.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>" class="abtnItem"><img src="images/i_export_on.gif" width="22" height="22" align="absmiddle" border="0" hspace="3" alt="Export this dependency list to be used in your build file.">Export</a></td>
17
	     </tr>
18
	   </table>
19
   <%Case "Runtime Dependencies"%>
20
   <%If IsNull(pkgInfoHash.Item ("is_patch"))Then%>
21
	    <table width="10" border="0" cellspacing="10">
22
	     <tr> 
23
		   <%If (pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R")  Then%>
24
		   <td align="center" nowrap valign="bottom"><a href="form_search_pkgs.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&add_type=<%=enum_ADD_RUNTIME_DEPENDENCIES%>" class="abtnItem"><img src="images/i_add_deps.gif" width="22" height="25" align="absmiddle" border="0" hspace="3" alt="Add runtime dependency to the list.">Add</a></td>
25
		   <%End If%>
26
	     </tr>
27
	   </table>
28
   <%End If%>
29
   <%Case "Patches"%>
30
    <table width="10" border="0" cellspacing="10">
31
     <tr>
32
	   <%If pkgInfoHash.Item ("dlocked") = "Y" AND NOT (ReleaseMode = enumDB_RELEASE_IN_CLOSED_MODE) Then%>
33
	   <td align="center" nowrap valign="bottom"><a href="javascript:;" onClick="MM_openBrWindow('_wform_new_patch.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','NewPatch','resizable=yes,scrollbars=yes,width=600,height=400')" class="abtnItem"><img src="images/i_add_patch.gif" width="23" height="25" align="absmiddle" border="0" hspace="3" alt="Add a patch to this package.">Add</a></td>
34
	   <td align="center" nowrap valign="bottom"><a href="javascript:;" onClick="MM_openBrWindow('_wform_obsolete_all_patches.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','ObsoletePatches','resizable=yes,scrollbars=yes,width=500,height=800')" class="abtnItem"><img src="images/abtn_obsolete_patch.gif" width="23" height="25" align="absmiddle" border="0" hspace="3" alt="Obsolete patches in one go.">Roll-up Obsolete Patches</a></td>
35
	   <%	If objAccessControl.IsVisible("ReleasePatch") Then%>
36
		   <td align="center" nowrap valign="bottom"><a href="javascript:;" onClick="MM_openBrWindow('_wform_make_release_bulk_patches.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','BulkReleasePatches','resizable=yes,scrollbars=yes,width=355,height=600')" class="abtnItem"><img src="images/abtn_make_release_bulk_patches.gif" width="25" height="25" align="absmiddle" border="0" hspace="3" alt="Make Release patches in one go.">Make Release Bulk Patches</a></td>
37
	   <%	End If%>	
38
	   <%End If%>
39
     </tr>
40
   </table>
41
   <%Case "Release Notes"%>
42
   <table width="10" border="0" cellspacing="10">
43
     <tr>
44
	 <%If (pkgInfoHash.Item ("dlocked") = "Y") AND (InStr(pkgInfoHash.Item ("release_notes_info"),"MSG:") < 1) AND NOT IsNull(pkgInfoHash.Item ("release_notes_info")) Then%> 
45
	   <td align="center" nowrap valign="bottom"><a href="<%=enumHTTP_PKG_ARCHIVE & pkgInfoHash.Item ("release_notes_info")%>" class="abtnItem"><img src="images/btn_download.gif" width="22" height="22" align="absmiddle" border="0" hspace="3" alt="Download full release notes.">Download</a></td>
46
	 <%Else%>
47
	   <td align="center" nowrap valign="bottom" class="abtnItem"><img src="images/btn_download_off.gif" width="22" height="22" align="absmiddle" border="0" hspace="3"><label disabled>Download</label></td>
48
	 <%End If%>
49
     </tr>
50
   </table>
51
   <%Case "Documentation"%>
52
   <table width="10" border="0" cellspacing="10">
53
     <tr>
54
	 	<td align="center" nowrap valign="bottom"><a href="javascript:;" onClick="MM_openBrWindow('_wform_import_docs.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','ImportDocs','resizable=yes,width=600,height=220')" class="abtnItem"><img src="images/i_import_on.gif" width="22" height="22" align="absmiddle" border="0" hspace="3" title="Import document details from ERG document repository">Import From Document Repository</a></td>
55
     </tr>
56
   </table>
57
   <%Case "Add Process"%>
58
   <table width="10" border="0" cellspacing="10">
59
     <tr>
60
	<%If (pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R")  Then%>	 
61
	 	<td align="center" nowrap valign="bottom"><a href="javascript:;" onClick="MM_openBrWindow('wAddProc.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','ImportDocs','resizable=yes,width=800,height=500')" class="abtnItem"><img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert processes associated with the package.">Add Process</a></td>
62
	<%End If%>	
63
     </tr>
64
   </table>  
65
   <%Case "Add GBE_MACHTYPE"%> 
66
   <table width="10" border="0" cellspacing="10">
67
     <tr>
68
	 	<td align="center" nowrap valign="bottom"><a href="javascript:;" onClick="MM_openBrWindow('wAddMachtype.asp','AddGBETYPE','resizable=yes,width=600,height=220')" class="abtnItem"><img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New GBE_MACHTYPE">Add GBE_MACHTYPE</a></td>
69
     </tr>
70
   </table>   
71
   <%Case "Add Daemon"%> 
72
   <table width="10" border="0" cellspacing="10">
73
     <tr>
74
	 	<td align="center" nowrap valign="bottom"><a href="javascript:;" onClick="MM_openBrWindow('wAddDaemon.asp?rtag_id=<%=parRtag_id%>','AddDaemon','resizable=yes,width=600,height=220')" class="abtnItem"><img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Daemon">Add Daemon</a></td>
75
     </tr>
76
   </table>     
77
 
78
   <%Case "Add Schedule"%> 
79
   <table width="10" border="0" cellspacing="10">
80
     <tr>
81
	 	<td align="center" nowrap valign="bottom"><a href="javascript:;" onClick="MM_openBrWindow('wAddSchedule.asp','AddSchedule','resizable=yes,width=450,height=270')" class="abtnItem"><img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Schedule">Add Schedule</a></td>
82
     </tr>
83
   </table> 
84
 
85
   <%Case "Indefinite Pause"%> 
86
   <table width="10" border="0" cellspacing="10">
87
     <tr>
88
	 	<td align="center" nowrap valign="bottom"><a href="_setInfinitePause.asp" class="abtnItem"><img src="icons/tpause.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Indefinite Pause">Set Indefinite Pause</a></td>
89
     </tr>
90
   </table>  
91
 
92
   <%Case "Resume"%> 
93
   <table width="10" border="0" cellspacing="10">
94
     <tr>
95
	 	<td align="center" nowrap valign="bottom"><a href="_setResume.asp" class="abtnItem"><img src="icons/tplay.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Resume">Set Resume</a></td>
96
     </tr>
97
   </table>  
98
 
99
 
100
   <%Case "Daemon Pause"%> 
101
   <table width="10" border="0" cellspacing="10">
102
     <tr>
103
	 	<td align="center" nowrap valign="bottom">
104
	 		<a href="_setDaemonPause.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
105
	 		<img src="icons/tpause.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Daemon Pause">
106
	 		</a>
107
	 	</td>
108
     </tr>
109
   </table>
110
 
111
	<%Case "Daemon Pause Disabled"%> 
112
	<table width="10" border="0" cellspacing="10">
113
	 <tr>
114
		<td align="center" nowrap valign="bottom">
115
		<img src="icons/tpause.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Daemon Pause">
116
		</td>
117
	 </tr>
118
	</table>  
119
 
120
   <%Case "Daemon Resume"%> 
121
   <table width="10" border="0" cellspacing="10">
122
     <tr>
123
	 	<td align="center" nowrap valign="bottom">
124
	 		<a href="_setDaemonResume.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
125
	 		<img src="icons/tplay.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Daemon Resume">
126
	 		</a>
127
	 	</td>
128
     </tr>
129
   </table>
130
 
131
	<%Case "Daemon Resume Disabled"%> 
132
	<table width="10" border="0" cellspacing="10">
133
	 <tr>
134
		<td align="center" nowrap valign="bottom"><img src="icons/tplay.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Daemon Resume"></td>
135
	 </tr>
136
	</table>	            
137
   <%End Select%>
138
<%End Sub%>