Subversion Repositories DevTools

Rev

Rev 5983 | Rev 6589 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 ghuddy 1
<%
2
'=====================================================
127 ghuddy 3
'               Action Buttons
119 ghuddy 4
'=====================================================
5983 dpurdie 5
Sub Action_Buttons ( SSwithTab )
6
    Call Action_Buttons_State(SSwithTab, TRUE) 
7
End Sub
8
 
9
Sub Action_Buttons_State ( SSwithTab, bState )
5080 dpurdie 10
   Dim isClosed, isSDK
5178 dpurdie 11
   isClosed = (releaseIsClosed(ReleaseMode))
4084 dpurdie 12
   Select Case SSwithTab%>
127 ghuddy 13
   <%Case "Build Dependencies"%>
14
      <table width="10" border="0" cellspacing="10">
15
         <tr>
5080 dpurdie 16
            <%If NOT isClosed AND NOT pkgInfoHash.Item ("is_sdkpkg") AND ( (pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R") OR criticalSectionIsEditable )   Then%>
127 ghuddy 17
               <td align="center" nowrap valign="bottom">
18
                  <a href="form_search_pkgs.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&add_type=<%=enum_ADD_DEPENDENCIES%>" class="abtnItem">
19
                     <img src="images/i_add_deps.gif" width="22" height="25" align="absmiddle" border="0" hspace="3" alt="Add dependency to the list.">
20
                     Add
21
                  </a>
22
               </td>
23
 
24
               <td align="center" nowrap valign="bottom">
25
                  <a href="form_edit_deps.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>" class="abtnItem">
26
                     <img src="images/i_edit_deps.gif" width="23" height="24" align="absmiddle" border="0" hspace="3" alt="Edit dependency list.">
27
                     Edit
28
                  </a>
29
               </td>
30
 
31
               <td align="center" nowrap valign="bottom">
5020 dpurdie 32
                  <a href="form_update_<%=Get_Devl_Environment%>_dependencies.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>" class="abtnItem">
127 ghuddy 33
                     <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.">
34
                     Import
35
                  </a>
36
               </td>
37
            <%End If%>
38
            <td align="center" nowrap valign="bottom">
5020 dpurdie 39
               <a href="form_export_<%=Get_Devl_Environment%>_dependencies.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>" class="abtnItem">
127 ghuddy 40
                  <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.">
41
                  Export
42
               </a>
43
            </td>
44
         </tr>
45
      </table>
46
 
119 ghuddy 47
   <%Case "Runtime Dependencies"%>
127 ghuddy 48
      <%If IsNull(pkgInfoHash.Item ("is_patch"))Then%>
49
         <table width="10" border="0" cellspacing="10">
50
            <tr>
4084 dpurdie 51
               <%If NOT isClosed AND ((pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R") OR criticalSectionIsEditable) Then%>
127 ghuddy 52
                  <td align="center" nowrap valign="bottom">
53
                     <a href="form_search_pkgs.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&add_type=<%=enum_ADD_RUNTIME_DEPENDENCIES%>" class="abtnItem">
54
                        <img src="images/i_add_deps.gif" width="22" height="25" align="absmiddle" border="0" hspace="3" alt="Add runtime dependency to the list.">
55
                        Add
56
                     </a>
57
                  </td>
58
               <%End If%>
59
            </tr>
60
         </table>
61
      <%End If%>
62
 
119 ghuddy 63
   <%Case "Patches"%>
127 ghuddy 64
      <table width="10" border="0" cellspacing="10">
65
         <tr>
5080 dpurdie 66
            <%If NOT isClosed AND NOT pkgInfoHash.Item ("is_sdkpkg") AND (pkgInfoHash.Item ("dlocked") = "Y") Then%>
127 ghuddy 67
               <td align="center" nowrap valign="bottom">
5590 dpurdie 68
                  <a href="javascript:;" onClick="MM_openVixIFrame('_wform_new_patch.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','New Patch')" class="abtnItem">
127 ghuddy 69
                     <img src="images/i_add_patch.gif" width="23" height="25" align="absmiddle" border="0" hspace="3" alt="Add a patch to this package.">
70
                     Add
71
                  </a>
72
               </td>
73
 
74
               <td align="center" nowrap valign="bottom">
5590 dpurdie 75
                  <a href="javascript:;" onClick="MM_openVixIFrame('_wform_obsolete_all_patches.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','Obsolete Patches')" class="abtnItem">
127 ghuddy 76
                     <img src="images/abtn_obsolete_patch.gif" width="23" height="25" align="absmiddle" border="0" hspace="3" alt="Obsolete patches in one go.">
77
                     Roll-up Obsolete Patches
78
                  </a>
79
               </td>
80
 
5061 dpurdie 81
               <%If canShowControlInProject("ReleasePatch") Then%>
127 ghuddy 82
                  <td align="center" nowrap valign="bottom">
5590 dpurdie 83
                     <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">
127 ghuddy 84
                        <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.">
85
                        Make Release Bulk Patches
86
                     </a>
87
                  </td>
88
               <%End If%>
89
            <%End If%>
90
         </tr>
91
      </table>
92
 
119 ghuddy 93
   <%Case "Release Notes"%>
127 ghuddy 94
      <table width="10" border="0" cellspacing="10">
95
         <tr>
96
            <%If (pkgInfoHash.Item ("dlocked") = "Y") AND (InStr(pkgInfoHash.Item ("release_notes_info"),"MSG:") < 1) AND NOT IsNull(pkgInfoHash.Item ("release_notes_info")) Then%>
97
               <td align="center" nowrap valign="bottom">
177 brianf 98
                  <a href="<%=HTTP_PKG_ARCHIVE & pkgInfoHash.Item ("release_notes_info")%>" class="abtnItem">
127 ghuddy 99
                     <img src="images/btn_download.gif" width="22" height="22" align="absmiddle" border="0" hspace="3" alt="Download full release notes.">
100
                     Download
101
                  </a>
102
               </td>
103
            <%Else%>
104
               <td align="center" nowrap valign="bottom" class="abtnItem">
105
                  <img src="images/btn_download_off.gif" width="22" height="22" align="absmiddle" border="0" hspace="3">
106
                  <label disabled>
107
                     Download
108
                  </label>
109
               </td>
110
            <%End If%>
5061 dpurdie 111
            <%If (canActionControlInProject("EditCriticalInfoForLockedPackage")) Then
4084 dpurdie 112
                If NOT isClosed AND ((pkgInfoHash.Item ("dlocked") = "Y") AND (pkgInfoHash.Item ("release_notes_info") <> enum_RELEASE_NOTES_NOT_FOUND_IN_ARCHIVE)) Then %>
4042 dpurdie 113
                   <td align="center" nowrap valign="bottom">
114
                      <a href="fixed_issues.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&resetNotes=1" class="abtnItem">
115
                         <img src="images/i_sync_on.gif" width="22" height="22" align="absmiddle" border="0" hspace="3" alt="Regenerate Release Notes">
116
                         Regenerate Notes
117
                      </a>
118
                   </td>
119
                <%Else%>
120
                   <td align="center" nowrap valign="bottom" class="abtnItem">
121
                      <a>
122
                         <img src="images/i_sync_off.gif" width="22" height="22" align="absmiddle" border="0" hspace="3" alt="Regenerate Release Notes">
123
                         Regenerate Notes
124
                      </a>
125
                   </td>
126
                <%End If%>
127
            <%End If%>
127 ghuddy 128
         </tr>
129
      </table>
130
 
119 ghuddy 131
   <%Case "Documentation"%>
127 ghuddy 132
      <table width="10" border="0" cellspacing="10">
133
         <tr>
5080 dpurdie 134
            <% If NOT isClosed AND NOT isSDK Then %>
127 ghuddy 135
            <td align="center" nowrap valign="bottom">
5590 dpurdie 136
               <a href="javascript:;" onClick="MM_openVixIFrame('_wform_import_docs.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','Import Documents')" class="abtnItem">
127 ghuddy 137
                  <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">
138
                  Import From Document Repository
139
               </a>
140
            </td>
4084 dpurdie 141
            <%End If%>
127 ghuddy 142
         </tr>
143
      </table>
144
 
119 ghuddy 145
   <%Case "Add Process"%>
127 ghuddy 146
      <table width="10" border="0" cellspacing="10">
147
         <tr>
4084 dpurdie 148
            <%If  NOT isClosed AND ((pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R"))  Then%>
127 ghuddy 149
               <td align="center" nowrap valign="bottom">
5590 dpurdie 150
                  <a href="javascript:;" onClick="MM_openVixIFrame('wAddProc.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','Add Process')" class="abtnItem">
127 ghuddy 151
                     <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert processes associated with the package.">
152
                     Add Process
153
                  </a>
154
               </td>
155
            <%End If%>
156
         </tr>
157
      </table>
119 ghuddy 158
 
127 ghuddy 159
   <%Case "Add GBE_MACHTYPE"%>
4029 dpurdie 160
      <table width="10" border="0" cellspacing="0">
127 ghuddy 161
         <tr>
5983 dpurdie 162
            <td align="center" nowrap valign="bottom" class="abtnItem">
163
            <%If bState Then%>
164
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddMachtype.asp','Add Machine Type')" >
127 ghuddy 165
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New GBE_MACHTYPE">
4029 dpurdie 166
                  Add
127 ghuddy 167
               </a>
5983 dpurdie 168
            <%Else%>
169
                 <img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New GBE_MACHTYPE">
170
                 Add
171
            <%End If%>
127 ghuddy 172
            </td>
173
         </tr>
174
      </table>
119 ghuddy 175
 
5122 dpurdie 176
   <%Case "Add GBE_BUILDSTANDARD"%>
177
      <table width="10" border="0" cellspacing="0">
178
         <tr>
5983 dpurdie 179
            <td align="center" nowrap valign="bottom"  class="abtnItem">
180
            <%If bState Then%>
181
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddBuildStandard.asp','Add Build Standard')" title="Insert New Build Standard">
5122 dpurdie 182
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" >
183
                  Add
184
               </a>
5983 dpurdie 185
            <%Else%>
186
                  <img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Build Standard">
187
                  Add
188
            <%End If%>
5122 dpurdie 189
            </td>
190
         </tr>
191
      </table>
192
 
193
 
4029 dpurdie 194
   <%Case "Add BM_NAME"%>
195
      <table width="10" border="0" cellspacing="0">
196
         <tr>
5983 dpurdie 197
            <td align="center" nowrap valign="bottom" class="abtnItem">
198
            <%If bState Then%>
199
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddMachclass.asp','Add New Class of Build Machine')">
4029 dpurdie 200
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New BM_NAME">
201
                  Add
202
               </a>
5983 dpurdie 203
            <%Else%>
204
                 <img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New BM_NAME">
205
                 Add
206
            <%End If%>
4029 dpurdie 207
            </td>
208
         </tr>
209
      </table>
210
 
3959 dpurdie 211
   <%Case "Add Project Extension"%>
5983 dpurdie 212
      <table width="100%" border="0" cellspacing="0" ID="Table1">
3959 dpurdie 213
         <tr>
5983 dpurdie 214
            <td align="right" nowrap valign="bottom" class="abtnItem">
215
            <%If bState Then%>
216
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddProjectExtension.asp','Add Project Extension')" >
3959 dpurdie 217
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Project Extension">
218
                  Add Project Extension
219
               </a>
5983 dpurdie 220
            <%Else%>
221
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Project Extension">
222
                  Add Project Extension
223
            <%End If%>
3959 dpurdie 224
            </td>
225
         </tr>
226
      </table>
227
 
161 iaugusti 228
   <%Case "Add Build Machine"%>
4029 dpurdie 229
      <table width="10" border="0" cellspacing="0" ID="Table1">
161 iaugusti 230
         <tr>
5983 dpurdie 231
            <td align="center" nowrap valign="bottom" class="abtnItem">
232
            <%If bState Then%>
233
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddBuildMachine.asp','Add Build Machine')">
161 iaugusti 234
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Build Machine">
235
                  Add Build Machine
236
               </a>
5983 dpurdie 237
            <%Else%>
238
                 <img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Build Machine">
239
                  Add Build Machine
240
            <%End If%>
161 iaugusti 241
            </td>
242
         </tr>
243
      </table>
3959 dpurdie 244
 
161 iaugusti 245
 
127 ghuddy 246
   <%Case "Add Licence"%>
5983 dpurdie 247
      <table width="100%" border="0" cellspacing="0">
127 ghuddy 248
         <tr>
5983 dpurdie 249
            <td align="right" nowrap valign="bottom" class="abtnItem">
250
            <%If bState Then%>
251
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddLicence.asp','Add Licence')" >
127 ghuddy 252
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Licence">
253
                  Add Licence
254
               </a>
5983 dpurdie 255
            <%Else%>
256
                  <img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Licence">
257
                  Add Licence
258
            <%End If%>
127 ghuddy 259
            </td>
260
         </tr>
261
      </table>
262
 
5983 dpurdie 263
   <%Case "Add VCS"%>
264
      <table width="100%" border="0" cellspacing="0">
265
         <tr>
266
            <td align="right" nowrap valign="bottom" class="abtnItem">
267
            <%If bState Then%>
268
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddVCS.asp','Add New VCS')" >
269
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New VCS">
270
                  Add VCS
271
               </a>
272
            <%Else%>
273
                  <img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New VCS">
274
                  Add VCS
275
            <%End If%>
276
            </td>
277
         </tr>
278
      </table>
279
 
127 ghuddy 280
   <%Case "Add Daemon"%>
281
      <table width="10" border="0" cellspacing="10">
282
         <tr>
283
            <td align="center" nowrap valign="bottom">
5590 dpurdie 284
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddDaemon.asp?rtag_id=<%=parRtag_id%>','Add Build Daemon')" class="abtnItem">
127 ghuddy 285
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Daemon">
286
                  Add Daemon
287
               </a>
288
            </td>
289
         </tr>
290
      </table>
291
 
292
   <%Case "Add Schedule"%>
5123 dpurdie 293
      <table width="10" border="0" cellspacing="0">
127 ghuddy 294
         <tr>
295
            <td align="center" nowrap valign="bottom">
5590 dpurdie 296
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddSchedule.asp','Add a new Schedule')" class="abtnItem">
127 ghuddy 297
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Schedule">
298
                  Add Schedule
299
               </a>
300
            </td>
301
         </tr>
302
      </table>
177 brianf 303
   <%Case "Add Schedule Disable"%>
5123 dpurdie 304
      <table width="10" border="0" cellspacing="0">
177 brianf 305
         <tr>
306
            <td align="center" nowrap valign="bottom" class="abtnItem">
307
              <img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3">
308
              Add Schedule
309
            </td>
310
         </tr>
311
      </table>
127 ghuddy 312
 
313
   <%Case "Indefinite Pause"%>
5123 dpurdie 314
      <table width="10" border="0" cellspacing="0">
127 ghuddy 315
         <tr>
316
            <td align="center" nowrap valign="bottom">
317
               <a href="_setInfinitePause.asp" class="abtnItem">
318
                  <img src="icons/tpause.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Indefinite Pause">
319
                  Set Indefinite Pause
320
               </a>
321
            </td>
322
         </tr>
323
      </table>
177 brianf 324
   <%Case "Indefinite Pause Disable"%>
5123 dpurdie 325
      <table width="10" border="0" cellspacing="0">
177 brianf 326
         <tr>
327
            <td align="center" nowrap valign="bottom"  class="abtnItem">
328
              <img src="icons/tpause_dis.gif" width="16" height="16" align="absmiddle" border="0" hspace="3">
329
              Set Indefinite Pause
330
            </td>
331
         </tr>
332
      </table>
127 ghuddy 333
 
334
   <%Case "Resume"%>
5157 dpurdie 335
      <table width="10" border="0" cellspacing="0">
127 ghuddy 336
         <tr>
337
            <td align="center" nowrap valign="bottom">
338
               <a href="_setResume.asp" class="abtnItem">
339
                  <img src="icons/tplay.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Resume">
340
                  Set Resume
171 brianf 341
            </td>
342
         </tr>
343
      </table>
5982 dpurdie 344
 
177 brianf 345
   <%Case "Resume Disable"%>
5157 dpurdie 346
      <table width="10" border="0" cellspacing="0">
177 brianf 347
         <tr>
348
            <td align="center" nowrap valign="bottom" class="abtnItem">
349
              <img src="icons/tplay_dis.gif" width="16" height="16" align="absmiddle" border="0" hspace="3">
350
              Set Resume
351
            </td>
352
         </tr>
353
      </table>
171 brianf 354
 
355
   <%Case "Daemon Start"%>
173 brianf 356
      <table border="0" cellspacing="0" cellpadding="0">
171 brianf 357
         <tr>
173 brianf 358
            <td valign=top>
5623 dpurdie 359
               <img src="icons/tstopped.gif" width="16" height="16" border="0" vspace=2 hspace="5" title="Disabled">
173 brianf 360
            </td>
361
            <td valign=top>
5623 dpurdie 362
               <a href="_setDaemonResume.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>&rfile=<%=scriptName%>" class="abtnItem">
363
                 <img src="icons/tplay.gif" width="16" height="16" border="0" vspace=2 hspace="0" title="Enable Daemon">
127 ghuddy 364
               </a>
365
            </td>
173 brianf 366
            <td valign=top>
5623 dpurdie 367
               <img src="icons/tpause_dis.gif" width="16" height="16" border="0" vspace=2 hspace="0">
173 brianf 368
            </td>
369
            <td valign=top>
5623 dpurdie 370
               <img src="icons/tstop_dis.gif" width="16" height="16" border="0" vspace=2 hspace="0">
173 brianf 371
            </td>
127 ghuddy 372
         </tr>
373
      </table>
374
 
171 brianf 375
   <%Case "Daemon Start Disabled"%>
173 brianf 376
      <table border="0" cellspacing="0" cellpadding="0">
171 brianf 377
         <tr>
173 brianf 378
            <td valign=top>
5623 dpurdie 379
               <img src="icons/tstopped.gif" width="16" height="16" border="0" vspace=2 hspace="5" title="Disabled">
173 brianf 380
            <td valign=top>
5623 dpurdie 381
               <img src="icons/tplay_dis.gif" width="16" height="16" border="0" vspace=2 hspace="0">
173 brianf 382
            <td valign=top>
5623 dpurdie 383
               <img src="icons/tpause_dis.gif" width="16" height="16" border="0" vspace=2 hspace="0">
173 brianf 384
            <td valign=top>
5623 dpurdie 385
               <img src="icons/tstop_dis.gif" width="16" height="16" border="0" vspace=2 hspace="0">
171 brianf 386
            </td>
387
         </tr>
388
      </table>
389
 
127 ghuddy 390
   <%Case "Daemon Pause"%>
173 brianf 391
      <table border="0" cellspacing="0" cellpadding="0">
127 ghuddy 392
         <tr>
173 brianf 393
            <td valign=top>
5623 dpurdie 394
               <img src="icons/tplayed.gif" width="16" height="16" border="0" vspace=2 hspace="5" title="Enabled">
173 brianf 395
            </td>
396
            <td valign=top>
5623 dpurdie 397
               <img src="icons/tplay_dis.gif" width="16" height="16" border="0" vspace=2 hspace="0">
173 brianf 398
            </td>
399
            <td valign=top>
5623 dpurdie 400
               <a href="_setDaemonPause.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>&rfile=<%=scriptName%>" class="abtnItem">
401
               <img src="icons/tpause.gif" width="16" height="16" border="0" vspace=2 hspace="0" title="Pause Daemon">
127 ghuddy 402
               </a>
173 brianf 403
            </td>
404
            <td valign=top>
5623 dpurdie 405
               <a href="_setDaemonDisable.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>&rfile=<%=scriptName%>" class="abtnItem">
406
               <img src="icons/tstop.gif" width="16" height="16" border="0" vspace=2 hspace="0" title="Disable Daemon">
171 brianf 407
               </a>
127 ghuddy 408
            </td>
409
         </tr>
410
      </table>
411
 
412
   <%Case "Daemon Pause Disabled"%>
173 brianf 413
      <table border="0" cellspacing="0" cellpadding="0">
127 ghuddy 414
         <tr>
173 brianf 415
            <td valign=top>
5623 dpurdie 416
               <img src="icons/tplayed.gif" width="16" height="16" border="0" vspace=2 hspace="5" title="Enabled">
127 ghuddy 417
            </td>
173 brianf 418
            <td valign=top>
5623 dpurdie 419
               <img src="icons/tplay_dis.gif" width="16" height="16" border="0" vspace=2 hspace="0">
173 brianf 420
            </td>
421
            <td valign=top>
5623 dpurdie 422
               <img src="icons/tpause_dis.gif" width="16" height="16" border="0" vspace=2 hspace="0">
173 brianf 423
            </td>
424
            <td valign=top>
5623 dpurdie 425
               <img src="icons/tstop_dis.gif" width="16" height="16" border="0" vspace=2 hspace="0">
173 brianf 426
            </td>
127 ghuddy 427
         </tr>
428
      </table>
429
 
430
   <%Case "Daemon Resume"%>
173 brianf 431
      <table border="0" cellspacing="0" cellpadding="0">
127 ghuddy 432
         <tr>
173 brianf 433
            <td valign=top>
5623 dpurdie 434
               <img src="icons/tpaused.gif" width="16" height="16" border="0" vspace=2 hspace="5" title="Paused">
173 brianf 435
            </td>
436
            <td valign=top>
5623 dpurdie 437
               <a href="_setDaemonResume.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>&rfile=<%=scriptName%>" class="abtnItem">
438
               <img src="icons/tplay.gif" width="16" height="16" border="0" vspace=2 hspace="0" title="Resume Daemon">
127 ghuddy 439
               </a>
173 brianf 440
            </td>
441
            <td valign=top>
5623 dpurdie 442
               <img src="icons/tpause_dis.gif" width="16" height="16" border="0" vspace=2 hspace="0">
173 brianf 443
            </td>
444
            <td valign=top>
5623 dpurdie 445
               <a href="_setDaemonDisable.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>&rfile=<%=scriptName%>" class="abtnItem">
446
               <img src="icons/tstop.gif" width="16" height="16" border="0" vspace=2 hspace="0" title="Disable Daemon">
171 brianf 447
               </a>
127 ghuddy 448
            </td>
449
         </tr>
450
      </table>
451
 
452
   <%Case "Daemon Resume Disabled"%>
173 brianf 453
      <table border="0" cellspacing="0" cellpadding="0">
127 ghuddy 454
         <tr>
173 brianf 455
            <td valign=top>
5623 dpurdie 456
               <img src="icons/tpaused.gif" width="16" height="16" border="0" vspace=2 hspace="5" title="Paused">
127 ghuddy 457
            </td>
173 brianf 458
            <td valign=top>
5623 dpurdie 459
               <img src="icons/tplay_dis.gif" width="16" height="16" border="0" vspace=2 hspace="0">
173 brianf 460
            </td>
461
            <td valign=top>
5623 dpurdie 462
               <img src="icons/tpause_dis.gif" width="16" height="16" border="0" vspace=2 hspace="0">
173 brianf 463
            </td>
464
            <td valign=top>
5623 dpurdie 465
               <img src="icons/tstop_dis.gif" width="16" height="16" border="0" vspace=2 hspace="0">
173 brianf 466
            </td>
127 ghuddy 467
         </tr>
468
      </table>
469
 
171 brianf 470
   <%Case "Daemon Control All"%>
173 brianf 471
      <table border="0" cellspacing="0" cellpadding="0">
171 brianf 472
         <tr>
173 brianf 473
            <td valign=top>
5623 dpurdie 474
               <img src=icons/tpaused.gif width="16" height="16" border="0" vspace=2 hspace="5" style="visibility:hidden">
173 brianf 475
            </td>
476
            <td valign=top>
5623 dpurdie 477
               <a href="_setDaemonResume.asp?rtag_id=<%=parRtagId%>&rfile=<%=scriptName%>">
478
                 <img src="icons/tplay.gif" width="16" height="16" border="0" vspace=2 hspace="0" title="Enable Daemons">
171 brianf 479
               </a>
173 brianf 480
            </td>
481
            <td valign=top>
5623 dpurdie 482
               <a href="_setDaemonPause.asp?rtag_id=<%=parRtagId%>&rfile=<%=scriptName%>">
483
                 <img src="icons/tpause.gif" width="16" height="16" border="0" vspace=2 hspace="0" title="Pause Daemons">
171 brianf 484
               </a>
173 brianf 485
            </td>
486
            <td valign=top>
5623 dpurdie 487
               <a href="_setDaemonDisable.asp?rtag_id=<%=parRtagId%>&rfile=<%=scriptName%>">
488
                 <img src="icons/tstop.gif" width="16" height="16" border="0" vspace=2 hspace="0" title="Disable Daemons">
171 brianf 489
               </a>
490
            </td>
491
         </tr>
492
      </table>
5983 dpurdie 493
 
171 brianf 494
   <%Case "Daemon Control All Disabled"%>
173 brianf 495
      <table border="0" cellspacing="0" cellpadding="0">
171 brianf 496
         <tr>
173 brianf 497
            <td valign=top>
5623 dpurdie 498
               <img src=icons/tpaused.gif width="16" height="16" border="0" vspace=2 hspace="5" style="visibility:hidden">
171 brianf 499
            </td>
173 brianf 500
            <td valign=top>
5623 dpurdie 501
               <img src="icons/tplay_dis.gif" width="16" height="16" border="0" vspace=2 hspace="0" title="Enable Daemons">
173 brianf 502
            </td>
503
            <td valign=top>
5623 dpurdie 504
               <img src="icons/tpause_dis.gif" width="16" height="16" border="0" vspace=2 hspace="0" title="Pause Daemons">
173 brianf 505
            </td>
506
            <td valign=top>
5623 dpurdie 507
               <img src="icons/tstop_dis.gif" width="16" height="16" border="0" vspace=2 hspace="0" title="Disable Daemons">
173 brianf 508
            </td>
171 brianf 509
         </tr>
510
      </table>
511
 
6267 dpurdie 512
   <%Case "Daemon Unavailable"%>
513
      <table border="0" cellspacing="0" cellpadding="0">
514
         <tr>
515
            <td valign=top>
516
               <img src=icons/tpaused_notfound.gif width="16" height="16" border="0" vspace=2 hspace="5">
517
            </td>
518
            <td valign=top>
519
               <img src="icons/tplay_dis.gif" width="16" height="16" border="0" vspace=2 hspace="0" title="Enable Daemons">
520
            </td>
521
            <td valign=top>
522
               <img src="icons/tpause_dis.gif" width="16" height="16" border="0" vspace=2 hspace="0" title="Pause Daemons">
523
            </td>
524
            <td valign=top>
525
               <img src="icons/tstop_dis.gif" width="16" height="16" border="0" vspace=2 hspace="0" title="Disable Daemons">
526
            </td>
527
         </tr>
528
      </table>
529
 
147 ghuddy 530
   <%Case "Add Daemon Instruction"%>
531
      <table width="10" border="0" cellspacing="10">
532
         <tr>
533
            <td align="center" nowrap valign="bottom">
5590 dpurdie 534
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddDaemonInstruction.asp','Insert New Daemon Instruction')" class="abtnItem">
147 ghuddy 535
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Daemon Instruction">
536
                  Add Daemon Instruction
537
               </a>
538
            </td>
539
         </tr>
540
      </table>
541
 
119 ghuddy 542
   <%End Select%>
543
<%End Sub%>