Code

Table width with % must be formated like this width="100%"
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 25 May 2005 07:01:41 +0000 (07:01 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 25 May 2005 07:01:41 +0000 (07:01 +0000)
Everytime you add a non numeric value to an attribute like 100%, 100px you will
need to add "" to the value

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@388 594d385d-05f5-0310-b6e9-bd551577e9d8

16 files changed:
plugins/addons/addressbook/address_edit.tpl
plugins/addons/addressbook/address_info.tpl
plugins/addons/addressbook/dial.tpl
plugins/addons/logview/class_logview.inc
plugins/addons/logview/contents.tpl
plugins/admin/groups/acl.tpl
plugins/admin/groups/class_groupMail.inc
plugins/admin/groups/mail.tpl
plugins/admin/groups/main.inc
plugins/admin/systems/component.tpl
plugins/admin/systems/network.tpl
plugins/admin/systems/phone.tpl
plugins/admin/systems/printer.tpl
plugins/admin/systems/server.tpl
plugins/admin/systems/wingeneric.tpl
plugins/admin/users/main.inc

index 86daf058c7da6ae1a49ff41978eecc704fe3d29f..b10e90c292ab884784864a8c37bf4d567bc2caf1 100644 (file)
@@ -1,6 +1,6 @@
 <table style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" cellpadding=4 cellspacing=0 border=0>
 <tr style="background-color: #E8E8E8; height:26px;font-weight:bold;">
-<td align=left width=100%>{$storage_info}
+<td align=left width="100%">{$storage_info}
  <select name="storage_base" size=1" title="{t}Choose the department to store entry in{/t}">
   {html_options options=$deplist selected=$storage_base}
  </select>
 <tr style="background-color: white">
 <td colspan=2>
 
-<table width=100% cellspacing=2 cellpadding=4>
+<table width="100%" cellspacing=2 cellpadding=4>
 <tr>
 <td style="width:50%; vertical-align:top; background-color: #F0F0F0">
  <h2><img src="{$personal_image}" align=center>&nbsp;{t}Personal{/t}</h2>
  
- <table width=100%>
+ <table width="100%">
   <tr>
    <td>{t}Name{/t}{$must}, {t}Given name{/t}{$must}</td><td><input name="sn" size=10 maxlength=60 value="{$info_sn}">, <input name="givenName" size=10 maxlength=60 value="{$info_givenName}"><td>
   </tr>
@@ -32,7 +32,7 @@
 <td style="width:50%; vertical-align:top; background-color: #E8E8E8">
  <h2><img src="{$home_image}" align=center>&nbsp;{t}Private{/t}</h2>
 
- <table width=100%>
+ <table width="100%">
   <tr>
    <td>{t}Address{/t}<br><br></td>
    <td style="vertical-align:top;"><textarea name="homePostalAddress" rows=1 cols=20>{$info_homePostalAddress}</textarea></td>
 <td style="width:100%; vertical-align:top; background-color: #E4E4E4" colspan=2>
  <h2><img src="{$company_image}" align=center>&nbsp;{t}Organizational{/t}</h2>
 
- <table width=100%>
+ <table width="100%">
   <tr>
    <td>
   
-    <table width=100%>
+    <table width="100%">
      <tr>
       <td>{t}Company{/t}</td><td><input name="o" size=15 maxlength=60 value="{$info_o}"></td>
      </tr>
@@ -81,7 +81,7 @@
  
    <td style="vertical-align:top">
 
-    <table width=100%>
+    <table width="100%">
      <tr>
       <td>{t}Address{/t}<br><br></td><td style="vertical-align:top;"><textarea name="postalAddress" rows=1 cols=20>{$info_postalAddress}</textarea></td>
      </tr>
index b83990baae0dde5b2d52cec596b33545d1e7c170..8cd08c57b2f8a45bcc810ddf5680928d50bd2c8d 100644 (file)
@@ -1,17 +1,17 @@
 <table style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" cellpadding=4 cellspacing=0 border=0>
 <tr style="background-color: #E8E8E8; height:26px;font-weight:bold;">
-<td align=left width=100%>{$storage_info}</td>
+<td align=left width="100%">{$storage_info}</td>
 <td><a href="{$url}">X</a></td>
 </tr>
 <tr style="background-color: white">
 <td colspan=2>
 
-<table width=100% cellspacing=2 cellpadding=4>
+<table width="100%" cellspacing=2 cellpadding=4>
 <tr>
 <td style="width:50%; vertical-align:top; background-color: #F0F0F0">
  <h2><img src="{$personal_image}" align=center> {t}Personal{/t}</h2>
  
- <table width=100%>
+ <table width="100%">
   <tr>
    <td>{t}Name{/t}</td><td><i>{$info_sn}, {$info_givenName}</i></td>
   </tr>
@@ -28,7 +28,7 @@
 <td style="width:50%; vertical-align:top; background-color: #E8E8E8">
  <h2><img src="{$home_image}" align=center> {t}Private{/t}</h2>
 
- <table width=100%>
+ <table width="100%">
   <tr>
    <td>{t}Address{/t}<br><br></td>
    <td style="vertical-align:top;"><i>{$info_homePostalAddress}</i></td>
 <td style="width:100%; vertical-align:top; background-color: #E4E4E4" colspan=2>
  <h2><img src="{$company_image}" align=center> {t}Organizational{/t}</h2>
 
- <table width=100%>
+ <table width="100%">
   <tr>
    <td>
   
-    <table width=100%>
+    <table width="100%">
      <tr>
       <td>{t}Company{/t}</td><td><i>{$info_o}</i></td>
      </tr>
@@ -77,7 +77,7 @@
  
    <td style="vertical-align:top">
 
-    <table width=100%>
+    <table width="100%">
      <tr>
       <td>{t}Address{/t}<br><br></td><td style="vertical-align:top;"><i>{$info_postalAddress}</i></td>
      </tr>
index b8196f61ebde9c9da961a18faad723dc929f9b67..3495d2129fc9f472fb5e39d3ba03d01cc0399b92 100644 (file)
@@ -1,6 +1,6 @@
 <table style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" cellpadding=4 cellspacing=0 border=0>
 <tr style="background-color: #E8E8E8; height:26px;font-weight:bold;">
-<td align=left width=100%>{t}Dial connection...{/t}</td>
+<td align=left width="100%">{t}Dial connection...{/t}</td>
 <td><a href="{$url}">X</a></td>
 </tr>
 <tr style="background-color: white">
index 2c1bf15c6d0d1bba2d4c9c8fb5714fe9b95e0d09..639ed57788e2f945f8f1515a00ed1689d5be40f4 100644 (file)
@@ -222,7 +222,7 @@ class logview extends plugin
 
                                $res.="<tr style=\"$col\">\n";
                                $res.="<td style=\"text-align:center\"><img src=\"".get_template_path('images/log_'.strtolower($line['log_level'])).".png\" title=\"Log level is '".$line['log_level']."'\"></td><td>".$line['host']."</td>";
-                               $res.="<td>".$line['time_stamp']."</td><td width=100%>".$line['message']."</td>";
+                               $res.="<td>".$line['time_stamp']."</td><td width=\"100%\">".$line['message']."</td>";
                                $res.="</tr>\n";
                        }
                        mysql_close($link);
