From: hickert Date: Tue, 2 Mar 2010 06:23:34 +0000 (+0000) Subject: Reverted generic tpl. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=23a0b0c342aaf406c20b0ea00eae12cc76c04969;p=gosa.git Reverted generic tpl. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15822 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/personal/generic/generic.tpl b/gosa-core/plugins/personal/generic/generic.tpl index c579e7879..806930eb3 100644 --- a/gosa-core/plugins/personal/generic/generic.tpl +++ b/gosa-core/plugins/personal/generic/generic.tpl @@ -1,85 +1,128 @@ -

{t}Personal information{/t}

+ -
- -
-
-
-{if !$userPicture_is_readable} - {t}Personal picture{/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} -
-
- {t}Generic{/t} -
-{if $is_template eq "true"} + {if $is_template ne "true"} +
+ + + + + + + + {/if} + + + + + + + + + {if !$multiple_support} - + + + + + + + + {/if} - + + + + + + + + +
+{if $multiple_support} + {else} - {t}Personal picture{/t} +{render acl=$snACL} + +{/render} {/if} -
- {render acl=$userPictureACL checkbox=$multiple_support checked=$use_edit_picture} - - {/render} - - - +
{render acl=$snACL}{/render}
- - {render acl=$snACL} - - {/render} +{if $multiple_support} + {else} - - {if $multiple_support} - - - - - - - - - - - {else} - - - {render acl=$snACL} - - {/render} - - - {render acl=$givenNameACL} - - {/render} - - - {render acl=$uidACL} - - {/render} - - {/if} +{render acl=$givenNameACL} + +{/render} {/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} +
- {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} - - - - - -
-
- -
- - - {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} +
+
+   + + + + + + + + + + + + + + + + + + + + + + + + {if $is_template ne "true" && !$multiple_support} + + + + + {/if} + + + + + + + + - + {if $governmentmode ne "true"} - - - - - + - - - + - - - - - + - + - - - - - + {else} - - - - - + - - - - - + - - - - - + {/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=$passwordStorageACL checkbox=$multiple_support checked=$use_pw_storage} +
+{render acl=$passwordStorageACL checkbox=$multiple_support checked=$use_pw_storage} - {/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} + {if $pw_configurable eq "true"} +   + {/if} +{/render} +
+{render acl=$CertificatesACL mode=read_active} + +{/render} +
- - {if !$multiple_support} +
+ + {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} -

{t}Organizational information{/t}

- - +
+ + + + + + + + + + + + + + + + + + + + + {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} @@ -280,12 +361,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} - - - - +
+
+ + + + + + + + + + + + + + + + + + + + + +
{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"} @@ -511,41 +592,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 $multiple_support} @@ -558,4 +639,3 @@ focus_field('sn'); --> --->