mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Fix #142 : add ability to apply template from user rights view
This commit is contained in:
@@ -179,13 +179,19 @@ class module_admin_route_users_edit
|
||||
}
|
||||
}
|
||||
|
||||
$query = new User_Query($appbox);
|
||||
$templates = $query
|
||||
->only_templates(true)
|
||||
->execute()->get_results();
|
||||
|
||||
$this->users_datas = $rs;
|
||||
$out = array(
|
||||
'datas' => $this->users_datas,
|
||||
'users' => $this->users,
|
||||
'users_serial' => implode(';', $this->users),
|
||||
'base_id' => $this->base_id,
|
||||
'main_user' => null
|
||||
'main_user' => null,
|
||||
'templates'=>$templates
|
||||
);
|
||||
|
||||
if (count($this->users) == 1)
|
||||
|
Reference in New Issue
Block a user