mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
add process for return url when package uninstall
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8643 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5f7be4a7f1
commit
4e3d8b69ae
2 changed files with 10 additions and 1 deletions
|
|
@ -251,7 +251,15 @@
|
|||
$this->_updateinfo();
|
||||
|
||||
$this->setMessage('success_deleted', 'update');
|
||||
$this->setRedirectUrl(getNotEncodedUrl('', 'module', 'admin', 'act', 'dispAutoinstallAdminInstalledPackages'));
|
||||
|
||||
if (Context::get('return_url'))
|
||||
{
|
||||
$this->setRedirectUrl(Context::get('return_url'));
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->setRedirectUrl(getNotEncodedUrl('', 'module', 'admin', 'act', 'dispAutoinstallAdminInstalledPackages'));
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
<input type="hidden" name="module" value="autoinstall" />
|
||||
<input type="hidden" name="act" value="procAutoinstallAdminUninstallPackage" />
|
||||
<input type="hidden" name="package_srl" value="{$package_srl}" />
|
||||
<input type="hidden" name="return_url" value="{$return_url}" />
|
||||
<input cond="!$need_password" type="hidden" name="ftp_password" value="dummy" />
|
||||
|
||||
<block cond="$need_password">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue