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

This commit is contained in:
zero 2007-03-14 08:04:56 +00:00
parent f1fcb7b21f
commit 76aea1928e
8 changed files with 79 additions and 20 deletions

View file

@ -7,6 +7,7 @@
<td>{$lang->author}</td>
<td>{$lang->date}</td>
<td>{$lang->path}</td>
<td>{$lang->cmd_make_code}</td>
<td>{$lang->plugin_info}</td>
</tr>
<!--@foreach($plugin_list as $key => $val)-->
@ -19,10 +20,11 @@
<td><a href="#" onclick="window.open('{$val->author->homepage}')">{$val->author->name}</a></td>
<td>{$val->author->date}</td>
<td>{$val->path}</td>
<td><a href="#" onclick="winopen('{getUrl('','module','plugin','act','dispMakeCode','selected_plugin',$val->plugin)}','plugin_code_make','width=10,height=10,toolbars=no,scrollbars=yes,resizable=yes');return false">{$lang->cmd_make_code}</a></td>
<td><a href="#" onclick="winopen('{getUrl('','module','plugin','act','dispPluginInfo','selected_plugin',$val->plugin)}','plugin_info','width=10,height=10,toolbars=no,scrollbars=yes,resizable=yes');return false">{$lang->cmd_view}</a></td>
</tr>
<tr>
<td colspan="5">
<td colspan="6">
{nl2br($val->author->description)}
</td>
</tr>

View file

@ -0,0 +1,34 @@
<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="{$val}" <!--@if($val==$var->value)-->selected="true"<!--@end-->>{$val}</option>
<!--@end-->
</select>
<!--@end-->
</tr>
<!--@end-->
<tr>
<td colspan="2">
<a href="#" onclick="self.close()">{$lang->cmd_close}</a>
</td>
</tr>
</table>