Subversion Repositories DevTools

Rev

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