summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c1812e7)
raw | patch | inline | side by side (parent: c1812e7)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 22 Jun 2005 10:46:28 +0000 (10:46 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 22 Jun 2005 10:46:28 +0000 (10:46 +0000) |
plugins/gofon/macro/class_gofonMacroParameters.inc | patch | blob | history | |
plugins/gofon/macro/parameter.tpl | patch | blob | history |
diff --git a/plugins/gofon/macro/class_gofonMacroParameters.inc b/plugins/gofon/macro/class_gofonMacroParameters.inc
index d8e5d69929f9042559f9adbda91d2a6af3057590..6013439a2cb817b20125a90242ceb4519b4ff994 100755 (executable)
$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>
<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> ";
+ 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)
-<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>
+
</td>
- </tr>
+ </tr>
+ {$vars}
</table>
<input type="hidden" name="phoneparemeters">