|
|
|
@ -73,11 +73,11 @@ $extra_params['sortorder'] = 'desc'; |
|
|
|
//With this function we can add actions to the jgrid |
|
|
|
//With this function we can add actions to the jgrid |
|
|
|
$action_links = 'function action_formatter (cellvalue, options, rowObject) { |
|
|
|
$action_links = 'function action_formatter (cellvalue, options, rowObject) { |
|
|
|
return \'' |
|
|
|
return \'' |
|
|
|
.' <a href="add_users_to_usergroup.php?id=\'+options.rowId+\'"><img src="../img/icons/22/user_to_class.png" title="'.get_lang('SubscribeUsersToClass').'"></a>' |
|
|
|
.' <a href="add_users_to_usergroup.php?id=\'+options.rowId+\'">' . Display::return_icon('user_to_class.png', get_lang('SubscribeUsersToClass'), null, ICON_SIZE_SMALL) . '</a>' |
|
|
|
.' <a href="add_courses_to_usergroup.php?id=\'+options.rowId+\'"><img src="../img/icons/22/course_to_class.png" title="'.get_lang('SubscribeClassToCourses').'"></a>' |
|
|
|
.' <a href="add_courses_to_usergroup.php?id=\'+options.rowId+\'">' . Display::return_icon('course_to_class.png', get_lang('SubscribeClassToCourses'), null, ICON_SIZE_SMALL) . '</a>' |
|
|
|
.' <a href="add_sessions_to_usergroup.php?id=\'+options.rowId+\'"><img src="../img/icons/22/sessions_to_class.png" title="'.get_lang('SubscribeClassToSessions').'"></a>' |
|
|
|
.' <a href="add_sessions_to_usergroup.php?id=\'+options.rowId+\'">' . Display::return_icon('sessions_to_class.png', get_lang('SubscribeClassToSessions'), null, ICON_SIZE_SMALL) . '</a>' |
|
|
|
.' <a href="?action=edit&id=\'+options.rowId+\'"><img src="../img/icons/16/edit.png" title="'.get_lang('Edit').'" ></a>' |
|
|
|
.' <a href="?action=edit&id=\'+options.rowId+\'">' . Display::return_icon('edit.png', get_lang('Edit'), null, ICON_SIZE_TINY) . '</a>' |
|
|
|
.' <a onclick="javascript:if(!confirm('."\'".addslashes(api_htmlentities(get_lang("ConfirmYourChoice"),ENT_QUOTES))."\'".')) return false;" href="?action=delete&id=\'+options.rowId+\'"><img title="'.get_lang('Delete').'" src="../img/icons/16/delete.png"></a>\'; |
|
|
|
.' <a onclick="javascript:if(!confirm('."\'".addslashes(api_htmlentities(get_lang("ConfirmYourChoice"),ENT_QUOTES))."\'".')) return false;" href="?action=delete&id=\'+options.rowId+\'">' . Display::return_icon('delete.png', get_lang('Delete'), null, ICON_SIZE_TINY) . '</a>\'; |
|
|
|
}'; |
|
|
|
}'; |
|
|
|
|
|
|
|
|
|
|
|
?> |
|
|
|
?> |
|
|
|
|