Subversion Repositories DevTools

Rev

Rev 5061 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5061 Rev 5071
Line 181... Line 181...
181
' Function:     canActionInProject
181
' Function:     canActionInProject
182
' Description:  Determine if the user can perform any action in the project
182
' Description:  Determine if the user can perform any action in the project
183
Function canActionInProject()
183
Function canActionInProject()
184
    canActionInProject = bCanModifyProject
184
    canActionInProject = bCanModifyProject
185
End Function
185
End Function
-
 
186
 
-
 
187
'-------------------------------------------------
-
 
188
' Function:     controlDisabledInProject
-
 
189
' Description:  Determine if the user can perform any action in the project
-
 
190
'               Returns ' disabled' string suitable for inlcusion in HTML
-
 
191
 
-
 
192
Function controlDisabledInProject ( cname )
-
 
193
  If canActionControlInProject ( cname ) Then
-
 
194
     controlDisabledInProject = ""
-
 
195
  Else
-
 
196
     controlDisabledInProject = " disabled "
-
 
197
  End If
-
 
198
End Function
-
 
199
 
186
%>
200
%>
187
<%
201
<%
188
'------------ RUN BEFORE CONTROL RENDER -------
202
'------------ RUN BEFORE CONTROL RENDER -------
189
 
203
 
190
 
204