From 83406d5a1735ba51032679e293b4398cc4a89d93 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 1 Mar 2010 16:09:32 +0000 Subject: [PATCH] Updated generic tpl git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15812 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../plugins/personal/generic/generic.tpl | 775 ++++++++---------- 1 file changed, 347 insertions(+), 428 deletions(-) diff --git a/gosa-core/plugins/personal/generic/generic.tpl b/gosa-core/plugins/personal/generic/generic.tpl index 806930eb3..cbbca8ed5 100644 --- a/gosa-core/plugins/personal/generic/generic.tpl +++ b/gosa-core/plugins/personal/generic/generic.tpl @@ -1,128 +1,85 @@ - +

{t}Personal information{/t}

- - - - - - - - - - - - - - - - - - -
-

{t}Personal information{/t}

-
- - - - - - - -
- {if !$userPicture_is_readable} - {t}Personal picture{/t} - {else} - {t}Personal picture{/t} - {/if} -
-{render acl=$userPictureACL checkbox=$multiple_support checked=$use_edit_picture} - -{/render} -
-
- - {if $is_template ne "true"} - - - - - {else} - - - - - {/if} +
+ {render acl=$userPictureACL checkbox=$multiple_support checked=$use_edit_picture} + + {/render} + + + - {if $is_template ne "true"} - - - - - - - - - {/if} - - - - - - - - - + {if !$multiple_support} - - - - - - - - + {/render} + {/if} - - - - - - - - -
-{if $multiple_support} - +
+ +
+
+
+{if !$userPicture_is_readable} + {t}Personal picture{/t} {else} -{render acl=$snACL} - -{/render} + {t}Personal picture{/t} {/if} -
{render acl=$snACL}{/render}
+
+
+ {t}Generic{/t} +
+{if $is_template eq "true"} -{if $multiple_support} - + + {render acl=$snACL} + + {/render} {else} -{render acl=$givenNameACL} - -{/render} + + {if $multiple_support} + + + + + + + + + + + {else} + + + {render acl=$snACL} + + {/render} + + + {render acl=$givenNameACL} + + {/render} + + + {render acl=$uidACL} + + {/render} + + {/if} {/if} -
- {if !$multiple_support} -{render acl=$uidACL} - -{/render} - {else} - - {/if} -
+
+ -
+ {render acl=$personalTitleACL checkbox=$multiple_support checked=$use_personalTitle} + + {/render} + + {render acl=$academicTitleACL checkbox=$multiple_support checked=$use_academicTitle} + + {/render} +
-{render acl=$personalTitleACL checkbox=$multiple_support checked=$use_personalTitle} - -{/render} -
-{render acl=$academicTitleACL checkbox=$multiple_support checked=$use_academicTitle} - -{/render} -
-
+ -
-
-{render acl=$dateOfBirthACL} - - {if $dateOfBirthACL|regex_replace:"/[cdmr]/":"" == "w"} + {render acl=$dateOfBirthACL} + + {if $dateOfBirthACL|regex_replace:"/[cdmr]/":"" == "w"} {/if} -{/render} -
+ {/render} + - -{render acl=$genderACL} + {render acl=$genderACL} -{/render} -
+ - -{render acl=$preferredLanguageACL checkbox=$multiple_support checked=$use_preferredLanguage} + {render acl=$preferredLanguageACL checkbox=$multiple_support checked=$use_preferredLanguage} -{/render} -
-
+ {/render} + -
-{render acl=$baseACL checkbox=$multiple_support checked=$use_base} - {$base} -{/render} -
-
-   - - - - - - - - - - - - - - - - - - - - - - - - {if $is_template ne "true" && !$multiple_support} - - - - - {/if} + {/render} + {render acl=$passwordStorageACL checkbox=$multiple_support checked=$use_pw_storage} + {if $pw_configurable eq "true"} +   + {/if} + {/render} + + {if $is_template ne "true" && !$multiple_support} + + {render acl=$CertificatesACL mode=read_active} + + {/render} + {/if} - - - - - - - -
-{render acl=$homePostalAddressACL checkbox=$multiple_support checked=$use_homePostalAddress} - -{/render} -
- -{render acl=$homePhoneACL checkbox=$multiple_support checked=$use_homePhone} - -{/render} -
-{render acl=$labeledURIACL checkbox=$multiple_support checked=$use_labeledURI} - -{/render} -
+ {render acl=$baseACL checkbox=$multiple_support checked=$use_base} + {$base} + {/render} + + + + + +
+
+ + {t}Postal address{/t} +
+ + + {render acl=$homePostalAddressACL checkbox=$multiple_support checked=$use_homePostalAddress} + + {/render} + + + {render acl=$homePhoneACL checkbox=$multiple_support checked=$use_homePhone} + + {/render} + + + {render acl=$labeledURIACL checkbox=$multiple_support checked=$use_labeledURI} + + {/render} +
-
-{render acl=$passwordStorageACL checkbox=$multiple_support checked=$use_pw_storage} + + + {render acl=$passwordStorageACL checkbox=$multiple_support checked=$use_pw_storage} - {if $pw_configurable eq "true"} -   - {/if} -{/render} -
-{render acl=$CertificatesACL mode=read_active} - -{/render} -
-
- - {if !$multiple_support} - {render acl=$gosaLoginRestrictionACL} - {$gosaLoginRestrictionWidget} - {/render} - {render acl=$gosaLoginRestrictionACL} - - {/render} - {render acl=$gosaLoginRestrictionACL} - - {/render} - - {else} - - {if !$use_gosaLoginRestriction} - {render acl=$gosaLoginRestriction_ONLY_R_ACL} - {$gosaLoginRestrictionWidget} - {/render} - {else} + + {if !$multiple_support} {render acl=$gosaLoginRestrictionACL} {$gosaLoginRestrictionWidget} {/render} {render acl=$gosaLoginRestrictionACL} - + {/render} {render acl=$gosaLoginRestrictionACL} - + {/render} + + {else} + + + {if !$use_gosaLoginRestriction} + {render acl=$gosaLoginRestriction_ONLY_R_ACL} + {$gosaLoginRestrictionWidget} + {/render} + {else} + {render acl=$gosaLoginRestrictionACL} + {$gosaLoginRestrictionWidget} + {/render} + {render acl=$gosaLoginRestrictionACL} + + {/render} + {render acl=$gosaLoginRestrictionACL} + + {/render} + {/if} {/if} - {/if} -
-
+ + + + + + + - - + +