index bf6ea21faafd29126d96387ee9a3026020032a58..063115502745c87319db3e2c84ea705b3b3a7bcb 100644 (file)
@@ -4,7 +4,7 @@
 <div class="contentboxb">
  <p class="contentboxb" style="border-top:1px solid #B0B0B0; padding:0px;">
 
- <table width=100%>
+ <table width="100%">
   <tr>
    <td width=33%>
     <table>
    </td>
    
    <td>
-    <table width=100%>
+    <table width="100%">
      <tr>
       <td><img align="center" border=0 src="{$ruleset_image}">&nbsp;{t}Ruleset{/t}</td>
-      <td width=100%>
+      <td width="100%">
        <input name="edit_rules" type="submit" value="{t}Edit{/t}" disabled>
       </td>
      </tr>
index b12c32af5ef4a35b03a8b93c138a1f4180c47ada..a26b008709897b07d787f03999070407f7479a47 100644 (file)
@@ -1,4 +1,4 @@
-<table width=100%>
+<table width="100%">
  <tr>
   <td>
    <b>{t}Object{/t}</b>
index 23ff9c64e8768c718166dca6ccbf3d434b36104a..e740fd36dee922862a5d4a61746890f6ce3e6fe4 100644 (file)
@@ -175,7 +175,7 @@ class mailgroup extends plugin
 
     /* Do we represent a valid account? */
     if (!$this->is_account && $this->parent == NULL){
-      $display= "<img src=\"images/stop.png\" align=center>&nbsp;<b>".
+      $display= "<img alt=\"\" src=\"images/stop.png\" align=middle>&nbsp;<b>".
         _("This 'dn' has no valid mail extensions.")."</b>";
       return ($display);
     }
