This version will work with DNN 05.06.00 and up.
Bug Fix SuperUser Detection
Passing IfRole="SuperUsers" did not detect Host users
This has been corrected now and the code has been rewritten.
New Attribute ContentFalse
This is the content that gets injected when the conditions
Changed IfQs behavior:
IfQs also to test if a query String Parameter exists
You can now pass a QS paramter without value
Where IfQS="ProductId:122" would test for a QS parameter ProductId with value 122
IfQS="ProductId" allows you to test if querystring parameter ProductId exists (has any value).
Added Simple Content Injection:
Added attribute Content
The passed value of this attribute will be injected if the set conditions are met.<br />
This will be expanded in the future (load HTML file content and the use of tokens).
Fixed bug in DNN5 Stylesheet removal:
The code change for DNN6 caused stylsheets not be removed in DNN 5 anymore, fixed now..
Also added a warning for DNN6 users if the try something that does not work in DNN6.
Changes to detectmobilebrowser detection:
Added attribute DetectMobileRegex1
You can use this attribute to overwrite the first regex used by the detectmobilebrowser.com method
Added attribute DetectMobileRegex2
You can use this attribute to overwrite the second regex used by the detectmobilebrowser.com method
Added Attribute: DetectMobileIncludeTablet
On detectmobilebrowser.com/about there's a method to include tablets as mobile devices (by changing the first regex).
If you set DetectMobileIncludeTablet to True, the first regex is replaced and Tablets are treated as mobile (although I'm not 100% sure this is up to date).