Code

last middle for img is set
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 25 May 2005 09:32:47 +0000 (09:32 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 25 May 2005 09:32:47 +0000 (09:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@434 594d385d-05f5-0310-b6e9-bd551577e9d8

ihtml/themes/altlinux/framework.tpl
include/class_plugin.inc
include/setup_checks.inc

index 1df12d1190b2dbe287721955f74c7fbe89fcdc54..fce13251ea82808a2a72b169e11876ca1383cbb0 100644 (file)
        <tr>
         <td valign="middle">
         <a class=maintitlebar href='main.php?reset=1' onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "main.php?reset=1");' style="vertical-align:middle;">
-         <img src='{$go_home}' align="center" border="0" alt="GOSA2">&nbsp;{t}Main{/t}
+         <img src='{$go_home}' align="middle" border="0" alt="GOSA2">&nbsp;{t}Main{/t}
         </a>
        </td>
         <td>
         <a class=maintitlebar style="margin-left:35px; vertical-align:middle;">
-          <img src='{$go_help}' align="center" border="0" alt="GOSA2">&nbsp;{t}Help{/t}
+          <img src='{$go_help}' align="middle" border="0" alt="GOSA2">&nbsp;{t}Help{/t}
          </a>
        </td>
        <td>
         <a class=maintitlebar href='logout.php' onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "logout.php");' style="margin-left:35px; vertical-align:middle;">
-          <img src='{$go_out}' align="center" border="0" alt="GOSA2">&nbsp;{t}Sign out{/t}
+          <img src='{$go_out}' align="middle" border="0" alt="GOSA2">&nbsp;{t}Sign out{/t}
          </a>
        </td>
        </tr>
index 8137dbb68962dd0be76cb75143d9b8b97da2507c..f6b453acb18953eb946d22d2439de271059bcbc1 100644 (file)
@@ -176,7 +176,7 @@ class plugin
   {
     /* Do we represent a valid account? */
     if (!$this->is_account){
-      echo "<img alt=\"\" src=\"images/stop.png\" align=center>&nbsp;<b>".
+      echo "<img alt=\"\" src=\"images/stop.png\" align=middle>&nbsp;<b>".
         _("This 'dn' has no account extensions.")."</b>";
       return;
     }
index a6fcdda866291dab0a5177740c98ff6a16f5e067..35446c8ad3bb5e734534077be112541487fffb7e 100644 (file)
@@ -14,11 +14,13 @@ function view_schema_check($table)
     $msg = $values['msg'];
     $message.= "<tr><td class=\"check\">$msg";
     if($values['status']) {
-      $message.="</td><td style='text-align:center' ><img src=images/true.png alt='true' /></td></tr>";
+      $message.="</td><td style='text-align:center' >
+                <img src=images/true.png alt='true' /></td></tr>";
     }
     else
     {
-      $message.="</td><td style='text-align:center' ><img src=images/button_cancel.png alt='false' /></td></tr>";}
+      $message.="</td><td style='text-align:center' >
+                <img src=images/button_cancel.png alt='false' /></td></tr>";}
   }
   $message.="</table>";
   return $message;
@@ -221,7 +223,8 @@ function schema_check($server, $admin, $password,$aff=0)
 
 function check(&$faults, $message, $description, $test, $required= TRUE)
 {
-  $msg= "<table class='check'><tr><td class='check' style='font-size:14px;'>$message</td><td rowspan=2 style='vertical-align:middle; text-align:center;width:45px;'>";
+  $msg= "<table class='check'><tr><td class='check' style='font-size:14px;'>$message</td>
+                              <td rowspan=2 style='vertical-align:middle; text-align:center;width:45px;'>";
   if ($test){
     $msg.= _("OK")."<br>";
   } else {