mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-12 15:21:40 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@424 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
85aa8462d3
commit
01ec58be2b
2 changed files with 51 additions and 44 deletions
51
modules/plugin/tpl.admin/plugin_make_code.html
Normal file
51
modules/plugin/tpl.admin/plugin_make_code.html
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
<form action="./" method="get">
|
||||
<input type="hidden" name="module" value="{$module}" />
|
||||
<input type="hidden" name="act" value="dispGeneratedCode" />
|
||||
<input type="hidden" name="selected_plugin" value="{$selected_plugin}" />
|
||||
|
||||
<table border="1" width="400">
|
||||
<col width="100" />
|
||||
<col width="300" />
|
||||
<tr>
|
||||
<th colspan="2">{$lang->cmd_make_code}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->plugin}</th>
|
||||
<td>{$plugin_info->title} ver {$plugin_info->version}</td>
|
||||
</tr>
|
||||
<!--@foreach($plugin_info->extra_var as $id => $var)-->
|
||||
<tr>
|
||||
<th>{$var->name}</th>
|
||||
|
||||
<!--@if($var->type == "text")-->
|
||||
<td><input type="text" name="{$id}" value="{$var->value}" /></td>
|
||||
<!--@elseif($var->type == "textarea")-->
|
||||
<td><textarea name="{$id}">{$var->value}</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>
|
||||
<!--@end-->
|
||||
</select>
|
||||
</td>
|
||||
<!--@elseif($var->type == "mid_list")-->
|
||||
<td>
|
||||
<!--@foreach($mid_list as $key => $val)-->
|
||||
<div>
|
||||
<input type="checkbox" value="{$key}" id="chk_mid_list_{$key}" />
|
||||
<label for="chk_mid_list_{$key}">{$key} ({$val->browser_title})</label>
|
||||
</div>
|
||||
<!--@end-->
|
||||
</td>
|
||||
<!--@end-->
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<a href="#" onclick="self.close()">{$lang->cmd_close}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
<table border="1" width="400">
|
||||
<col width="100" />
|
||||
<col width="300" />
|
||||
<tr>
|
||||
<th colspan="2">{$lang->cmd_make_code}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->plugin}</th>
|
||||
<td>{$plugin_info->title} ver {$plugin_info->version}</td>
|
||||
</tr>
|
||||
<!--@foreach($plugin_info->extra_var as $id => $var)-->
|
||||
<tr>
|
||||
<th>{$var->name}</th>
|
||||
|
||||
<!--@if($var->type == "text")-->
|
||||
<td><input type="text" name="{$id}" value="{$var->value}" /></td>
|
||||
<!--@elseif($var->type == "textarea")-->
|
||||
<td><textarea name="{$id}">{$var->value}</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>
|
||||
<!--@end-->
|
||||
</select>
|
||||
</td>
|
||||
<!--@elseif($var->type == "mid_list")-->
|
||||
<td>
|
||||
<!--@foreach($mid_list as $key => $val)-->
|
||||
<div>
|
||||
<input type="checkbox" value="{$key}" id="chk_mid_list_{$key}" />
|
||||
<label for="chk_mid_list_{$key}">{$key} ({$val->browser_title})</label>
|
||||
</div>
|
||||
<!--@end-->
|
||||
</td>
|
||||
<!--@end-->
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<a href="#" onclick="self.close()">{$lang->cmd_close}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
Loading…
Add table
Add a link
Reference in a new issue