From: hickert Date: Thu, 4 Mar 2010 07:47:29 +0000 (+0000) Subject: Updated generic templates X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=56bc7d5f45503281be24f18a772256d2337da9f1;p=gosa.git Updated generic templates git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16010 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc index 8bb519724..cce9ec8d8 100644 --- a/gosa-core/plugins/personal/generic/class_user.inc +++ b/gosa-core/plugins/personal/generic/class_user.inc @@ -566,7 +566,7 @@ class user extends plugin $add_str_info = "
"._("(Some types of certificates are currently not supported and may be displayed as 'invalid'.)").""; } - $str = " + $str = "
diff --git a/gosa-core/plugins/personal/generic/generic.tpl b/gosa-core/plugins/personal/generic/generic.tpl index 06bcfca5c..7d8ec7f7b 100644 --- a/gosa-core/plugins/personal/generic/generic.tpl +++ b/gosa-core/plugins/personal/generic/generic.tpl @@ -1,21 +1,16 @@ -
CN ".preg_replace("/ /", " ", $certificate->getname())."
- - - - - - - + + +

{t}Personal information{/t}

+ + +
-

{t}Personal information{/t}

-
- - - - - + + + +
- + + +
-
+ {if !$userPicture_is_readable} {else} @@ -31,80 +26,94 @@
-
- - {if $is_template ne "true"} + + {if $is_template ne "true"} + + +
- + - {else} - - - - - {/if} - - {if $is_template ne "true"} - + - + - {/if} + + {else} + + +
+ + {if $multiple_support} - + {else} - {render acl=$snACL} - - {/render} + {render acl=$snACL} + + {/render} {/if}
{render acl=$snACL}{/render}
- + + {if $multiple_support} - + {else} - {render acl=$givenNameACL} - - {/render} + {render acl=$givenNameACL} + + {/render} {/if}
+ + {if !$multiple_support} - {render acl=$uidACL} - - {/render} + {render acl=$uidACL} + + {/render} {else} - + {/if}
+ + + + + + {/if} + - + + {if !$multiple_support} + + @@ -131,20 +144,21 @@ {/if} +
{render acl=$snACL}{/render}
-
-
{render acl=$personalTitleACL checkbox=$multiple_support checked=$use_personalTitle} - + {/render}
+ + {render acl=$academicTitleACL checkbox=$multiple_support checked=$use_academicTitle} - + {/render}
@@ -112,16 +121,20 @@
- {render acl=$dateOfBirthACL} - - {if $dateOfBirthACL|regex_replace:"/[cdmr]/":"" == "w"} - - {/if} + {render acl=$dateOfBirthACL} + + {if $dateOfBirthACL|regex_replace:"/[cdmr]/":"" == "w"} + + {/if} {/render}
{render acl=$genderACL} - + {/render}
{render acl=$preferredLanguageACL checkbox=$multiple_support checked=$use_preferredLanguage} - {html_options options=$preferredLanguage_list selected=$preferredLanguage} {/render} @@ -163,14 +177,14 @@
+
  - - - +
@@ -191,20 +205,15 @@ - - -
@@ -183,7 +197,7 @@ {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} - {foreach from=$pwmode key=value item=desc} {/foreach} @@ -240,7 +249,7 @@ {$gosaLoginRestrictionWidget} {/render} {render acl=$gosaLoginRestrictionACL} - {/render} {render acl=$gosaLoginRestrictionACL} @@ -260,7 +269,7 @@ {$gosaLoginRestrictionWidget} {/render} {render acl=$gosaLoginRestrictionACL} - {/render} {render acl=$gosaLoginRestrictionACL} @@ -275,28 +284,25 @@
+
- - - +
- - - + {if $governmentmode ne "true"}

{t}Organizational information{/t}

