Code

Performed layout tuning
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 22 Jun 2005 10:46:28 +0000 (10:46 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 22 Jun 2005 10:46:28 +0000 (10:46 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@798 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofon/macro/class_gofonMacroParameters.inc
plugins/gofon/macro/parameter.tpl

index d8e5d69929f9042559f9adbda91d2a6af3057590..6013439a2cb817b20125a90242ceb4519b4ff994 100755 (executable)
@@ -172,7 +172,7 @@ class macroParameter extends plugin
       $vars .="<tr>
         <input name=\"number".$key."\" value='".$key."' type='hidden'>
         <td><input name='var".$key."' type='hidden'   value='".$para['var']."'>".$para['var']."</td>
-        <td><input name='varname".$key."'  value='".$para['name']."'></td>
+        <td><input size=\"45\" name='varname".$key."'  value='".$para['name']."'></td>
         <td>
         <select name='vartype".$key."'>
         <option name='vartype".$key."' value='string' ".$sel1.">"._("String")."</option>
@@ -180,16 +180,13 @@ class macroParameter extends plugin
         <option name='vartype".$key."' value='bool'   ".$sel3.">"._("Bool")."</option>
         </select>
         </td>
-        <td><input name='default".$key."'   value='".$para['default']."'></td>
-        <td>";
-      if($para['check']==true) {
-        $vars.="</td><td></td>";
-      }else{
-        $vars.="<b>"._("Unused")."</b></td>";
-        $vars.=" <td><input name='del".$key."' value='delete' type='submit'></td>";
+        <td><input size=\"45\" name='default".$key."'   value='".$para['default']."'></td>
+        <td>&nbsp;";
+      if($para['check']==false) {
+        $vars.="<input name='del".$key."' value='"._("Delete unused")."' type='submit'>";
       }
 
-      $vars.=" </tr>";
+      $vars.=" </td></tr>";
     }
 
     /* Checkboxes */
index d0e73d8f0a6cff487349283395fa997d9b837e59..aff22239d06b7276491bb9e107f4ac35b76add82 100755 (executable)
@@ -1,25 +1,18 @@
-<table style="width:100%;">
+<table width="100%">
        <tr>
+               <td>{t}Argument{/t}
+               </td>
+               <td>{t}Name{/t}
+               </td>
+               <td>{t}type{/t}
+               </td>
+               <td>{t}Default value{/t}
+               </td>
                <td>
-                       <table>
-                               <tr>
-                                       <td width="10%">{t}Argument{/t}
-                                       </td>
-                                       <td width="25%">{t}Name{/t}
-                                       </td>
-                                       <td width="15%">{t}type{/t}
-                                       </td>
-                                       <td width="30%">{t}Default value{/t}
-                                       </td>
-                                       <td>{t}Option{/t}
-                                       </td>
-                                       <td>
-                                       </td>
-                               </tr>
-                                       {$vars}
-                       </table>
+               &nbsp;
                </td>
-       </tr>
+       </tr>
+               {$vars}
 </table>
 
 <input type="hidden" name="phoneparemeters">