plugin/theme installation pages and placeholder task for actual installation

This commit is contained in:
Gert
2015-04-04 14:49:40 +02:00
parent a69759f275
commit b52d5462a5
12 changed files with 174 additions and 77 deletions

View File

@@ -328,6 +328,20 @@ class AdminController
return true;
}
/**
* Handles installing plugins and themes
*
* @return bool True is the action was performed
*/
public function taskInstall()
{
$mode = $this->view === 'plugins' ? 'plugin' : 'theme';
$package = $this->route;
$this->admin->setMessage("Actual installation is not hooked up to GPM yet.");
return true;
}
/**
* Handles form and saves the input data if its valid.
*