Code

Updated macro templates
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Mar 2010 14:29:07 +0000 (14:29 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Mar 2010 14:29:07 +0000 (14:29 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16777 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/gofon/gofon/macro/class_gofonMacroParameters.inc
gosa-plugins/gofon/gofon/macro/generic.tpl
gosa-plugins/gofon/gofon/macro/parameter.tpl

index a8c1f73bc935e5793ec52865fd8ab1b6e978f16b..b93b966558b2a4e093b118ce5920dd8ad7b6e283 100644 (file)
@@ -249,18 +249,18 @@ class macroParameter extends plugin
             <input name=\"number".$key."\" value='".$key."' type='hidden' ".$disabled.">
             <input name='var".$key."' type='hidden'   value='".$para['var']."' ".$disabled.">ARG".$key."
           </td>
-          <td><input size=\"45\" name='varname".$key."'  value='".$para['name']."' ".$disabled."></td>
+          <td><input type='text' name='varname".$key."'  value='".$para['name']."' ".$disabled."></td>
           <td>
-            <select name='vartype".$key."'  ".$disabled.">
+            <select size=1 name='vartype".$key."'  ".$disabled.">
               <option  value='string' ".$sel1.">"._("String")."&nbsp;</option>
               <option  value='combo'   ".$sel2.">"._("Combobox")."&nbsp;</option>
               <option  value='bool'   ".$sel3.">"._("Bool")."&nbsp;</option>
             </select>
           </td>
-          <td><input size=\"45\" name='default".$key."'   value='".$para['default']."'  ".$disabled."></td>
+          <td><input type='text' name='default".$key."'   value='".$para['default']."'  ".$disabled."></td>
           <td>&nbsp;";
         if($para['check']==false) {
-          $vars.="<input name='del".$key."' value='"._("Delete unused")."' type='submit'>";
+          $vars.="<button type='submit' name='del".$key."'>"._("Delete unused")."</button>";
         }
 
         $vars.=" </td></tr>";
index 600f1b1a6b8bbc66bad9eb480dd487c3cd36e36b..5a7cbd6fd61dc8d235c5377bfa7354eabf4c796d 100644 (file)
@@ -14,7 +14,7 @@
                                <td><LABEL for="displayName">{t}Display name{/t}</LABEL>{$must}</td>
                                <td>
 {render acl=$displayNameACL}
-                                       <input name="displayName" id="displayName" size=35 maxlength=60 value="{$displayName}" 
+                                       <input name="displayName" id="displayName" size=35 maxlength=60 value="{$displayName}" type='text' 
                                                title="{t}Macro name to be displayed{/t}">
 {/render}
                                </td>
index 8e80bfd301e1b5f1c13dfc965fbf409673c29471..6276622a9efc7f63295f25a39c07ed45db2503f6 100644 (file)
@@ -1,5 +1,5 @@
 {if $readable}
-<table width="100%" summary="">
+<table summary="">
        <tr>
                <td>{t}Argument{/t}
                </td>