This commit is contained in:
Alan
2026-02-14 19:34:54 +03:00
commit 5c3329238b
867 changed files with 214778 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?PHP
require_once('api/Simpla.php');
class ExportUsersAdmin extends Simpla
{
private $export_files_dir = 'simpla/files/export_users/';
public function fetch()
{
$this->design->assign('export_files_dir', $this->export_files_dir);
$this->design->assign('sort', $this->request->get('sort'));
$this->design->assign('keyword', $this->request->get('keyword'));
$this->design->assign('group_id', $this->request->get('group_id'));
$this->design->assign('export_files_dir', $this->export_files_dir);
if(!is_writable($this->export_files_dir))
$this->design->assign('message_error', 'no_permission');
return $this->design->fetch('export_users.tpl');
}
}