index ec197a88a8e77d0a7c84a876e89187fe8375343a..fd192c962d54c8550e4c89a57ad1a92b4851f0fb 100644 (file)
@@ -4,7 +4,7 @@
  <!-- Headline container -->
  <tr>
   <td style="width:50%; vertical-align:top;">
-   <h2><img align="center" src="images/rightarrow.png"> {t}Generic{/t}</h2>
+   <h2><img alt="" align="middle" src="images/rightarrow.png"> {t}Generic{/t}</h2>
    <table>
     <tr>
      <td>{t}Primary address{/t}{$must}</td>
@@ -26,7 +26,7 @@
      <td>
       <br>
       {if $quotadefined eq "true"}
-      <img src="progress.php?x=100&amp;y=16&amp;p={$quotausage}" align="center">
+      <img alt="" src="progress.php?x=100&amp;y=16&amp;p={$quotausage}" align="middle">
       {else}
       {t}not defined{/t}
       {/if}
@@ -34,7 +34,7 @@
     </tr>
     <tr>
      <td>{t}Quota size{/t}</td>
-     <td><input name="gosaMailQuota" size=6 align=center maxlength=30 {$gosaMailQuota} value="{$gosaMailQuota}"> KB</td>
+     <td><input name="gosaMailQuota" size=6 align=middle maxlength=30 {$gosaMailQuota} value="{$gosaMailQuota}"> KB</td>
     </tr>
    </table>
      
    &nbsp;
   </td>
   <td style="vertical-align:top">
-   <h2><img align="center" src="images/alternatemail.png"> {t}Alternative addresses{/t}</h2>
+   <h2><img alt="" align="middle" src="images/alternatemail.png"> {t}Alternative addresses{/t}</h2>
    <select style="width:350px; height:100px;" name="alternates_list[]" size=15 multiple title="{t}List of alternative mail addresses{/t}">
     {html_options values=$gosaMailAlternateAddress output=$gosaMailAlternateAddress}
    </select>
    <br>
-   <input name="alternate_address" size=30 align=center maxlength=30 {$gosaMailAlternateAddressACL} value="">
+   <input name="alternate_address" size=30 align=middle maxlength=30 {$gosaMailAlternateAddressACL} value="">
    <input type=submit value="{t}Add{/t}" name="add_alternate" {$gosaMailAlternateAddressACL}>&nbsp;
    <input type=submit value="{t}Delete{/t}" name="delete_alternate" {$gosaMailAlternateAddressACL}>
   </td>
@@ -61,7 +61,7 @@
 <table style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
  <tr>
   <td style="width:50%; vertical-align:top;">
-   <h2><img align="center" src="images/members.png"> {t}IMAP shared folders{/t}</h2>
+   <h2><img alt="" align="middle" src="images/members.png"> {t}IMAP shared folders{/t}</h2>
 
    <table cellpadding=0 border=0>
     <tr>
        &nbsp;
   </td>
   <td style="vertical-align:top">
