' jquery themes start with j-, rico themes start with r-\r
Private theme \r
Public Property Let ricoTheme(ThemeName)\r
- theme = "r-" & ThemeName\r
- if ThemeName="grayedout" then imgHeading="grayedout.gif"\r
+ SetTheme "r-" & ThemeName\r
End Property \r
Public Property Let jTheme(ThemeName)\r
- theme = "j-" & ThemeName\r
-End Property \r
+ SetTheme "j-" & ThemeName\r
+End Property\r
+\r
+\r
+Private Sub SetTheme(ByVal PrefixedTheme)\r
+ theme = PrefixedTheme\r
+ If PrefixedTheme = "r-grayedout" Then imgHeading = "grayedout.gif"\r
+End Sub\r
\r
\r
Public Sub SetRicoClientPaths(ByVal jsPath, cssPath, imgPath)\r
' Do no call in production\r
Public Sub CheckQueryString()\r
BaseLib=LCase(Request.QueryString("lib"))\r
- theme=trim(Request.QueryString("theme"))\r
+ SetTheme trim(Request.QueryString("theme"))\r
ricoLogging=CBool(trim(Request.QueryString("log")) <> "")\r
end Sub\r
\r