24 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
58 $this->
setStyle(
'table',
'fullwidth');
64 $this->
addColumn($this->lng->txt(
"name"),
'name',
'');
65 $this->
addColumn($this->lng->txt(
"login"),
'login',
'');
66 $this->
addColumn($this->lng->txt(
"last_access"),
'last_access',
'');
68 $this->
setRowTemplate(
"tpl.il_svy_svy_maintenance_row.html",
"Modules/Survey");
72 $this->
addCommandButton(
'confirmDeleteSelectedUserData', $this->lng->txt(
'confirm'));
73 $this->
addCommandButton(
'cancelDeleteSelectedUserData', $this->lng->txt(
'cancel'));
77 $this->
addMultiCommand(
'deleteSingleUserResults', $this->lng->txt(
'delete_user_data'));
78 $this->
addCommandButton(
'deleteAllUserData', $this->lng->txt(
'svy_delete_all_user_data'));
81 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj, $a_parent_cmd));
96 $this->
enable(
'select_all');
110 if (!$this->confirmdelete)
112 $this->tpl->setCurrentBlock(
'checkbox');
113 $this->tpl->setVariable(
"CB_USER_ID",
$data[
'id']);
114 $this->tpl->parseCurrentBlock();
118 $this->tpl->setCurrentBlock(
'hidden');
119 $this->tpl->setVariable(
'HIDDEN_USER_ID',
$data[
"id"]);
120 $this->tpl->parseCurrentBlock();
122 $this->tpl->setVariable(
"USER_ID",
$data[
"id"]);
123 $this->tpl->setVariable(
"VALUE_USER_NAME",
$data[
'name']);
124 $this->tpl->setVariable(
"VALUE_USER_LOGIN",
$data[
'login']);