git-svn-id: http://xe-core.googlecode.com/svn/trunk@430 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-14 09:43:06 +00:00
parent e712b55a04
commit 8b0ca8b71f
6 changed files with 26 additions and 2 deletions

View file

@ -110,6 +110,7 @@
$buff .= sprintf('$plugin_info->extra_var->%s->name = "%s";', $var->attrs->id, $var->name->body);
$buff .= sprintf('$plugin_info->extra_var->%s->type = "%s";', $var->attrs->id, $var->type->body);
$buff .= sprintf('$plugin_info->extra_var->%s->value = $vars->%s;', $var->attrs->id, $var->attrs->id);
$buff .= sprintf('$plugin_info->extra_var->%s->description = "%s";', $var->attrs->id, str_replace('"','\"',$var->description->body));
$options = $var->options;
if(!$options) continue;

View file

@ -15,7 +15,7 @@
</tr>
<!--@foreach($plugin_info->extra_var as $id => $var)-->
<tr>
<th>{$var->name}</th>
<th rowspan="2">{$var->name}</th>
<!--@if($var->type == "text")-->
<td><input type="text" name="{$id}" value="" /></td>
@ -40,6 +40,9 @@
</td>
<!--@end-->
</tr>
<tr>
<td>{$var->description}</td>
</tr>
<!--@end-->
<tr>
<td>