- +
@@ -304,7 +310,7 @@ @@ -312,7 +318,7 @@ @@ -320,7 +326,7 @@ @@ -328,7 +334,7 @@ @@ -379,12 +385,12 @@
{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}
- +
@@ -393,7 +399,7 @@ @@ -402,7 +408,7 @@ @@ -410,7 +416,7 @@ @@ -418,7 +424,7 @@ @@ -431,12 +437,12 @@
{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}
- +
@@ -444,7 +450,7 @@ @@ -463,12 +469,12 @@
{render acl=$lACL checkbox=$multiple_support checked=$use_l} - + {/render}
{render acl=$stACL checkbox=$multiple_support checked=$use_st} - + {/render}
- +
@@ -476,7 +482,7 @@ @@ -485,7 +491,7 @@ @@ -494,7 +500,7 @@ @@ -503,7 +509,7 @@ @@ -512,12 +518,12 @@
{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}
- +
@@ -526,7 +532,7 @@ @@ -535,7 +541,7 @@ @@ -543,7 +549,7 @@ @@ -551,7 +557,7 @@ @@ -561,12 +567,12 @@
{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} - +
@@ -575,7 +581,7 @@ @@ -595,7 +601,7 @@ @@ -604,7 +610,7 @@
{render acl=$roomNumberACL checkbox=$multiple_support checked=$use_roomNumber} - + {/render}
{render acl=$telephoneNumberACL checkbox=$multiple_support checked=$use_telephoneNumber} {if $has_phoneaccount ne "true"} - + {else} {t}Please use the phone tab{/t} {/if} @@ -586,7 +592,7 @@ {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} - {html_options values=$ivbbmodes output=$ivbbmodes selected=$publicVisible} {/render} diff --git a/gosa-core/plugins/personal/generic/generic_certs.tpl b/gosa-core/plugins/personal/generic/generic_certs.tpl index 97100e1c4..ad71a8401 100644 --- a/gosa-core/plugins/personal/generic/generic_certs.tpl +++ b/gosa-core/plugins/personal/generic/generic_certs.tpl @@ -1,9 +1,10 @@ -

-{t}Certificates{/t}

- + +

{t}Certificates{/t}

+ +
-
+ {t}Standard certificate{/t} @@ -24,10 +25,12 @@
-
- + +
+ +
-
+ {t}S/MIME certificate{/t} @@ -48,10 +51,12 @@
-
- + +
+ +
- {/if}
+ {t}PKCS12 certificate{/t} @@ -85,6 +90,7 @@
+
{render acl=$CertificateACL} +

+
diff --git a/gosa-core/plugins/personal/generic/password.tpl b/gosa-core/plugins/personal/generic/password.tpl index 6bba5a9b7..31fa5e046 100644 --- a/gosa-core/plugins/personal/generic/password.tpl +++ b/gosa-core/plugins/personal/generic/password.tpl @@ -2,7 +2,7 @@ {t}You have changed the method your password is stored in the ldap database. For that reason you've to enter your password at this point again. GOsa will then encode it with the selected method.{/t}

- +
diff --git a/gosa-core/plugins/personal/generic/paste_generic.tpl b/gosa-core/plugins/personal/generic/paste_generic.tpl index 67805f295..6248fa5ae 100644 --- a/gosa-core/plugins/personal/generic/paste_generic.tpl +++ b/gosa-core/plugins/personal/generic/paste_generic.tpl @@ -1,61 +1,47 @@

{t}User settings{/t}

-
- - - - +
- - - - - - - - - - - - - - - - - -
- {t}Password{/t} - - {t}Clear password{/t}
- {t}Set new password{/t} -
-
- - - - - - - - - - -
- - - - -
- {image path="getbin.php?rand={$rand}"} -
-
- - {t}User picture{/t} - - -   - - -
-
+ + + +
+ + + + + + + + + + + + + + + + + +
+ {t}Password{/t} + + {t}Clear password{/t}
+ {t}Set new password{/t} +
+
+ + + + +
+ +
+

+ + +   + +

+