issue 2368, issue 2372, added new apis on easyinstall

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11221 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-09-13 01:37:10 +00:00
parent db0aa266bc
commit 99e7e392ef
3 changed files with 10 additions and 0 deletions

View file

@ -155,5 +155,13 @@
$this->add('page_navigation', $page_navigation);
}
}
/**
* Get is authed ftp
*/
function getAutoinstallAdminIsAuthed()
{
$this->add('is_authed', (int)isset($_SESSION['ftp_password']));
}
}
?>

View file

@ -353,5 +353,6 @@
return getNotEncodedUrl('', 'module', 'admin', 'act', 'dispAutoinstallAdminInstall', 'package_srl', $packageSrl);
}
}
?>

View file

@ -11,6 +11,7 @@
<action name="getAutoinstallAdminMenuPackageList" type="model" />
<action name="getAutoinstallAdminLayoutPackageList" type="model" />
<action name="getAutoinstallAdminSkinPackageList" type="model" />
<action name="getAutoinstallAdminIsAuthed" type="model" />
</actions>
<menus>
<menu name="easyInstall">