{t}Organizational information{/t}

- - + + - + {if $governmentmode ne "true"} - - - - - - - - - - - - - - - - - - - - - - + + {if !$multiple_support} - - - - + + {else} - - - - + + {/if} -
+ + + + + {render acl=$oACL checkbox=$multiple_support checked=$use_o} {/render} -
+ + + + + {render acl=$ouACL checkbox=$multiple_support checked=$use_ou} {/render} -
+ + + + + {render acl=$departmentNumberACL checkbox=$multiple_support checked=$use_departmentNumber} {/render} -
+ + + + + {render acl=$employeeNumberACL checkbox=$multiple_support checked=$use_employeeNumber} {/render} -
+ + + + + {render acl=$employeeTypeACL checkbox=$multiple_support checked=$use_employeeType} {/render} -
+ + + {render acl=$managerACL} @@ -361,12 +279,12 @@ {/render} {/if} -
+ + + {/if} {/if} -
- - + + +   - + - - - - - - + + {if $has_phoneaccount ne "true"} - - - - + + {/if} - - - - - - - - - - - - -
+ + + + + {render acl=$roomNumberACL checkbox=$multiple_support checked=$use_roomNumber} {/render} -
+ + + {render acl=$telephoneNumberACL checkbox=$multiple_support checked=$use_telephoneNumber} {/render} -
+ + + {render acl=$mobileACL checkbox=$multiple_support checked=$use_mobile} {/render} -
+ + + + + {render acl=$pagerACL checkbox=$multiple_support checked=$use_pager} {/render} -
+ + + + + {render acl=$facsimileTelephoneNumberACL checkbox=$multiple_support checked=$use_facsimileTelephoneNumber} {/render} -
- + + + + - +   - + - - - - - - - - - - - - - - -
+ + + + + {render acl=$lACL checkbox=$multiple_support checked=$use_l} {/render} -
+ + + + + {render acl=$stACL checkbox=$multiple_support checked=$use_st} {/render} -
+ + + + + {render acl=$postalAddressACL checkbox=$multiple_support checked=$use_postalAddress} {/render} -
- + + + + {else} - - - - - - - - - - - - - - - - - - - - - - -
+ + + + + {render acl=$vocationACL checkbox=$multiple_support checked=$use_vocation} {/render} -
+ + + + + {render acl=$gouvernmentOrganizationalUnitDescriptionACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalUnitDescription} {/render} -
+ + + + + {render acl=$gouvernmentOrganizationalUnitSubjectAreaACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalUnitSubjectArea} {/render} -
+ + + + + {render acl=$functionalTitleACL checkbox=$multiple_support checked=$use_functionalTitle} {/render} -
+ + + + + {render acl=$roleACL checkbox=$multiple_support checked=$use_role} {/render} -
- + + + + - - - - - - - - - - - - - - - - - - - - - - -
+ + + + + {render acl=$gouvernmentOrganizationalPersonLocalityACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalPersonLocality} {/render} -
+ + + + + {render acl=$gouvernmentOrganizationalUnitACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalUnit} {/render} -
+ + + + + {render acl=$streetACL checkbox=$multiple_support checked=$use_street} {/render} -
+ + + + + {render acl=$postalCodeACL checkbox=$multiple_support checked=$use_postalCode} {/render} -
+ + + + + {render acl=$houseIdentifierACL checkbox=$multiple_support checked=$use_houseIdentifier} {/render} -
- + + + + - - - - - - - - - - - - - - - - - - - - - - -
+ + + + + {render acl=$roomNumberACL checkbox=$multiple_support checked=$use_roomNumber} {/render} -
+ + + + + {render acl=$telephoneNumberACL checkbox=$multiple_support checked=$use_telephoneNumber} {if $has_phoneaccount ne "true"} @@ -592,41 +510,41 @@ {t}Please use the phone tab{/t} {/if} {/render} -
+ + + + + {render acl=$facsimileTelephoneNumberACL checkbox=$multiple_support checked=$use_facsimileTelephoneNumber} {/render} -
+ + + + + {render acl=$ivbbLastDeliveryCollectiveACL checkbox=$multiple_support checked=$use_ivbbLastDeliveryCollective} {/render} -
+ + + + + {render acl=$publicVisibleACL checkbox=$multiple_support checked=$use_publicVisible} {/render} -
- + + + + {/if} - - + + {if $multiple_support} @@ -639,3 +557,4 @@ focus_field('sn'); --> +--> -- 2.30.2