mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@427 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
395e5f95b2
commit
e5e59a2dde
4 changed files with 47 additions and 10 deletions
|
|
@ -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>
|
||||
|
|
|
|||
32
modules/plugin/tpl.admin/plugin_generated_code.html
Normal file
32
modules/plugin/tpl.admin/plugin_generated_code.html
Normal 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>
|
||||
<div plugin="{$selected_plugin}"
|
||||
<!--@foreach($vars as $key=>$val)-->
|
||||
{$key}="{$val}"
|
||||
<!--@end-->
|
||||
></div>
|
||||
</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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue