| Line 8... |
Line 8... |
| 8 |
|
8 |
|
| 9 |
Sub Action_Buttons_State ( SSwithTab, bState )
|
9 |
Sub Action_Buttons_State ( SSwithTab, bState )
|
| 10 |
Dim isClosed, isSDK, isActive
|
10 |
Dim isClosed, isSDK, isActive
|
| 11 |
isClosed = (releaseIsClosed(ReleaseMode))
|
11 |
isClosed = (releaseIsClosed(ReleaseMode))
|
| 12 |
isActive = TRUE
|
12 |
isActive = TRUE
|
| - |
|
13 |
|
| 13 |
Select Case SSwithTab%>
|
14 |
Select Case SSwithTab%>
|
| 14 |
<%Case "Build Dependencies"%>
|
15 |
<%Case "Build Dependencies"%>
|
| 15 |
<table width="10" border="0" cellspacing="10">
|
16 |
<table width="10" border="0" cellspacing="10">
|
| 16 |
<tr>
|
17 |
<tr>
|
| 17 |
<% isActive = NOT isClosed AND NOT pkgInfoHash.Item ("is_sdkpkg") AND ( (pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R") OR criticalSectionIsEditable )
|
18 |
<% isActive = NOT isClosed AND NOT pkgInfoHash.Item ("is_sdkpkg") AND ( (pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R") OR criticalSectionIsEditable )
|
| 18 |
BuildActionButton isActive, "Add", "Add dependency to the list.", _
|
19 |
BuildActionButtonLink isActive, "Add", "Add dependency to the list.", _
|
| 19 |
"src='images/i_add_deps.gif' width='22' height='25' align='absmiddle' border='0' hspace='3'", _
|
20 |
"src='images/i_add_deps.gif' width='22' height='25' align='absmiddle' border='0' hspace='3'", _
|
| 20 |
"form_search_pkgs.asp?pv_id=" & parPv_id & "&rtag_id=" & parRtag_id & "&add_type=" & enum_ADD_DEPENDENCIES
|
21 |
"form_search_pkgs.asp?pv_id=" & parPv_id & "&rtag_id=" & parRtag_id & "&add_type=" & enum_ADD_DEPENDENCIES
|
| 21 |
|
22 |
|
| 22 |
BuildActionButton isActive, "Edit", "Edit dependency list.", _
|
23 |
BuildActionButtonLink isActive, "Edit", "Edit dependency list.", _
|
| 23 |
"src='images/i_edit_deps.gif' width='23' height='24' align='absmiddle' border='0' hspace='3'", _
|
24 |
"src='images/i_edit_deps.gif' width='23' height='24' align='absmiddle' border='0' hspace='3'", _
|
| 24 |
"form_edit_deps.asp?pv_id=" & parPv_id & "&rtag_id=" & parRtag_id
|
25 |
"form_edit_deps.asp?pv_id=" & parPv_id & "&rtag_id=" & parRtag_id
|
| 25 |
|
26 |
|
| 26 |
BuildActionButton isActive, "Import", "Import dependency list from your build file.", _
|
27 |
BuildActionButtonLink isActive, "Import", "Import dependency list from your build file.", _
|
| 27 |
"src='images/i_import_on.gif' width='22' height='22' align='absmiddle' border='0' hspace='3'", _
|
28 |
"src='images/i_import_on.gif' width='22' height='22' align='absmiddle' border='0' hspace='3'", _
|
| 28 |
"form_update_"&Get_Devl_Environment&"_dependencies.asp?pv_id="&parPv_id&"&rtag_id="&parRtag_id
|
29 |
"form_update_"&Get_Devl_Environment&"_dependencies.asp?pv_id="&parPv_id&"&rtag_id="&parRtag_id
|
| 29 |
|
30 |
|
| 30 |
BuildActionButton TRUE, "Export", "Export this dependency list to be used in your build file.", _
|
31 |
BuildActionButtonLink TRUE, "Export", "Export this dependency list to be used in your build file.", _
|
| 31 |
"src='images/i_export_on.gif' width='22' height='22' align='absmiddle' border='0' hspace='3'", _
|
32 |
"src='images/i_export_on.gif' width='22' height='22' align='absmiddle' border='0' hspace='3'", _
|
| 32 |
"form_export_"&Get_Devl_Environment&"_dependencies.asp?pv_id="&parPv_id&"&rtag_id="&parRtag_id%>
|
33 |
"form_export_"&Get_Devl_Environment&"_dependencies.asp?pv_id="&parPv_id&"&rtag_id="&parRtag_id%>
|
| 33 |
</tr>
|
34 |
</tr>
|
| 34 |
</table>
|
35 |
</table>
|
| 35 |
|
36 |
|
| Line 40... |
Line 41... |
| 40 |
BuildActionButton isActive, "Add", "Add runtime dependency to the list.", _
|
41 |
BuildActionButton isActive, "Add", "Add runtime dependency to the list.", _
|
| 41 |
"src='images/i_add_deps.gif' width='22' height='25' align='absmiddle' border='0' hspace='3'", _
|
42 |
"src='images/i_add_deps.gif' width='22' height='25' align='absmiddle' border='0' hspace='3'", _
|
| 42 |
"form_search_pkgs.asp?pv_id=" & parPv_id & "&rtag_id=" & parRtag_id & "&add_type=" & enum_ADD_RUNTIME_DEPENDENCIES%>
|
43 |
"form_search_pkgs.asp?pv_id=" & parPv_id & "&rtag_id=" & parRtag_id & "&add_type=" & enum_ADD_RUNTIME_DEPENDENCIES%>
|
| 43 |
</tr>
|
44 |
</tr>
|
| 44 |
</table>
|
45 |
</table>
|
| 45 |
|
- |
|
| - |
|
46 |
<!-- Not currently used -->
|
| 46 |
<%Case "Used By"%>
|
47 |
<!-- <%Case "Used By"%> -->
|
| 47 |
<table width="10" border="0" cellspacing="10">
|
48 |
<!-- <table width="10" border="0" cellspacing="10"> -->
|
| 48 |
<tr>
|
- |
|
| - |
|
49 |
<!-- <tr> -->
|
| 49 |
<%isActive = IsNull(pkgInfoHash.Item ("is_patch"))
|
50 |
<!-- isActive = IsNull(pkgInfoHash.Item ("is_patch")) -->
|
| 50 |
BuildActionButton isActive, "Show All", "Show the complete list packages that use this package", _
|
51 |
<!-- BuildActionButton isActive, "Show All", "Show the complete list packages that use this package", _ -->
|
| 51 |
"src='images/i_used_by_large.gif' width='22' height='25' align='absmiddle' border='0' hspace='3'", _
|
52 |
<!-- "src='images/i_used_by_large.gif' width='22' height='25' align='absmiddle' border='0' hspace='3'", _ -->
|
| 52 |
"used_by_all.asp?pv_id=" & parPv_id & "&rtag_id=" & parRtag_id %>
|
53 |
<!-- "used_by_all.asp?pv_id=" & parPv_id & "&rtag_id=" & parRtag_id -->
|
| - |
|
54 |
<!-- -->
|
| 53 |
</tr>
|
55 |
<!-- BuildActionButton isActive, "Show All Depends", "Show the complete list packages that are requred to build this package", _-->
|
| 54 |
</table>
|
56 |
<!-- "src='images/i_used_by_large.gif' width='22' height='25' align='absmiddle' border='0' hspace='3'", _ -->
|
| - |
|
57 |
<!-- "dependencies_all.asp?pv_id=" & parPv_id & "&rtag_id=" & parRtag_id -->
|
| - |
|
58 |
<!-- </tr> -->
|
| - |
|
59 |
<!-- </table> -->
|
| 55 |
|
60 |
|
| 56 |
<%Case "Patches"%>
|
61 |
<%Case "Patches"%>
|
| 57 |
<table width="10" border="0" cellspacing="10">
|
62 |
<table width="10" border="0" cellspacing="10">
|
| 58 |
<tr>
|
63 |
<tr>
|
| 59 |
<%If NOT isClosed AND NOT pkgInfoHash.Item ("is_sdkpkg") AND (pkgInfoHash.Item ("dlocked") = "Y") Then%>
|
64 |
<%If NOT isClosed AND NOT pkgInfoHash.Item ("is_sdkpkg") AND (pkgInfoHash.Item ("dlocked") = "Y") Then
|
| - |
|
65 |
|
| 60 |
<td align="center" nowrap valign="bottom">
|
66 |
BuildActionButtonClick TRUE, "Add", "Add a patch to this package.", FALSE, _
|
| 61 |
<a href="javascript:;" onClick="MM_openVixIFrame('_wform_new_patch.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','New Patch')" class="abtnItem">
|
67 |
"src='images/i_add_patch.gif' width='23' height='25' align='absmiddle' border='0' hspace='3'", _
|
| 62 |
<img src="images/i_add_patch.gif" width="23" height="25" align="absmiddle" border="0" hspace="3" title="Add a patch to this package.">
|
68 |
"MM_openVixIFrame('_wform_new_patch.asp?pv_id="&parPv_id&"&rtag_id="&parRtag_id&"','New Patch')"
|
| 63 |
Add
|
- |
|
| 64 |
</a>
|
- |
|
| 65 |
</td>
|
- |
|
| 66 |
|
69 |
|
| 67 |
<td align="center" nowrap valign="bottom">
|
- |
|
| 68 |
<a href="javascript:;" onClick="MM_openVixIFrame('_wform_obsolete_all_patches.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','Obsolete Patches')" class="abtnItem">
|
70 |
BuildActionButtonClick TRUE, "Roll-up Obsolete Patches", "Obsolete patches in one go.", FALSE, _
|
| 69 |
<img src="images/abtn_obsolete_patch.gif" width="23" height="25" align="absmiddle" border="0" hspace="3" title="Obsolete patches in one go.">
|
71 |
"src='images/abtn_obsolete_patch.gif' width='23' height='25' align='absmiddle' border='0' hspace='3'", _
|
| 70 |
Roll-up Obsolete Patches
|
72 |
"MM_openVixIFrame('_wform_obsolete_all_patches.asp?pv_id="&parPv_id&"&rtag_id="&parRtag_id&"','Obsolete Patches')"
|
| 71 |
</a>
|
- |
|
| 72 |
</td>
|
- |
|
| 73 |
|
73 |
|
| 74 |
<%If canShowControlInProject("ReleasePatch") Then%>
|
74 |
If canShowControlInProject("ReleasePatch") Then
|
| 75 |
<td align="center" nowrap valign="bottom">
|
- |
|
| 76 |
<a href="javascript:;" onClick="MM_openVixIFrame('_wform_make_release_bulk_patches.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','Bulk Patch Release')" class="abtnItem">
|
75 |
BuildActionButtonClick isActive, "Make Release Bulk Patches", "Make Release patches in one go.", FALSE, _
|
| 77 |
<img src="images/abtn_make_release_bulk_patches.gif" width="25" height="25" align="absmiddle" border="0" hspace="3" title="Make Release patches in one go.">
|
76 |
"src='images/abtn_make_release_bulk_patches.gif' width='23' height='25' align='absmiddle' border='0' hspace='3'", _
|
| 78 |
Make Release Bulk Patches
|
77 |
"MM_openVixIFrame('_wform_make_release_bulk_patches.asp?pv_id="&parPv_id&"&rtag_id="&parRtag_id&"','Bulk Patch Release')"
|
| 79 |
</a>
|
- |
|
| 80 |
</td>
|
- |
|
| 81 |
<%End If%>
|
78 |
End If
|
| 82 |
<%End If%>
|
79 |
End If%>
|
| 83 |
</tr>
|
80 |
</tr>
|
| 84 |
</table>
|
81 |
</table>
|
| 85 |
|
82 |
|
| 86 |
<%Case "Release Notes"%>
|
83 |
<%Case "Release Notes"%>
|
| 87 |
<table width="10" border="0" cellspacing="10">
|
84 |
<table width="10" border="0" cellspacing="10">
|
| 88 |
<tr>
|
85 |
<tr>
|
| 89 |
<%
|
86 |
<%
|
| 90 |
IsActive = (pkgInfoHash.Item ("dlocked") = "Y") AND (InStr(pkgInfoHash.Item ("release_notes_info"),"MSG:") < 1) AND NOT IsNull(pkgInfoHash.Item ("release_notes_info"))
|
87 |
IsActive = (pkgInfoHash.Item ("dlocked") = "Y") AND (InStr(pkgInfoHash.Item ("release_notes_info"),"MSG:") < 1) AND NOT IsNull(pkgInfoHash.Item ("release_notes_info"))
|
| 91 |
BuildActionButton isActive, "Download", "Download full release notes.", _
|
88 |
BuildActionButtonLink isActive, "Download", "Download full release notes.", _
|
| 92 |
"src='images/btn_download.gif' width='22' height='22' align='absmiddle' border='0' hspace='3'", _
|
89 |
"src='images/btn_download.gif' width='22' height='22' align='absmiddle' border='0' hspace='3'", _
|
| 93 |
HTTP_PKG_ARCHIVE & pkgInfoHash.Item ("release_notes_info")
|
90 |
HTTP_PKG_ARCHIVE & pkgInfoHash.Item ("release_notes_info")
|
| 94 |
|
91 |
|
| 95 |
IsActive = canActionControlInProject("EditCriticalInfoForLockedPackage") AND NOT isClosed AND ((pkgInfoHash.Item ("dlocked") = "Y") AND (pkgInfoHash.Item ("release_notes_info") <> enum_RELEASE_NOTES_NOT_FOUND_IN_ARCHIVE))
|
92 |
IsActive = canActionControlInProject("EditCriticalInfoForLockedPackage") AND NOT isClosed AND ((pkgInfoHash.Item ("dlocked") = "Y") AND (pkgInfoHash.Item ("release_notes_info") <> enum_RELEASE_NOTES_NOT_FOUND_IN_ARCHIVE))
|
| 96 |
BuildActionButton2I isActive, "Regenerate Notes", "Regenerate Release Notes.", _
|
93 |
BuildActionButton isActive, "Regenerate Notes", "Regenerate Release Notes.", _
|
| 97 |
"src='images/i_sync_on.gif' width='22' height='22' align='absmiddle' border='0' hspace='3'", _
|
94 |
"src='images/i_sync_on.gif' width='22' height='22' align='absmiddle' border='0' hspace='3'", _
|
| 98 |
"src='images/i_sync_off.gif' width='22' height='22' align='absmiddle' border='0' hspace='3'", _
|
- |
|
| 99 |
"fixed_issues.asp?pv_id="&parPv_id&"&rtag_id="&parRtag_id&"&resetNotes=1"%>
|
95 |
"fixed_issues.asp?pv_id="&parPv_id&"&rtag_id="&parRtag_id&"&resetNotes=1"%>
|
| 100 |
</tr>
|
96 |
</tr>
|
| 101 |
</table>
|
97 |
</table>
|
| 102 |
|
98 |
|
| 103 |
<%Case "Documentation"%>
|
99 |
<%Case "Documentation"%>
|
| Line 228... |
Line 224... |
| 228 |
"src='icons/tplay.gif' width='16' height='16' align='absmiddle' border='0' hspace='3'", _
|
224 |
"src='icons/tplay.gif' width='16' height='16' align='absmiddle' border='0' hspace='3'", _
|
| 229 |
"location.href='_setResume.asp';" %>
|
225 |
"location.href='_setResume.asp';" %>
|
| 230 |
</tr>
|
226 |
</tr>
|
| 231 |
</table>
|
227 |
</table>
|
| 232 |
|
228 |
|
| - |
|
229 |
<%Case "Add Daemon Instruction"%>
|
| - |
|
230 |
<table width="10" border="0" cellspacing="10">
|
| - |
|
231 |
<tr>
|
| - |
|
232 |
<%BuildActionButtonClick bState, "Add Daemon Instruction", "Insert New Daemon Instruction.", TRUE, _
|
| - |
|
233 |
"src='icons/btn_add.gif' width='13' height='13' align='absmiddle' border='0' hspace='3'", _
|
| - |
|
234 |
"MM_openVixIFrame('wAddDaemonInstruction.asp','Insert New Daemon Instruction')"%>
|
| - |
|
235 |
</tr>
|
| - |
|
236 |
</table>
|
| - |
|
237 |
|
| 233 |
<%Case "Daemon Start"%>
|
238 |
<%Case "Daemon Start"%>
|
| 234 |
<table border="0" cellspacing="0" cellpadding="0">
|
239 |
<table border="0" cellspacing="0" cellpadding="0">
|
| 235 |
<!-- Daemon Start -->
|
240 |
<!-- Daemon Start -->
|
| 236 |
<tr>
|
241 |
<tr>
|
| 237 |
<td valign=top>
|
242 |
<td valign=top>
|
| 238 |
<img src="icons/tstopped.gif" width="16" height="16" border="0" vspace=2 hspace="5" title="Disabled">
|
243 |
<img src="icons/tstopped.gif" width="16" height="16" border="0" vspace=2 hspace="5" title="Disabled">
|
| 239 |
</td>
|
244 |
</td>
|
| 240 |
<%BuildActionButton bState, "", "Enable Daemon", _
|
245 |
<%BuildActionButtonClick bState, "", "Enable Daemon", FALSE, _
|
| 241 |
"src='icons/tplay.gif' width='16' height='16' border='0' vspace='2' hspace='0'", _
|
246 |
"src='icons/tplay.gif' width='16' height='16' border='0' vspace='2' hspace='0'", _
|
| 242 |
"_setDaemonResume.asp?rcon_id="&rcon_id&"&rtag_id="&parRtagId&"&rfile="&scriptName%>
|
247 |
"location.href='_setDaemonResume.asp?rcon_id="&rcon_id&"&rtag_id="&parRtagId&"&rfile="&scriptName&"'"%>
|
| 243 |
|
248 |
|
| 244 |
<%BuildActionButton FALSE, "", "Pause Daemon", "src='icons/tpause.gif' width='16' height='16' border='0' vspace='2' hspace='0'",""%>
|
249 |
<%BuildActionButton FALSE, "", "Pause Daemon", "src='icons/tpause.gif' width='16' height='16' border='0' vspace='2' hspace='0'",""%>
|
| 245 |
|
250 |
|
| 246 |
<%BuildActionButton FALSE, "", "Disable Daemon", "src='icons/tstop.gif' width='16' height='16' border='0' vspace='2' hspace='0'",""%>
|
251 |
<%BuildActionButton FALSE, "", "Disable Daemon", "src='icons/tstop.gif' width='16' height='16' border='0' vspace='2' hspace='0'",""%>
|
| 247 |
</tr>
|
252 |
</tr>
|
| Line 254... |
Line 259... |
| 254 |
<td valign=top>
|
259 |
<td valign=top>
|
| 255 |
<img src="icons/tplayed.gif" width="16" height="16" border="0" vspace=2 hspace="5" title="Enabled">
|
260 |
<img src="icons/tplayed.gif" width="16" height="16" border="0" vspace=2 hspace="5" title="Enabled">
|
| 256 |
</td>
|
261 |
</td>
|
| 257 |
<%BuildActionButton FALSE, "", "Enable Daemon", "src='icons/tplay.gif' width='16' height='16' border='0' vspace='2' hspace='0'", ""%>
|
262 |
<%BuildActionButton FALSE, "", "Enable Daemon", "src='icons/tplay.gif' width='16' height='16' border='0' vspace='2' hspace='0'", ""%>
|
| 258 |
|
263 |
|
| 259 |
<%BuildActionButton bState, "", "Pause Daemon", _
|
264 |
<%BuildActionButtonClick bState, "", "Pause Daemon", FALSE, _
|
| 260 |
"src='icons/tpause.gif' width='16' height='16' border='0' vspace='2' hspace='0'", _
|
265 |
"src='icons/tpause.gif' width='16' height='16' border='0' vspace='2' hspace='0'", _
|
| 261 |
"_setDaemonPause.asp?rcon_id="&rcon_id&"&rtag_id="&parRtagId&"&rfile="&scriptName%>
|
266 |
"location.href='_setDaemonPause.asp?rcon_id="&rcon_id&"&rtag_id="&parRtagId&"&rfile="&scriptName&"'"%>
|
| 262 |
|
267 |
|
| 263 |
<%BuildActionButton bState, "", "Disable Daemon", _
|
268 |
<%BuildActionButtonClick bState, "", "Disable Daemon", FALSE, _
|
| 264 |
"src='icons/tstop.gif' width='16' height='16' border='0' vspace='2' hspace='0'", _
|
269 |
"src='icons/tstop.gif' width='16' height='16' border='0' vspace='2' hspace='0'", _
|
| 265 |
"_setDaemonDisable.asp?rcon_id="&rcon_id&"&rtag_id="&parRtagId&"&rfile="&scriptName%>
|
270 |
"location.href='_setDaemonDisable.asp?rcon_id="&rcon_id&"&rtag_id="&parRtagId&"&rfile="&scriptName&"'"%>
|
| 266 |
</tr>
|
271 |
</tr>
|
| 267 |
</table>
|
272 |
</table>
|
| 268 |
|
273 |
|
| 269 |
<%Case "Daemon Resume"%>
|
274 |
<%Case "Daemon Resume"%>
|
| 270 |
<table border="0" cellspacing="0" cellpadding="0">
|
275 |
<table border="0" cellspacing="0" cellpadding="0">
|
| 271 |
<!-- Daemon Resume -->
|
276 |
<!-- Daemon Resume -->
|
| 272 |
<tr>
|
277 |
<tr>
|
| 273 |
<td valign=top>
|
278 |
<td valign=top>
|
| 274 |
<img src="icons/tpaused.gif" width="16" height="16" border="0" vspace=2 hspace="5" title="Paused">
|
279 |
<img src="icons/tpaused.gif" width="16" height="16" border="0" vspace=2 hspace="5" title="Paused">
|
| 275 |
</td>
|
280 |
</td>
|
| 276 |
<%BuildActionButton bState, "", "Enable Daemon", _
|
281 |
<%BuildActionButtonClick bState, "", "Enable Daemon", FALSE, _
|
| 277 |
"src='icons/tplay.gif' width='16' height='16' border='0' vspace='2' hspace='0'", _
|
282 |
"src='icons/tplay.gif' width='16' height='16' border='0' vspace='2' hspace='0'", _
|
| 278 |
"_setDaemonResume.asp?rcon_id="&rcon_id&"&rtag_id="&parRtagId&"&rfile="&scriptName%>
|
283 |
"location.href='_setDaemonResume.asp?rcon_id="&rcon_id&"&rtag_id="&parRtagId&"&rfile="&scriptName &"'"%>
|
| 279 |
|
284 |
|
| 280 |
<%BuildActionButton FALSE, "", "Pause Daemon", "src='icons/tpause.gif' width='16' height='16' border='0' vspace='2' hspace='0'",""%>
|
285 |
<%BuildActionButton FALSE, "", "Pause Daemon", "src='icons/tpause.gif' width='16' height='16' border='0' vspace='2' hspace='0'",""%>
|
| 281 |
|
286 |
|
| 282 |
<%BuildActionButton bState, "", "Disable Daemon", _
|
287 |
<%BuildActionButtonClick bState, "", "Disable Daemon", FALSE, _
|
| 283 |
"src='icons/tstop.gif' width='16' height='16' border='0' vspace='2' hspace='0'", _
|
288 |
"src='icons/tstop.gif' width='16' height='16' border='0' vspace='2' hspace='0'", _
|
| 284 |
"_setDaemonDisable.asp?rcon_id="&rcon_id&"&rtag_id="&parRtagId&"&rfile="&scriptName%>
|
289 |
"location.href='_setDaemonDisable.asp?rcon_id="&rcon_id&"&rtag_id="&parRtagId&"&rfile="&scriptName&"'"%>
|
| 285 |
</tr>
|
290 |
</tr>
|
| 286 |
</table>
|
291 |
</table>
|
| 287 |
|
292 |
|
| 288 |
<%Case "Daemon Control All"%>
|
293 |
<%Case "Daemon Control All"%>
|
| 289 |
<table border="0" cellspacing="0" cellpadding="0">
|
294 |
<table border="0" cellspacing="0" cellpadding="0">
|
| 290 |
<!-- Daemon StartControl All -->
|
295 |
<!-- Daemon Control All -->
|
| 291 |
<tr>
|
296 |
<tr>
|
| 292 |
<td valign=top>
|
297 |
<td valign=top>
|
| 293 |
<img src=icons/tpaused.gif width="16" height="16" border="0" vspace=2 hspace="5" style="visibility:hidden">
|
298 |
<img src=icons/tpaused.gif width="16" height="16" border="0" vspace=2 hspace="5" style="visibility:hidden">
|
| 294 |
</td>
|
299 |
</td>
|
| 295 |
<%BuildActionButton bState, "", "Enable Daemons", _
|
300 |
<%BuildActionButtonClick bState, "", "Enable Daemons", FALSE, _
|
| 296 |
"src='icons/tplay.gif' width='16' height='16' border='0' vspace='2' hspace='0'", _
|
301 |
"src='icons/tplay.gif' width='16' height='16' border='0' vspace='2' hspace='0'", _
|
| 297 |
"_setDaemonResume.asp?rtag_id="&parRtagId&"&rfile="&scriptName%>
|
302 |
"location.href='_setDaemonResume.asp?rtag_id="&parRtagId&"&rfile="&scriptName&"'"%>
|
| 298 |
|
303 |
|
| 299 |
<%BuildActionButton bState, "", "Pause Daemons", _
|
304 |
<%BuildActionButtonClick bState, "", "Pause Daemons", FALSE, _
|
| 300 |
"src='icons/tpause.gif' width='16' height='16' border='0' vspace='2' hspace='0'", _
|
305 |
"src='icons/tpause.gif' width='16' height='16' border='0' vspace='2' hspace='0'", _
|
| 301 |
"_setDaemonPause.asp?rtag_id="&parRtagId&"&rfile="&scriptName%>
|
306 |
"location.href='_setDaemonPause.asp?rtag_id="&parRtagId&"&rfile="&scriptName&"'"%>
|
| 302 |
|
307 |
|
| 303 |
<%BuildActionButton bState, "", "Disable Daemons", _
|
308 |
<%BuildActionButtonClick bState, "", "Disable Daemons", FALSE, _
|
| 304 |
"src='icons/tstop.gif' width='16' height='16' border='0' vspace='2' hspace='0'", _
|
309 |
"src='icons/tstop.gif' width='16' height='16' border='0' vspace='2' hspace='0'", _
|
| 305 |
"_setDaemonDisable.asp?rtag_id="&parRtagId&"&rfile="&scriptName%>
|
310 |
"location.href='_setDaemonDisable.asp?rtag_id="&parRtagId&"&rfile="&scriptName&"'"%>
|
| 306 |
</tr>
|
311 |
</tr>
|
| 307 |
</table>
|
312 |
</table>
|
| 308 |
|
313 |
|
| 309 |
<%Case "Daemon Unavailable"%>
|
314 |
<%Case "Daemon Unavailable"%>
|
| 310 |
<table border="0" cellspacing="0" cellpadding="0">
|
315 |
<table border="0" cellspacing="0" cellpadding="0">
|
| Line 317... |
Line 322... |
| 317 |
<%BuildActionButton FALSE, "", "Pause Daemons", "src='icons/tpause.gif' width='16' height='16' border='0' vspace='2' hspace='0'",""%>
|
322 |
<%BuildActionButton FALSE, "", "Pause Daemons", "src='icons/tpause.gif' width='16' height='16' border='0' vspace='2' hspace='0'",""%>
|
| 318 |
<%BuildActionButton FALSE, "", "Disable Daemons", "src='icons/tstop.gif' width='16' height='16' border='0' vspace='2' hspace='0'","" %>
|
323 |
<%BuildActionButton FALSE, "", "Disable Daemons", "src='icons/tstop.gif' width='16' height='16' border='0' vspace='2' hspace='0'","" %>
|
| 319 |
</tr>
|
324 |
</tr>
|
| 320 |
</table>
|
325 |
</table>
|
| 321 |
|
326 |
|
| 322 |
<%Case "Add Daemon Instruction"%>
|
- |
|
| 323 |
<table width="10" border="0" cellspacing="10">
|
- |
|
| 324 |
<tr>
|
- |
|
| 325 |
<%BuildActionButtonClick bState, "Add Daemon Instruction", "Insert New Daemon Instruction.", TRUE, _
|
- |
|
| 326 |
"src='icons/btn_add.gif' width='13' height='13' align='absmiddle' border='0' hspace='3'", _
|
- |
|
| 327 |
"MM_openVixIFrame('wAddDaemonInstruction.asp','Insert New Daemon Instruction')"%>
|
- |
|
| 328 |
</tr>
|
- |
|
| 329 |
</table>
|
- |
|
| 330 |
|
- |
|
| 331 |
<%End Select%>
|
327 |
<%End Select%>
|
| 332 |
<%End Sub%>
|
328 |
<%End Sub%>
|
| 333 |
<%
|
329 |
<%
|
| 334 |
'------------------------------------------------------------------------------
|
330 |
'------------------------------------------------------------------------------
|
| 335 |
' Helper routine to create buttons and disabled buttons
|
331 |
' Helper routine to create buttons and disabled buttons
|
| - |
|
332 |
' Treat the action an href - link the user can see and potentiall open in another tab
|
| 336 |
'
|
333 |
'
|
| 337 |
Sub BuildActionButton(bState, sText, sTitle, sImage, sRef)
|
334 |
Sub BuildActionButtonLink(bState, sText, sTitle, sImage, sRef)
|
| 338 |
%>
|
335 |
%>
|
| 339 |
<td align="center" nowrap valign="bottom" title="<%=sTitle%>">
|
336 |
<td align="center" nowrap valign="bottom" title="<%=sTitle%>">
|
| 340 |
<%If bState Then%>
|
337 |
<%If bState Then%>
|
| 341 |
<a href="<%=sRef%>" class="abtnItem"><img <%=sImage%> ><%=sText%></a>
|
338 |
<a href="<%=sRef%>" class="abtnItem"><img <%=sImage%> ><%=sText%></a>
|
| 342 |
<%Else%>
|
339 |
<%Else%>
|
| Line 344... |
Line 341... |
| 344 |
<%End If%>
|
341 |
<%End If%>
|
| 345 |
</td>
|
342 |
</td>
|
| 346 |
<%End Sub
|
343 |
<%End Sub
|
| 347 |
'------------------------------------------------------------------------------
|
344 |
'------------------------------------------------------------------------------
|
| 348 |
' Helper routine to create buttons and disabled buttons
|
345 |
' Helper routine to create buttons and disabled buttons
|
| 349 |
' Tack a onClick operation
|
346 |
' Treat te ref as a page to goto, but don't use href
|
| 350 |
'
|
347 |
'
|
| 351 |
Sub BuildActionButtonClick(bState, sText, sTitle, isBlue, sImage, sClick)
|
348 |
Sub BuildActionButton(bState, sText, sTitle, sImage, sRef)
|
| 352 |
Dim sStyle : sStyle = ""
|
- |
|
| 353 |
%>
|
349 |
%>
|
| 354 |
<td align="right" nowrap valign="bottom" title="<%=sTitle%>">
|
350 |
<td align="center" nowrap valign="bottom" title="<%=sTitle%>">
|
| 355 |
<%If bState Then%>
|
351 |
<%If bState Then%>
|
| 356 |
<%If isBlue Then sStyle = "color:#0000ee; text-decoration:underline"%>
|
- |
|
| 357 |
<span onClick="<%=sClick%>" class="pointer abtnItem" style="<%=sStyle%>"><img <%=sImage%> ><%=sText%></span>
|
352 |
<span onClick="location.href='<%=sRef%>'" class="pointer abtnItem"><img <%=sImage%> ><%=sText%></span>
|
| 358 |
<%Else%>
|
353 |
<%Else%>
|
| 359 |
<%If isBlue Then sStyle = "color:#0000ee66; text-decoration:none"%>
|
- |
|
| 360 |
<span class="abtnItemDis" style="<%=sStyle%>"><img <%=sImage%> class="lessOpacity"><%=sText%></span>
|
354 |
<span class="abtnItemDis"><img <%=sImage%> class="lessOpacity"><%=sText%></span>
|
| 361 |
<%End If%>
|
355 |
<%End If%>
|
| 362 |
</td>
|
356 |
</td>
|
| 363 |
<%End Sub
|
357 |
<%End Sub
|
| 364 |
'------------------------------------------------------------------------------
|
358 |
'------------------------------------------------------------------------------
|
| 365 |
' Helper routine to create buttons and disabled buttons
|
359 |
' Helper routine to create buttons and disabled buttons
|
| 366 |
' Takes on and off images
|
360 |
' Tack a onClick operation
|
| - |
|
361 |
'
|
| 367 |
Sub BuildActionButton2I(bState, sText, sTitle, sImage, sImage2, sRef)
|
362 |
Sub BuildActionButtonClick(bState, sText, sTitle, isBlue, sImage, sClick)
|
| - |
|
363 |
Dim sStyle : sStyle = ""
|
| 368 |
%>
|
364 |
%>
|
| 369 |
<td align="center" nowrap valign="bottom" title="<%=sTitle%>">
|
365 |
<td align="right" nowrap valign="bottom" title="<%=sTitle%>">
|
| 370 |
<%If bState Then%>
|
366 |
<%If bState Then%>
|
| - |
|
367 |
<%If isBlue Then sStyle = "color:#0000ee; text-decoration:underline"%>
|
| 371 |
<a href="<%=sRef%>" class="abtnItem"><img <%=sImage%> ><%=sText%></a>
|
368 |
<span onClick="<%=sClick%>" class="pointer abtnItem" style="<%=sStyle%>"><img <%=sImage%> ><%=sText%></span>
|
| 372 |
<%Else%>
|
369 |
<%Else%>
|
| - |
|
370 |
<%If isBlue Then sStyle = "color:#0000ee66; text-decoration:none"%>
|
| 373 |
<span class="abtnItemDis"><img <%=sImage2%> class="lessOpacity"><%=sText%></span>
|
371 |
<span class="abtnItemDis" style="<%=sStyle%>"><img <%=sImage%> class="lessOpacity"><%=sText%></span>
|
| 374 |
<%End If%>
|
372 |
<%End If%>
|
| 375 |
</td>
|
373 |
</td>
|
| 376 |
<%End Sub%>
|
374 |
<%End Sub%>
|
| 377 |
|
375 |
|
| 378 |
|
376 |
|