-   <h2><img align="center" src="images/envelope.png"> {t}Forward messages to non group members{/t}</h2>
+   <h2><img alt="" align="middle" src="images/envelope.png"> {t}Forward messages to non group members{/t}</h2>
    <select style="width:350px; height:100px;" name="forwarder_list[]" size=15 multiple>
     {html_options values=$gosaMailForwardingAddress output=$gosaMailForwardingAddress}
    </select>
    <br>
-   <input name="forward_address" size=20 align=center maxlength=60 {$gosaMailForwardingAddressACL} value="">
+   <input name="forward_address" size=20 align=middle maxlength=60 {$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 f6b6ef27ed2ce7ea6f1a9716b8facb20b775493b..c3f8c58ad6ab8317bd7e8a224134a15201c8996a 100644 (file)
@@ -36,7 +36,7 @@ if ($remove_lock){
   /* Page header*/
   if (isset($_SESSION['objectinfo'])){
     $display= print_header(get_template_path('images/group.png'),
-                           _("Group administration"), "<img align=\"center\" src=\"".
+                           _("Group administration"), "<img alt=\"\" align=\"middle\" src=\"".
                             get_template_path('images/closedlock.png')."\"> ".
                             $_SESSION['objectinfo']);
   } else {
index f830920a1e6d25ec792ac5edc78282b8396ab3ea..ba6ac4fa823ed39db9195299b5eda6341c901db2 100644 (file)
@@ -1,4 +1,4 @@
-<table width=100%>
+<table width="100%">
  <tr>
   <td style="vertical-align:top; width:50%;">
        <table>
index 1abc75b6de416efa66926367e6450fba1d9797e8..f263bf92585f255aefe70d65955dd381e146804d 100644 (file)
@@ -1,6 +1,6 @@
 <h2><img align="center" src="images/network.png"> {t}Network settings{/t}</h2>
 
-<table width=100%>
+<table width="100%">
  <tr>
   <td>
    <table>
index 50597b121f60f9f4dda61a89822aeb8fcfd524ff..a5d0ce49b552e5adddbd2f20c631492bbddc34c1 100644 (file)
@@ -1,4 +1,4 @@
-<table width=100%>
+<table width="100%">
  <tr>
   <td style="vertical-align:top; width:50%;">
        <table>
index 3df9755b0145c7ccda5cecf193009d740e06b4d1..c747dcbbed3ac74b82bf24b51ec89b3c4a031f64 100644 (file)
@@ -1,4 +1,4 @@
-<table width=100%>
+<table width="100%">
  <tr>
   <td style="vertical-align:top; width:50%;">
        <table>
index 4a2a391521d97719e188b533a103b45cfc3e1fb8..e3d4462056b24a2fa26a7c5b184a1031646a6010 100644 (file)
@@ -1,4 +1,4 @@
-<table width=100%>
+<table width="100%">
  <tr>
   <td style="vertical-align:top; width:50%;">
        <table>
index 07a6bef59448f46ab06f3056ebc200d26db52847..3646e1870b2245e5570ec620e285ad1760d88c13 100644 (file)
@@ -1,4 +1,4 @@
-<table width=100%>
+<table width="100%">
  <tr>
   <td style="vertical-align:top; width:50%;">
        <table>
index 4b7dd0a0dbc1040fbea9f535478e75447e7b6673..465ea979e239bb59e9a284e5de78a03e8f148504 100644 (file)
@@ -38,7 +38,7 @@ if ($remove_lock){
   if (isset($_SESSION['objectinfo'])){
     $display= print_header(get_template_path('images/user.png'),
                            _("User administration"),
-                           "<img align=\"center\" src=\"".
+                           "<img alt=\"\" align=\"middle\" src=\"".
                            get_template_path('images/closedlock.png').
                            "\"> ".$_SESSION['objectinfo']);
   } else {