Code

w3c phoneaccount
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 24 May 2005 13:35:43 +0000 (13:35 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 24 May 2005 13:35:43 +0000 (13:35 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@380 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofon/phoneaccount/class_phoneAccount.inc
plugins/gofon/phoneaccount/generic.tpl
plugins/gofon/phoneaccount/main.inc

index c1a81694d92c95c5bb21ad45bcd34a622d41e333..0a99471a393a9ab6484ae5d1ada5bb74fa5bff11 100644 (file)
@@ -110,7 +110,7 @@ class phoneAccount 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 account has no phone extensions.")."</b>";
       $display.= back_to_main();
       return($display);
@@ -200,9 +200,9 @@ class phoneAccount extends plugin
         list($number, $timeout)= split(";", $fw);
       }
       $forwarder_list.= "<tr><td>";
-      $forwarder_list.= "<input name=\"fwn$nr\" size=25 align=center maxlength=60 value=\"$number\" $acl>";
+      $forwarder_list.= "<input name=\"fwn$nr\" size=25 align=\"middle\" maxlength=60 value=\"$number\" $acl>";
       $forwarder_list.= "</td><td>";
-      $forwarder_list.= "<input name=\"fwt$nr\" size=5 align=center maxlength=5 value=\"$timeout\" $acl>";
+      $forwarder_list.= "<input name=\"fwt$nr\" size=5 align=\"middle\" maxlength=5 value=\"$timeout\" $acl>";
       $forwarder_list.= "</td><td>";
       $forwarder_list.= "<input type=\"submit\" value=\""._("Add")."\" name=\"add_fw$nr\" $acl>";
       if (count($this->forwarders) > 1){
index 0dda5abab294d96fc4d3b29c18b9fb643c9ace57..f3f814bb06a4199f6c617fc3f4423dca80601722 100644 (file)
@@ -2,7 +2,7 @@
  <tr>
 
   <td style="vertical-align:top; border-right:1px solid #A0A0A0;width:33%">
-   <h2><img align="center" src="images/hardware.png"> {t}Telephone hardware{/t}</h2>
+   <h2><img alt="" align="middle" src="images/hardware.png"> {t}Telephone hardware{/t}</h2>
 
    <table style="width:100%" border=0>
     <tr>
    </table>
   </td>
   <td style="width:33%;">
-   <h2><img align="center" src="images/sound.png"> {t}Answering machine{/t}</h2>
-    <table border=0 width=100%>
+   <h2><img alt="" align="middle" src="images/sound.png"> {t}Answering machine{/t}</h2>
+    <table border=0 width="100%">
      <tr>
       <td>
        {if $has_mailaccount eq "false"}
-       <input disabled type=checkbox name="fon_to_mail" value="1" {$fon_to_mail} {$goFonDeliveryModeACL}>
+       <input disabled type=checkbox name="fon_to_mail" value="1" >
         <a style="color:#909090">{t}Deliver missed calls as mail{/t}</a>
        {else}
-       <input type=checkbox name="fon_to_mail" value="1" {$fon_to_mail} {$goFonDeliveryModeACL}>
+       <input type=checkbox name="fon_to_mail" value="1"  {$goFonDeliveryModeACL}>
         {t}Deliver missed calls as mail{/t}
        {/if}
       </td>
 <table style="width:100%">
  <tr>
   <td style="vertical-align:top; border-right:1px solid #A0A0A0; width:50%">
-   <h2><img align="center" src="images/banana.png"> {t}Phone numbers{/t}</h2>
+   <h2><img alt="" align="middle" src="images/banana.png"> {t}Phone numbers{/t}</h2>
       <select style="width:380px; height:120px;" name="phonenumber_list[]" size=6 multiple {$telephoneNumberACL}>
        {html_options options=$phoneNumbers}
       </select>
       <br>
-      <input name="phonenumber" size=20 align=center maxlength=60 {$telephoneNumberACL} value="">
+      <input name="phonenumber" size=20 align=middle maxlength=60 {$telephoneNumberACL} value="">
       <input type="submit" value="{t}Add{/t}" name="add_phonenumber"
        {$telephoneNumberACL}>&nbsp;
       <input type="submit" value="{t}Delete{/t}" name="delete_phonenumber"
@@ -51,8 +51,9 @@
   <td style="vertical-align:top; width:50%;">
 
    <table>
-    <td style="widht:50%; vertical-align:top;">
-     <h2><img align="center" src="images/rightarrow.png"> {t}Forward calls to{/t}</h2>
+       <tr>
+    <td style="width:50%; vertical-align:top;">
+     <h2><img alt="" align="middle" src="images/rightarrow.png"> {t}Forward calls to{/t}</h2>
 
      <table>
       <tr> 
index 00c3748512100b0f088dda3bf04d65c27cec205c..a25c5b9df5ef2ff54ea283447779f2b29c6575ff 100644 (file)
@@ -104,11 +104,11 @@ if (!$remove_lock){
                        $display.= "<input type=submit name=\"edit_finish\" value=\""._("Finish")."\">\n";
                        $display.= "&nbsp;";
                        $display.= "<input type=submit name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
-                       $info= "<img align=\"center\" src=\"".get_template_path('images/closedlock.png')."\"> ".$ui->dn."&nbsp;";
+                       $info= "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".$ui->dn."&nbsp;";
                } else {
-                       $info= "<img align=\"center\" src=\"".get_template_path('images/openlock.png')."\"> ".$ui->dn."&nbsp;";
+                       $info= "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/openlock.png')."\"> ".$ui->dn."&nbsp;";
                        if (isset($editacl) && $editacl != "#none#"){
-                               $info.= "<img align=\"center\" src=\"".get_template_path('images/lamp.png')."\">"._("Click the 'Edit' button below to change informations in this dialog");
+                               $info.= "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/lamp.png')."\">"._("Click the 'Edit' button below to change informations in this dialog");
                                $display.= "<input type=submit name=\"edit\" value=\""._("Edit")."\">\n";
                        }
                        $display.= "<input type=\"hidden\" name=\"ignore\">\n";