%@LANGUAGE="VBSCRIPT"%> <% '===================================================== '| | '| ADMIN Page | '| Project Suffix | '| | '===================================================== %> <% Option explicit ' Good idea to set when using redirect Response.Expires = 0 ' always load the page, dont store %> <% '------------ ACCESS CONTROL ------------------ %> <% '------------ Variable Definition ------------- Dim objBtnControl Dim bCanEdit '------------ Constants Declaration ----------- '------------ Variable Init ------------------- Set objBtnControl = New ActionButtonControl bCanEdit = canActionControl("CreateNewProject") and canActionControl("ConfigureBuildService") '---------------------------------------------- function niceBool (val) if val = "Y" Then niceBool = "Y" Else niceBool = "N" End If End Function function showCheck (val) if val = "Y" Then showCheck = "checked" Else showCheck = "" End If End Function %>
| Suffix | Comment | Free Form Version | Enable Selection | Edit |
|---|---|---|---|---|
| <%=extName%> | <%=comment%> | > | > | <%Call objBtnControl.Render ( Array("btnEditProjectExtensions", "btnDeleteProjectExtension"), objAccessControl )%> |
| <%Call Action_Buttons_State ( "Add Project Extension", bCanEdit )%> | ||||