mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Fix favorite removal not working in admin menu
This commit is contained in:
parent
3fd7bf16c3
commit
9c9dedafa9
3 changed files with 3 additions and 11 deletions
|
|
@ -21,7 +21,7 @@
|
||||||
<action name="procAdminRecompileCacheFile" type="controller" />
|
<action name="procAdminRecompileCacheFile" type="controller" />
|
||||||
<action name="procAdminLogout" type="controller" method="GET|POST" />
|
<action name="procAdminLogout" type="controller" method="GET|POST" />
|
||||||
<action name="procAdminInsertDefaultDesignInfo" type="controller" />
|
<action name="procAdminInsertDefaultDesignInfo" type="controller" />
|
||||||
<action name="procAdminToggleFavorite" type="controller" ruleset="toggleFavorite" />
|
<action name="procAdminToggleFavorite" type="controller" />
|
||||||
<action name="procAdminEnviromentGatheringAgreement" type="controller" />
|
<action name="procAdminEnviromentGatheringAgreement" type="controller" />
|
||||||
<action name="procAdminUpdateConfig" type="controller" />
|
<action name="procAdminUpdateConfig" type="controller" />
|
||||||
<action name="procAdminDeleteLogo" type="controller" />
|
<action name="procAdminDeleteLogo" type="controller" />
|
||||||
|
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<ruleset version="1.5.0">
|
|
||||||
<customrules />
|
|
||||||
<fields>
|
|
||||||
<field name="site_srl" required="true" rule="number" />
|
|
||||||
<field name="module_name" required="true" />
|
|
||||||
</fields>
|
|
||||||
</ruleset>
|
|
||||||
|
|
@ -68,9 +68,9 @@
|
||||||
<a cond="!$favorite->title">{$lang->msg_not_founded}</a>
|
<a cond="!$favorite->title">{$lang->msg_not_founded}</a>
|
||||||
<form class="remove" action="./" method="post">
|
<form class="remove" action="./" method="post">
|
||||||
<input type="hidden" name="module" value="admin" />
|
<input type="hidden" name="module" value="admin" />
|
||||||
<input type="hidden" name="act" value="" />
|
<input type="hidden" name="act" value="procAdminToggleFavorite" />
|
||||||
<input type="hidden" name="module_name" value="{$favorite->module}" />
|
<input type="hidden" name="module_name" value="{$favorite->module}" />
|
||||||
<input type="hidden" name="success_return_url" value="{getUrl(['module' => 'admin'])}" />
|
<input type="hidden" name="success_return_url" value="{getCurrentUrl()}" />
|
||||||
<button type="submit" class="x_close" title="{$lang->cmd_delete}">×</button>
|
<button type="submit" class="x_close" title="{$lang->cmd_delete}">×</button>
|
||||||
</form>
|
</form>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue