mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 23:29:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@430 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e712b55a04
commit
8b0ca8b71f
6 changed files with 26 additions and 2 deletions
|
|
@ -142,6 +142,7 @@
|
|||
$buff .= sprintf('$layout_info->extra_var->%s->name = "%s";', $var->attrs->id, $var->name->body);
|
||||
$buff .= sprintf('$layout_info->extra_var->%s->type = "%s";', $var->attrs->id, $var->type->body);
|
||||
$buff .= sprintf('$layout_info->extra_var->%s->value = $vars->%s;', $var->attrs->id, $var->attrs->id);
|
||||
$buff .= sprintf('$layout_info->extra_var->%s->description = "%s";', $var->attrs->id, str_replace('"','\"',$var->description->body));
|
||||
|
||||
$options = $var->options;
|
||||
if(!$options) continue;
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
</tr>
|
||||
<!--@foreach($layout_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="{$var->value}" /></td>
|
||||
<!--@elseif($var->type == "textarea")-->
|
||||
|
|
@ -64,6 +64,9 @@
|
|||
</select>
|
||||
<!--@end-->
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$var->description}</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<tr>
|
||||
<td colspan="2" align="center">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue