mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-04 22:53:27 -04:00
Add default behaviour for configure / remove ext
See https://github.com/FreshRSS/FreshRSS/issues/252
This commit is contained in:
@@ -130,6 +130,11 @@ class FreshRSS_extension_Controller extends Minz_ActionController {
|
||||
}
|
||||
|
||||
public function removeAction() {
|
||||
|
||||
if (!FreshRSS_Auth::hasAccess('admin')) {
|
||||
Minz_Error::error(403);
|
||||
}
|
||||
|
||||
$url_redirect = array('c' => 'extension', 'a' => 'index');
|
||||
Minz_Request::bad('not implemented yet!', $url_redirect);
|
||||
}
|
||||
}
|
||||
|
||||
12
app/views/extension/configure.phtml
Normal file
12
app/views/extension/configure.phtml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
if (!Minz_Request::param('ajax')) {
|
||||
$this->partial('aside_configure');
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<div class="post">
|
||||
<h1>Extension name</h1>
|
||||
Not implemented yet!
|
||||
</div>
|
||||
Reference in New Issue
Block a user