Code

Fixed generic template
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 3 Aug 2006 07:17:19 +0000 (07:17 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 3 Aug 2006 07:17:19 +0000 (07:17 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4373 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/generic/generic.tpl
plugins/personal/generic/main.inc

index 1dbec3ea9bb13452cb97630e0d61d8b036f57525..8c3e256e6281f59da11ab607d99581963db034be 100644 (file)
           <tr>
                <td width="147" height="200" bgcolor="gray">
                {if !$userPicture_is_readable}
-                       <img align="center" valign="center" border="0" width="100%" src="images/default.jpg" alt="{t}Personal picture{/t}">
+                       <img class='center' border="0" width="100%" src="images/default.jpg" alt="{t}Personal picture{/t}">
                {else}
-                       <img align="center" valign="center" border="0" width="100%" src="getbin.php?rand={$rand}" alt="{t}Personal picture{/t}">
+                       <img class='center' border="0" width="100%" src="getbin.php?rand={$rand}" alt="{t}Personal picture{/t}">
                {/if}
                </td>
           </tr>
           <tr>
                <td>
                {render acl=$userPictureACL}
-                       <input valign="top" type="submit" name="edit_picture" value="{t}Change picture{/t}...">
+                       <input style='vertical-align:top;' type="submit" name="edit_picture" value="{t}Change picture{/t}...">
                {/render}
                </td>
           </tr>
   <td style="vertical-align:top;">
    <table summary="" style="width:100%"> 
     <tr>
-     <td><label for="l">{t}Location{/t}</l></td>
+     <td><label for="l">{t}Location{/t}</label></td>
      <td>
        {render acl=$lACL}
                <input id="l" name="l" size=22 maxlength=60 value="{$l}">
index c01542f94cfb5b4303b333e4e598fa8324e1678a..5ad7640e26107bb01e30b24ef877e4fd408d8ec0 100644 (file)
@@ -148,7 +148,6 @@ if (!$remove_lock){
       $display.= "<input type=submit name=\"edit_finish\" style=\"width:80px\" value=\""._("Ok")."\">\n";
       $display.= "&nbsp;";
       $display.= "<input type=submit name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
-      $display.="<script language='javascript'>";
 
       $info= "<img class=\"center\" alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png').
              "\"> ".$ui->dn."&nbsp;";