From 7489b6e5dac2e6cb3d34980b43709979348e89e2 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 23 Oct 2008 11:42:43 +0000 Subject: [PATCH] Updated ACL template. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12769 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/ihtml/themes/default/acl.tpl | 250 +++++++++++++------------ 1 file changed, 128 insertions(+), 122 deletions(-) diff --git a/gosa-core/ihtml/themes/default/acl.tpl b/gosa-core/ihtml/themes/default/acl.tpl index 0c66f6ff4..de2a24823 100644 --- a/gosa-core/ihtml/themes/default/acl.tpl +++ b/gosa-core/ihtml/themes/default/acl.tpl @@ -1,139 +1,145 @@ -{if $dialogState eq 'head'} -

{t}Assigned ACL for current entry{/t}

-{$aclList} +{if !$acl_readable} +

{msgPool type=permView}

-{if $acl_createable} - -{/if} -{/if} +{else} + {if $dialogState eq 'head'} +

{t}Assigned ACL for current entry{/t}

+ {$aclList} -{if $dialogState eq 'create'} -

{t}ACL type{/t} - {if !$acl_writeable} -   - {else} -   - {if $javascript eq 'false'} - - {/if} + + {if $acl_createable} + {/if} -

- -

 

-
-{t}Additional filter options{/t}  - {if !$acl_writeable} - - {else} - {/if} -
- - - - - - - - - - - - -
- {t}Use members from{/t} - - {if $javascript eq 'false'}{/if}

-
- -
- {t}Available members{/t}
- {if !$acl_writeable} - - {else} - + + {if $dialogState eq 'create'} +

{t}ACL type{/t} + {if !$acl_writeable} +   + {else} +   + {if $javascript eq 'false'} + + {/if} + {/if} +

+ +

 

+
+ {t}Additional filter options{/t}  + {if !$acl_writeable} + + {else} + + {/if} +
+ + + + + + + + + + + + +
+ {t}Use members from{/t} + + {if $javascript eq 'false'}{/if}

+
+ +
+ {t}Available members{/t}
+ {if !$acl_writeable} + + {else} + + {/if} +
+ {if $acl_writeable} + +

+ + {/if} +
+ {t}Members{/t}
+ {if !$acl_writeable} + + + {else} + + {/if} +
+ + {if $aclType ne 'reset'} + {if $aclType ne 'role'} + {if $aclType ne 'base'} +

 

+ +

{t}List of available ACL categories{/t}

+ {$aclList} {/if} -
- {if $acl_writeable} - -

- {/if} -
- {t}Members{/t}
- {if !$acl_writeable} - - - {else} - {/if} -
- -{if $aclType ne 'reset'} -{if $aclType ne 'role'} -{if $aclType ne 'base'} -

 

- -

{t}List of available ACL categories{/t}

-{$aclList} -{/if} -{/if} -{/if} -{if $aclType eq 'base'} -

 

-

{t}ACL for this object{/t}

-{$aclSelector} -{/if} + {if $aclType eq 'base'} +

 

+

{t}ACL for this object{/t}

+ {$aclSelector} + {/if} -{if $aclType eq 'role'} -

 

-

{t}Available roles{/t}

-{$roleSelector} -{/if} + {if $aclType eq 'role'} +

 

+

{t}Available roles{/t}

+ {$roleSelector} + {/if} -

 

-
- {if $acl_writeable} - -   +

 

+
+ {if $acl_writeable} + +   + {/if} + +
{/if} - -
-{/if} -{if $dialogState eq 'edit'} + {if $dialogState eq 'edit'} -

{$headline}

+

{$headline}

-{$aclSelector} + {$aclSelector} -

 

-
- -   - -
+

 

+
+ +   + +
+ {/if} {/if} -- 2.30.2