|
|
|
|
@ -60,8 +60,8 @@ $column_model = array( |
|
|
|
|
array('name'=>'users', 'index'=>'users', 'width'=>'15', 'align'=>'left'), |
|
|
|
|
array('name'=>'courses', 'index'=>'courses', 'width'=>'15', 'align'=>'left'), |
|
|
|
|
array('name'=>'sessions', 'index'=>'sessions', 'width'=>'15', 'align'=>'left'), |
|
|
|
|
array('name'=>'group_type', 'index'=>'group_type', 'width'=>'15', 'align'=>'left'), |
|
|
|
|
array('name'=>'actions', 'index'=>'actions', 'width'=>'20', 'align'=>'left', 'sortable'=>'false','formatter'=>'action_formatter'), |
|
|
|
|
array('name'=>'group_type', 'index'=>'group_type', 'width'=>'15', 'align'=>'center'), |
|
|
|
|
array('name'=>'actions', 'index'=>'actions', 'width'=>'20', 'align'=>'center', 'sortable'=>'false','formatter'=>'action_formatter'), |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
//Autowidth |
|
|
|
|
@ -76,8 +76,8 @@ $action_links = 'function action_formatter (cellvalue, options, rowObject) { |
|
|
|
|
.' <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_courses_to_usergroup.php?id=\'+options.rowId+\'"><img src="../img/icons/22/course_to_class.png" title="'.get_lang('SubscribeClassToCourses').'"></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="?action=edit&id=\'+options.rowId+\'"><img width="22px" src="../img/edit.png" title="'.get_lang('Edit').'" ></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/delete.png"></a>\'; |
|
|
|
|
.' <a href="?action=edit&id=\'+options.rowId+\'"><img src="../img/icons/16/edit.png" title="'.get_lang('Edit').'" ></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>\'; |
|
|
|
|
}'; |
|
|
|
|
|
|
|
|
|
?> |
|
|
|
|
|