mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-08 19:42:15 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@658 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
749dc4a9ab
commit
ed4637125a
5 changed files with 23 additions and 2 deletions
|
|
@ -30,8 +30,8 @@
|
|||
<a href="#" onclick="doEnableComponent('{$component_name}');return false;">{$lang->use}</a>
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td><a href="#">{$lang->cmd_move_up}</a></td>
|
||||
<td><a href="#">{$lang->cmd_move_down}</a></td>
|
||||
<td><a href="#" onclick="doMoveListOrder('{$component_name}','up'); return false;">{$lang->cmd_move_up}</a></td>
|
||||
<td><a href="#" onclick="doMoveListOrder('{$component_name}','down'); return false;">{$lang->cmd_move_down}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="7">{nl2br($xml_info->description)}</td>
|
||||
|
|
|
|||
|
|
@ -12,6 +12,14 @@ function doDisableComponent(component_name) {
|
|||
exec_xml('editor', 'procDisableComponent', params, completeUpdate);
|
||||
}
|
||||
|
||||
function doMoveListOrder(component_name, mode) {
|
||||
var params = new Array();
|
||||
params['component_name'] = component_name;
|
||||
params['mode'] = mode;
|
||||
|
||||
exec_xml('editor', 'procMoveListOrder', params, completeUpdate);
|
||||
}
|
||||
|
||||
function completeUpdate(ret_obj) {
|
||||
alert(ret_obj['message']);
|
||||
location.href = location.href;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue