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

This commit is contained in:
zero 2007-03-14 08:57:52 +00:00
parent 99ca20908e
commit e38720cc84
2 changed files with 47 additions and 0 deletions

View file

@ -1,3 +1,6 @@
<!--%import("filter/make_code.xml")-->
<!--%import("js/admin.js")-->
<table border="1" width="400">
<col width="100" />
<col width="300" />

View file

@ -0,0 +1,44 @@
<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>