Subversion Repositories DevTools

Rev

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

Rev 5590 Rev 5814
Line 175... Line 175...
175
            " name='"& mArrAbtnDef( InxName, itemInx ) &"' href='"& uhref &"' "&_
175
            " name='"& mArrAbtnDef( InxName, itemInx ) &"' href='"& uhref &"' "&_
176
            " "& uevent &" class='menu_link' title='"& mArrAbtnDef( InxHint, itemInx )  &"'>"&_
176
            " "& uevent &" class='menu_link' title='"& mArrAbtnDef( InxHint, itemInx )  &"'>"&_
177
            btnImage & mArrAbtnDef( InxTxt, itemInx ) &"</a>"&_
177
            btnImage & mArrAbtnDef( InxTxt, itemInx ) &"</a>"&_
178
            "</td>"
178
            "</td>"
179
 
179
 
-
 
180
			'-- Define Disabled Button
-
 
181
            '   A Null value of '' will use InxImg with the lessOpacity Class
-
 
182
            If IsNull(mArrAbtnDef( InxImgOff, itemInx )) Then
-
 
183
                ButtonStrDisabled = _
-
 
184
                    "<td nowrap>"&_
-
 
185
                    "<img src='"& mArrAbtnDef( InxImg, itemInx ) &"' hspace='2' border='0' align='absmiddle' class='lessOpacity'>"&_
-
 
186
                    "<label class='menu_txt'>"& mArrAbtnDef( InxTxt, itemInx ) &"</label>"&_
-
 
187
                    "</td>"
-
 
188
            Else
-
 
189
                ButtonStrDisabled = _
-
 
190
                    "<td nowrap>"&_
-
 
191
                    "<img src='"& mArrAbtnDef( InxImgOff, itemInx ) &"' hspace='2' border='0' align='absmiddle'>"&_
-
 
192
                    "<label class='menu_txt'>"& mArrAbtnDef( InxTxt, itemInx ) &"</label>"&_
-
 
193
                    "</td>"
-
 
194
            End If
180
 
195
 
181
         '-- Define Disabled Button
-
 
182
         ButtonStrDisabled = _
-
 
183
            "<td nowrap>"&_
-
 
184
            "<img src='"& mArrAbtnDef( InxImgOff, itemInx ) &"' hspace='"& mnImageHspace &"' border='0' align='absmiddle' title='"& mArrAbtnDef( InxHint, itemInx )  &"'>"&_
-
 
185
            "<label class='menu_txt'>"& mArrAbtnDef( InxTxt, itemInx ) &"</label>"&_
-
 
186
            "</td>"
-
 
187
 
196
 
188
         '-- Get Access Control permissions --
197
         '-- Get Access Control permissions --
189
         bIsVisibleAC = TRUE
198
         bIsVisibleAC = TRUE
190
         bIsActiveAC = TRUE
199
         bIsActiveAC = TRUE
191
         If NOT IsNull( oAccessControl ) Then
200
         If NOT IsNull( oAccessControl ) Then
Line 700... Line 709...
700
      If isAbtnRequired(aAbtnList, "btnEditGBE_Machtype") Then
709
      If isAbtnRequired(aAbtnList, "btnEditGBE_Machtype") Then
701
         varValues = Array(27, "btnEditGBE_Machtype", null,_
710
         varValues = Array(27, "btnEditGBE_Machtype", null,_
702
                           """javascript:;""",_
711
                           """javascript:;""",_
703
                           """onClick=""""MM_openVixIFrame('wAddMachtype.asp?type=edit&gbe_id=""& gbe_id &""&rfile=""& SCRIPT_NAME &""&""& objPMod.ComposeURL() &""','Edit Machine Type');""""""",_
712
                           """onClick=""""MM_openVixIFrame('wAddMachtype.asp?type=edit&gbe_id=""& gbe_id &""&rfile=""& SCRIPT_NAME &""&""& objPMod.ComposeURL() &""','Edit Machine Type');""""""",_
704
                           "icons/i_edit.gif",_
713
                           "icons/i_edit.gif",_
705
                           "icons/i_edit_off.gif",_
714
                           null,_
706
                           "Edit this GBE MachType value",_
715
                           "Edit this GBE MachType value",_
707
                           "Y",_
716
                           "Y",_
708
                           "Y",_
717
                           "Y",_
709
                           "N",_
718
                           "N",_
710
                           "N")
719
                           "N")