mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 00:07:03 +02:00
major rewrite of the web interface
This commit is contained in:
@ -17,6 +17,7 @@ class ControllerUserAdd extends Controller {
|
||||
|
||||
$this->load->model('user/user');
|
||||
$this->load->model('group/group');
|
||||
$this->load->model('folder/folder');
|
||||
|
||||
$this->document->title = $this->data['text_add_new_user_alias'];
|
||||
|
||||
@ -61,6 +62,7 @@ class ControllerUserAdd extends Controller {
|
||||
else {
|
||||
$this->data['next_user_id'] = $this->model_user_user->get_next_uid();
|
||||
$this->data['groups'] = $this->model_group_group->get_groups();
|
||||
$this->data['folders'] = $this->model_folder_folder->get_folders();
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
@ -20,6 +20,7 @@ class ControllerUserEdit extends Controller {
|
||||
|
||||
$this->load->model('user/user');
|
||||
$this->load->model('group/group');
|
||||
$this->load->model('folder/folder');
|
||||
|
||||
|
||||
$this->document->title = $language->get('text_edit_user');
|
||||
@ -74,6 +75,7 @@ class ControllerUserEdit extends Controller {
|
||||
|
||||
$this->data['user']['group_membership'] = $this->model_user_user->get_additional_uids($this->data['uid']);
|
||||
$this->data['user']['group'] = $this->model_group_group->get_groups_by_uid($this->data['uid']);
|
||||
$this->data['user']['folder'] = $this->model_folder_folder->get_folders_by_uid($this->data['uid']);
|
||||
|
||||
$this->data['emails'] = $this->model_user_user->get_emails($this->data['user']['username']);
|
||||
|
||||
|
@ -17,9 +17,7 @@ class ControllerUserSettings extends Controller {
|
||||
$this->load->model('user/auth');
|
||||
$this->load->model('user/prefs');
|
||||
|
||||
|
||||
$this->document->title = $this->data['text_home'];
|
||||
|
||||
$this->document->title = $this->data['text_settings'];
|
||||
|
||||
if(isset($this->request->post['pagelen']) && isset($this->request->post['lang']) && isset($this->request->post['theme'])) {
|
||||
$this->model_user_prefs->set_user_preferences(Registry::get('username'), $this->request->post);
|
||||
|
Reference in New Issue
Block a user