rhymix/modules/editor/tpl/admin_index.html

40 lines
2.2 KiB
HTML

<!--%import("js/editor_admin.js")-->
<h3>{$lang->editor} <span class="gray">{$lang->cmd_management}</span></h3>
<table cellspacing="0" class="adminTable gap1">
<thead>
<tr>
<th scope="col" class="half_wide"><div>{$lang->description}</div></th>
<th scope="col" class="half_wide"><div>{$lang->component_author}</div></th>
<th scope="col" colspan="2"><div>{$lang->component_version}</div></th>
<th scope="col"><div>{$lang->component_date}</div></th>
</tr>
</thead>
<tbody>
<!--@foreach($component_list as $component_name => $xml_info)-->
<tr class="row2">
<th colspan="2" scope="row"><div><a href="{getUrl('module','editor','act','dispEditorComponentInfo','component_name',$component_name)}" onclick="popopen(this.href);return false;"><strong>{$xml_info->title}</strong></a> ({$component_name})</div></th>
<td class="setup center"><a href="#" onclick="doSetupComponent('{$component_name}'); return false;">{$lang->cmd_setup}</a></td>
<td class="center <!--@if($xml_info->enabled=='Y')-->activated<!--@else-->deactivated<!--@end-->">
<!--@if($xml_info->enabled=='Y')-->
<a href="#" onclick="doDisableComponent('{$component_name}');return false;">{$lang->cmd_enable}</a>
<!--@else-->
<a href="#" onclick="doEnableComponent('{$component_name}');return false;">{$lang->cmd_disable}</a>
<!--@end-->
</td>
<td class="center moveupdown"><a href="#" onclick="doMoveListOrder('{$component_name}','up');return false;" class="up">{$lang->cmd_move_up}</a><a href="#" onclick="doMoveListOrder('{$component_name}','down');return false;" class="down">{$lang->cmd_move_down}</a></td>
</tr>
<tr>
<td>{nl2br($xml_info->description)}</td>
<td class="nowrap">
<!--@foreach($xml_info->author as $author)-->
<a href="{$author->homepage}" onclick="window.open(this.href);return false;">{$author->name}</a>
<!--@endforeach-->
</td>
<td class="number center" colspan="2">{$xml_info->version}</td>
<td class="date center nowrap">{zdate($xml_info->date, 'Y-m-d')}</td>
</tr>
<!--@end-->
</tbody>
</table>