Code

Set email maxlength for all possible input, which needs a valid email, to 65 chars
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 25 May 2005 13:07:02 +0000 (13:07 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 25 May 2005 13:07:02 +0000 (13:07 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@451 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/mail.tpl
plugins/gofax/faxaccount/generic.tpl
plugins/personal/mail/generic.tpl

index fd192c962d54c8550e4c89a57ad1a92b4851f0fb..112696033262646d9fab27a6fae120674ac80e66 100644 (file)
@@ -8,7 +8,7 @@
    <table>
     <tr>
      <td>{t}Primary address{/t}{$must}</td>
-     <td><input name="mail" size=25 maxlength=60 {$mailACL} value="{$mail}" title="{t}Primary mail address for this shared folder{/t}"></td>
+     <td><input name="mail" size=25 maxlength=65 {$mailACL} value="{$mail}" title="{t}Primary mail address for this shared folder{/t}"></td>
     </tr>
     <tr>
      <td>{t}Server{/t}</td>
@@ -93,7 +93,7 @@
     {html_options values=$gosaMailForwardingAddress output=$gosaMailForwardingAddress}
    </select>
    <br>
-   <input name="forward_address" size=20 align=middle maxlength=60 {$gosaMailForwardingAddressACL} value="">
+   <input name="forward_address" size=20 align=middle maxlength=65 {$gosaMailForwardingAddressACL} value="">
    <input type=submit value="{t}Add{/t}" name="add_forwarder" {$gosaMailForwardingAddressACL}>&nbsp;
    <input type=submit value="{t}Add local{/t}" name="add_local_forwarder" {$gosaMailForwardingAddressACL}>&nbsp;
    <input type=submit value="{t}Delete{/t}" name="delete_forwarder" {$gosaMailForwardingAddressACL}>
index 340ec4afc0919919b68f4dd4234acae528dd0206..c802f5ff070635b82462f68ed4e1fa68d4d794df 100644 (file)
@@ -9,7 +9,7 @@
        <tr>
          <td>{t}Fax{/t}{$must}</td>
          <td>
-           <input name="facsimileTelephoneNumber" size=20 maxlength=60 {$facsimileTelephoneNumberACL} value="{$facsimileTelephoneNumber}" title="{t}Fax number for GOfax to trigger on{/t}">
+           <input name="facsimileTelephoneNumber" size=20 maxlength=65 {$facsimileTelephoneNumberACL} value="{$facsimileTelephoneNumber}" title="{t}Fax number for GOfax to trigger on{/t}">
          </td>
        </tr>
        <tr>
@@ -43,7 +43,7 @@
      {if $has_mailaccount eq "false"}
      <input type=checkbox name="fax_to_mail" value="1" {$fax_to_mail} {$goFaxDeliveryModeACL}>
       {t}Deliver fax as mail to{/t}&nbsp;
-      <input name="mail" size=25 maxlength=60 {$goFaxDeliveryModeACL} value="{$mail}">
+      <input name="mail" size=25 maxlength=65 {$goFaxDeliveryModeACL} value="{$mail}">
      {else}
      <input type=checkbox name="fax_to_mail" value="1" {$fax_to_mail} {$goFaxDeliveryModeACL}>
       {t}Deliver fax as mail{/t}
@@ -73,7 +73,7 @@
                        <option>
         {/if}
      </select><br>
-     <input name="forward_address" size=20 align="middle" maxlength=60 {$facsimileAlternateTelephoneNumberACL} value="">
+     <input name="forward_address" size=20 align="middle" maxlength=65 {$facsimileAlternateTelephoneNumberACL} value="">
      <input type=submit value="{t}Add{/t}" name="add_alternate" {$facsimileAlternateTelephoneNumberACL}>&nbsp;
      <input type=submit value="{t}Add local{/t}" name="add_local_alternate" {$facsimileAlternateTelephoneNumberACL}>&nbsp;
      <input type=submit value="{t}Delete{/t}" name="delete_alternate" {$facsimileAlternateTelephoneNumberACL}>
index 6fe8a0d6b724759fd7357dd07ab6c09547ccf6f7..99e12a6c1833111a360c6bfaa3f717db9f3c231b 100644 (file)
@@ -5,7 +5,7 @@
    <table>
     <tr>
      <td>{t}Primary address{/t}{$must}</td>
-     <td><input name="mail" size=25 maxlength=60 {$mailACL} value="{$mail}"></td>
+     <td><input name="mail" size=25 maxlength=65 {$mailACL} value="{$mail}"></td>
     </tr>
     <tr>
      <td>{t}Server{/t}</td>
@@ -59,7 +59,7 @@
     
    </select>
    <br>
-   <input name="alternate_address" size=30 align="middle" maxlength="60"{$gosaMailAlternateAddressACL} value="">
+   <input name="alternate_address" size=30 align="middle" maxlength="65" {$gosaMailAlternateAddressACL} value="">
    <input type=submit value="{t}Add{/t}" name="add_alternate"
        {$gosaMailAlternateAddressACL}>&nbsp;
    <input type=submit value="{t}Delete{/t}" name="delete_alternate"
         {/if}
    </select>
    <br>
-   <input name="forward_address" size=20 align="middle" maxlength=60
+   <input name="forward_address" size=20 align="middle" maxlength=65
        {$gosaMailForwardingAddressACL} value="">
    <input type="submit" value="{t}Add{/t}" name="add_forwarder"
        {$gosaMailForwardingAddressACL}>&nbsp;