mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-07-02 01:53:19 +02:00
Commit of UI changes:
- Enhanced delete function for users and domains (soon for all) - Fixed NavBar/Search bar quirks for smaller screens - Fixed Functions Row display for smaller screens, generally cleaner look Tested on IE8-10 (with IE Tester), latest versions of Firefox, Chrome. Will soon test on Android and Apple devices.
This commit is contained in:
@ -23,7 +23,7 @@ class ControllerUserRemove extends Controller {
|
||||
|
||||
$this->data['username'] = Registry::get('username');
|
||||
|
||||
$this->data['uid'] = (int)@$this->request->get['uid'];
|
||||
$this->data['uid'] = (int)@$this->request->get['id'];
|
||||
$this->data['user'] = @$this->request->get['user'];
|
||||
$this->data['confirmed'] = (int)@$this->request->get['confirmed'];
|
||||
|
||||
@ -57,7 +57,7 @@ class ControllerUserRemove extends Controller {
|
||||
$this->error['admin'] = $this->data['text_you_are_not_admin'];
|
||||
}
|
||||
|
||||
if(!isset($this->request->get['uid']) || !is_numeric($this->request->get['uid']) || $this->request->get['uid'] < 1 ) {
|
||||
if(!isset($this->request->get['id']) || !is_numeric($this->request->get['id']) || $this->request->get['id'] < 1 ) {
|
||||
$this->error['username'] = $this->data['text_invalid_uid'];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user