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

This commit is contained in:
zero 2007-03-14 09:24:12 +00:00
parent 395e5f95b2
commit e5e59a2dde
4 changed files with 47 additions and 10 deletions

View file

@ -1,4 +1,4 @@
<form action="./" method="get">
<form action="./" method="post">
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="act" value="dispGeneratedCode" />
<input type="hidden" name="selected_plugin" value="{$selected_plugin}" />
@ -7,7 +7,7 @@
<col width="100" />
<col width="300" />
<tr>
<th colspan="2">{$lang->cmd_make_code}</th>
<th colspan="2">{$lang->cmd_generate_code}</th>
</tr>
<tr>
<th>{$lang->plugin}</th>
@ -18,14 +18,14 @@
<th>{$var->name}</th>
<!--@if($var->type == "text")-->
<td><input type="text" name="{$id}" value="{$var->value}" /></td>
<td><input type="text" name="{$id}" value="" /></td>
<!--@elseif($var->type == "textarea")-->
<td><textarea name="{$id}">{$var->value}</textarea></td>
<td><textarea name="{$id}"></textarea></td>
<!--@elseif($var->type == "select")-->
<td>
<select name="{$id}">
<!--@foreach($var->options as $key => $val)-->
<option value="{$key}" <!--@if($key==$var->value)-->selected="true"<!--@end-->>{$val}</option>
<option value="{$key}">{$val}</option>
<!--@end-->
</select>
</td>

View file

@ -0,0 +1,32 @@
<table border="1" width="400">
<col width="100" />
<col width="300" />
<tr>
<th colspan="2">{$lang->cmd_generate_code}</th>
</tr>
<tr>
<th>{$lang->plugin}</th>
<td>{$plugin_info->title} ver {$plugin_info->version}</td>
</tr>
<tr>
<th rowspan="2">{$lang->plugin_code}</th>
<td>
&lt;div plugin="{$selected_plugin}"
<!--@foreach($vars as $key=>$val)-->
{$key}=&quot;{$val}&quot;&nbsp;
<!--@end-->
&gt;&lt;/div&gt;
</td>
</tr>
<tr>
<td>{$lang->about_plugin_code}</td>
</tr>
<tr>
<td>
<a href="#" onclick="self.close()">{$lang->cmd_close}</a>
</td>
<td>
<input type="submit" value="{$lang->cmd_generate_code}" />
</td>
</tr>
</table>