Subversion Repositories DevTools

Rev

Rev 6770 | Rev 6788 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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