diff --git a/transforms/adl2views.xslt b/transforms/adl2views.xslt index c0e43ef..ccc3452 100755 --- a/transforms/adl2views.xslt +++ b/transforms/adl2views.xslt @@ -15,8 +15,8 @@ Transform ADL into velocity view templates $Author: sb $ - $Revision: 1.39 $ - $Date: 2009-04-28 13:44:51 $ + $Revision: 1.40 $ + $Date: 2009-04-30 08:56:33 $ --> @@ -67,6 +67,11 @@ If not 'Application', then 'Database'. --> + + + + + + If the user can't read the fieldgroup, don't output it at all. + #if ( ${SecurityHelper.InGroup( "")} || false) + + +
@@ -547,6 +533,9 @@
+ + #end +
@@ -623,7 +612,15 @@ - + + + + + + + #if ( ${SecurityHelper.InGroup( "")} || false) + actionDangerous actionSafe @@ -658,8 +655,9 @@ #end - #end - + #end + #end + @@ -726,7 +724,17 @@ it may be we need to add a mode to indicate this! --> - + + + + + + + + + #if ( ${SecurityHelper.InGroup( "")} || false) + + @@ -736,33 +744,12 @@ ")} - - - - - - - - - - - #if ( ${SecurityHelper.InGroup( "")} || false) - - - - #else - [Not authorised] - #end - - - - - - - - - - + + + + + + @@ -774,6 +761,9 @@ + + #end + @@ -844,7 +834,19 @@ - + + + + if the user can't even read the field, don't output it at all. + #if ( ${SecurityHelper.InGroup( "")} || false) + + + we haven't found any group of users who are entitled to see this field. + #if ( false) + + + + @@ -915,7 +917,11 @@ - + + #end + + + @@ -931,29 +937,15 @@ - - - Auto generated Velocity list for , - generated from ADL. - - Generated using adl2views.xslt - Generation parameters were: - locale: - generate-site-navigation: - show-errors: - show-messages: - max-widget-width: - product-version: - layout-name: - area-name: - - - #capturefor( title) - - #end - #capturefor( headextras) - + #capturefor( title) + + #end + #capturefor( headextras) + + Auto generated Velocity list for , + + #end @@ -994,23 +986,10 @@ #set( $title = "") - - - - Auto generated Velocity list for , - generated from ADL. - - Generated using adl2listview.xsl - Generation parameters were: - locale: - generate-site-navigation: - show-errors: - show-messages: - max-widget-width: - product-version: - layout-name: - area-name: - + + Auto generated Velocity list for , + + @@ -1776,7 +1755,33 @@ ${ScriptsHelper.InstallScript( "Panes")} + + + - + Auto generated Velocity macro for , + generated from ADL. + + Generated using adl2views.xslt + Generation parameters were: + area-name: + default-url: + generate-site-navigation: + layout-name: + locale: + max-widget-width: + product-version: + page-timeout: + show-errors: + show-messages: + + + + + + + + @@ -1791,6 +1796,7 @@ + @@ -1848,6 +1854,7 @@ + diff --git a/transforms/permissions-include.xslt b/transforms/permissions-include.xslt index cd924ea..7b8fd97 100755 --- a/transforms/permissions-include.xslt +++ b/transforms/permissions-include.xslt @@ -15,8 +15,8 @@ Utility templates to find permissions on various things $Author: sb $ - $Revision: 1.3 $ - $Date: 2009-04-28 13:53:17 $ + $Revision: 1.4 $ + $Date: 2009-04-30 08:56:33 $ --> @@ -220,7 +220,61 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + none + + + + + + + + + + + + + + + + + + + + + + + + + none + + + + + @@ -281,6 +396,12 @@ + + + + + +