@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | case 'create_groups': |
25 | 25 | $groups = array(); |
26 | 26 | |
27 | - for ($i = 0; $i < $_POST['number_of_groups']; $i ++) { |
|
27 | + for ($i = 0; $i < $_POST['number_of_groups']; $i++) { |
|
28 | 28 | $group1['name'] = empty($_POST['group_'.$i.'_name']) ? get_lang('Group').' '.$i : $_POST['group_'.$i.'_name']; |
29 | 29 | $group1['category'] = isset($_POST['group_'.$i.'_category']) ? $_POST['group_'.$i.'_category'] : null; |
30 | 30 | $group1['tutor'] = isset($_POST['group_'.$i.'_tutor']) ? $_POST['group_'.$i.'_tutor'] : null; |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | $form->addGroup($group_el, 'groups', null, "</td><td>", false); |
163 | 163 | // Checkboxes |
164 | 164 | if ($_POST['number_of_groups'] > 1) { |
165 | - $group_el = array (); |
|
165 | + $group_el = array(); |
|
166 | 166 | $group_el[] = $form->createElement('static', null, null, ' '); |
167 | 167 | if (api_get_setting('allow_group_categories') === 'true') { |
168 | 168 | $group_el[] = $form->createElement( |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | $form->addGroup($group_el, 'groups', null, '</td><td>', false); |
184 | 184 | } |
185 | 185 | // Properties for all groups |
186 | - for ($group_number = 0; $group_number < $_POST['number_of_groups']; $group_number ++) { |
|
186 | + for ($group_number = 0; $group_number < $_POST['number_of_groups']; $group_number++) { |
|
187 | 187 | $group_el = array(); |
188 | 188 | $group_el[] = $form->createElement('text', 'group_'.$group_number.'_name'); |
189 | 189 | if (api_get_setting('allow_group_categories') === 'true') { |
@@ -210,14 +210,14 @@ discard block |
||
210 | 210 | $prev = '000'; |
211 | 211 | } elseif ($group_id < 100) { |
212 | 212 | $prev = '00'; |
213 | - } elseif ($group_id<1000) { |
|
213 | + } elseif ($group_id < 1000) { |
|
214 | 214 | $prev = '0'; |
215 | 215 | } else { |
216 | 216 | $prev = ''; |
217 | 217 | } |
218 | 218 | } |
219 | 219 | |
220 | - $defaults['group_'.$group_number.'_name'] = get_lang('GroupSingle').' '.$prev.$group_id ++; |
|
220 | + $defaults['group_'.$group_number.'_name'] = get_lang('GroupSingle').' '.$prev.$group_id++; |
|
221 | 221 | $form->addGroup($group_el, 'group_'.$group_number, null, '</td><td>', false); |
222 | 222 | } |
223 | 223 | $defaults['action'] = 'create_groups'; |
@@ -232,8 +232,8 @@ discard block |
||
232 | 232 | */ |
233 | 233 | $create_groups_form = new FormValidator('create_groups', 'post', api_get_self().'?'.api_get_cidreq()); |
234 | 234 | $create_groups_form->addElement('header', $nameTools); |
235 | - $create_groups_form->addText('number_of_groups',get_lang('NumberOfGroupsToCreate'),null,array('value'=>'1')); |
|
236 | - $create_groups_form->addButton('submit', get_lang('ProceedToCreateGroup'),'plus','primary'); |
|
235 | + $create_groups_form->addText('number_of_groups', get_lang('NumberOfGroupsToCreate'), null, array('value'=>'1')); |
|
236 | + $create_groups_form->addButton('submit', get_lang('ProceedToCreateGroup'), 'plus', 'primary'); |
|
237 | 237 | $defaults = array(); |
238 | 238 | $defaults['number_of_groups'] = 1; |
239 | 239 | $create_groups_form->setDefaults($defaults); |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | * Show form to generate subgroups |
244 | 244 | */ |
245 | 245 | if (api_get_setting('allow_group_categories') === 'true' && count(GroupManager :: get_group_list()) > 0) { |
246 | - $base_group_options = array (); |
|
246 | + $base_group_options = array(); |
|
247 | 247 | $groups = GroupManager :: get_group_list(); |
248 | 248 | foreach ($groups as $index => $group) { |
249 | 249 | $number_of_students = GroupManager :: number_of_students($group['iid']); |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | |
14 | 14 | require_once __DIR__.'/../inc/global.inc.php'; |
15 | 15 | $this_section = SECTION_COURSES; |
16 | -$current_course_tool = TOOL_GROUP; |
|
16 | +$current_course_tool = TOOL_GROUP; |
|
17 | 17 | |
18 | 18 | // Notice for unauthorized people. |
19 | 19 | api_protect_course_script(true); |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | // Group members |
168 | 168 | $group_member_list = GroupManager::get_subscribed_users($current_group['iid']); |
169 | 169 | |
170 | -$selected_users = array (); |
|
170 | +$selected_users = array(); |
|
171 | 171 | if (!empty($group_member_list)) { |
172 | 172 | foreach ($group_member_list as $index => $user) { |
173 | 173 | $selected_users[] = $user['user_id']; |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | */ |
16 | 16 | require_once __DIR__.'/../inc/global.inc.php'; |
17 | 17 | $this_section = SECTION_COURSES; |
18 | -$current_course_tool = TOOL_GROUP; |
|
18 | +$current_course_tool = TOOL_GROUP; |
|
19 | 19 | |
20 | 20 | // Notice for unauthorized people. |
21 | 21 | api_protect_course_script(true); |
@@ -85,29 +85,29 @@ discard block |
||
85 | 85 | Display::return_icon('add.png', get_lang('NewGroupCreate'), '', ICON_SIZE_MEDIUM).'</a>'; |
86 | 86 | |
87 | 87 | if (api_get_setting('allow_group_categories') === 'true') { |
88 | - $actions.= '<a href="group_category.php?'.api_get_cidreq().'&action=add_category">'. |
|
88 | + $actions .= '<a href="group_category.php?'.api_get_cidreq().'&action=add_category">'. |
|
89 | 89 | Display::return_icon('new_folder.png', get_lang('AddCategory'), '', ICON_SIZE_MEDIUM).'</a>'; |
90 | 90 | } else { |
91 | - $actions.= '<a href="group_category.php?'.api_get_cidreq().'&id=2">'. |
|
91 | + $actions .= '<a href="group_category.php?'.api_get_cidreq().'&id=2">'. |
|
92 | 92 | Display::return_icon('settings.png', get_lang('PropModify'), '', ICON_SIZE_MEDIUM).'</a>'; |
93 | 93 | } |
94 | -$actions.= '<a href="import.php?'.api_get_cidreq().'&action=import">'. |
|
94 | +$actions .= '<a href="import.php?'.api_get_cidreq().'&action=import">'. |
|
95 | 95 | Display::return_icon('import_csv.png', get_lang('Import'), '', ICON_SIZE_MEDIUM).'</a>'; |
96 | 96 | |
97 | -$actions.= '<a href="group_overview.php?'.api_get_cidreq().'&action=export_all&type=csv">'. |
|
97 | +$actions .= '<a href="group_overview.php?'.api_get_cidreq().'&action=export_all&type=csv">'. |
|
98 | 98 | Display::return_icon('export_csv.png', get_lang('Export'), '', ICON_SIZE_MEDIUM).'</a>'; |
99 | 99 | |
100 | -$actions.= '<a href="group_overview.php?'.api_get_cidreq().'&action=export&type=xls">'. |
|
100 | +$actions .= '<a href="group_overview.php?'.api_get_cidreq().'&action=export&type=xls">'. |
|
101 | 101 | Display::return_icon('export_excel.png', get_lang('ExportAsXLS'), '', ICON_SIZE_MEDIUM).'</a>'; |
102 | 102 | |
103 | -$actions.= '<a href="group_overview.php?'.api_get_cidreq().'&action=export_pdf">'. |
|
103 | +$actions .= '<a href="group_overview.php?'.api_get_cidreq().'&action=export_pdf">'. |
|
104 | 104 | Display::return_icon('pdf.png', get_lang('ExportToPDF'), '', ICON_SIZE_MEDIUM).'</a>'; |
105 | 105 | |
106 | -$actions.= '<a href="group.php?'.api_get_cidreq().'">'. |
|
107 | - Display::return_icon('group.png', get_lang('Groups'),'',ICON_SIZE_MEDIUM).'</a>'; |
|
106 | +$actions .= '<a href="group.php?'.api_get_cidreq().'">'. |
|
107 | + Display::return_icon('group.png', get_lang('Groups'), '', ICON_SIZE_MEDIUM).'</a>'; |
|
108 | 108 | |
109 | 109 | |
110 | -$actions.= '<a href="../user/user.php?'.api_get_cidreq().'">'. |
|
110 | +$actions .= '<a href="../user/user.php?'.api_get_cidreq().'">'. |
|
111 | 111 | Display::return_icon('user.png', get_lang('GoTo').' '.get_lang('Users'), '', ICON_SIZE_MEDIUM).'</a>'; |
112 | 112 | |
113 | 113 | // Action links |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | |
13 | 13 | require_once __DIR__.'/../inc/global.inc.php'; |
14 | 14 | $this_section = SECTION_COURSES; |
15 | -$current_course_tool = TOOL_GROUP; |
|
15 | +$current_course_tool = TOOL_GROUP; |
|
16 | 16 | |
17 | 17 | // Notice for unauthorized people. |
18 | 18 | api_protect_course_script(true); |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | $form->addGroup( |
84 | 84 | $group, |
85 | 85 | '', |
86 | - Display::return_icon('user.png', get_lang('GroupSelfRegistration')) . '<span>' . get_lang('GroupSelfRegistration') . '</span>', |
|
86 | + Display::return_icon('user.png', get_lang('GroupSelfRegistration')).'<span>'.get_lang('GroupSelfRegistration').'</span>', |
|
87 | 87 | null, |
88 | 88 | false |
89 | 89 | ); |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | $form->addGroup( |
98 | 98 | $group, |
99 | 99 | '', |
100 | - Display::return_icon('folder.png', get_lang('GroupDocument')) . '<span>' . get_lang('GroupDocument') . '</span>', |
|
100 | + Display::return_icon('folder.png', get_lang('GroupDocument')).'<span>'.get_lang('GroupDocument').'</span>', |
|
101 | 101 | null, |
102 | 102 | false |
103 | 103 | ); |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | $form->addGroup( |
112 | 112 | $group, |
113 | 113 | '', |
114 | - Display::return_icon('works.png', get_lang('GroupWork')) . '<span>' . get_lang('GroupWork') . '</span>', |
|
114 | + Display::return_icon('works.png', get_lang('GroupWork')).'<span>'.get_lang('GroupWork').'</span>', |
|
115 | 115 | null, |
116 | 116 | false |
117 | 117 | ); |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | $form->addGroup( |
126 | 126 | $group, |
127 | 127 | '', |
128 | - Display::return_icon('agenda.png', get_lang('GroupCalendar')) . '<span>' . get_lang('GroupCalendar') . '</span>', |
|
128 | + Display::return_icon('agenda.png', get_lang('GroupCalendar')).'<span>'.get_lang('GroupCalendar').'</span>', |
|
129 | 129 | null, |
130 | 130 | false |
131 | 131 | ); |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | $form->addGroup( |
143 | 143 | $group, |
144 | 144 | '', |
145 | - Display::return_icon('announce.png', get_lang('GroupAnnouncements')) . '<span>' . get_lang('GroupAnnouncements') . '</span>', |
|
145 | + Display::return_icon('announce.png', get_lang('GroupAnnouncements')).'<span>'.get_lang('GroupAnnouncements').'</span>', |
|
146 | 146 | null, |
147 | 147 | false |
148 | 148 | ); |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | $form->addGroup( |
157 | 157 | $group, |
158 | 158 | '', |
159 | - Display::return_icon('forum.png', get_lang('GroupForum')) . '<span>' . get_lang('GroupForum') . '</span>', |
|
159 | + Display::return_icon('forum.png', get_lang('GroupForum')).'<span>'.get_lang('GroupForum').'</span>', |
|
160 | 160 | null, |
161 | 161 | false |
162 | 162 | ); |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | $form->addGroup( |
184 | 184 | $group, |
185 | 185 | '', |
186 | - Display::return_icon('chat.png', get_lang('Chat')) . '<span>' . get_lang('Chat') . '</span>', |
|
186 | + Display::return_icon('chat.png', get_lang('Chat')).'<span>'.get_lang('Chat').'</span>', |
|
187 | 187 | null, |
188 | 188 | false |
189 | 189 | ); |
@@ -7,12 +7,12 @@ discard block |
||
7 | 7 | |
8 | 8 | require_once __DIR__.'/../inc/global.inc.php'; |
9 | 9 | $this_section = SECTION_COURSES; |
10 | -$current_course_tool = TOOL_GROUP; |
|
10 | +$current_course_tool = TOOL_GROUP; |
|
11 | 11 | |
12 | 12 | // Notice for unauthorized people. |
13 | 13 | api_protect_course_script(true); |
14 | 14 | |
15 | -if (!api_is_allowed_to_edit(false,true) || |
|
15 | +if (!api_is_allowed_to_edit(false, true) || |
|
16 | 16 | !(isset ($_GET['id']) || |
17 | 17 | isset ($_POST['id']) || |
18 | 18 | isset ($_GET['action']) || |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | 'groups_per_user' => 1, |
60 | 60 | 'doc_state' => GroupManager::TOOL_PRIVATE, |
61 | 61 | 'work_state' => GroupManager::TOOL_PRIVATE, |
62 | - 'wiki_state' => GroupManager::TOOL_PRIVATE , |
|
62 | + 'wiki_state' => GroupManager::TOOL_PRIVATE, |
|
63 | 63 | 'chat_state' => GroupManager::TOOL_PRIVATE, |
64 | 64 | 'calendar_state' => GroupManager::TOOL_PRIVATE, |
65 | 65 | 'announcements_state'=> GroupManager::TOOL_PRIVATE, |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | |
114 | 114 | // Groups per user |
115 | 115 | $possible_values = array(); |
116 | - for ($i = 1; $i <= 10; $i ++) { |
|
116 | + for ($i = 1; $i <= 10; $i++) { |
|
117 | 117 | $possible_values[$i] = $i; |
118 | 118 | } |
119 | 119 | $possible_values[GroupManager::GROUP_PER_MEMBER_NO_LIMIT] = get_lang('All'); |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | |
139 | 139 | $form->addElement('html', '<div class="col-md-6">'); |
140 | 140 | // Description |
141 | - $form->addElement('textarea', 'description', get_lang('Description'), array ('rows' => 6)); |
|
141 | + $form->addElement('textarea', 'description', get_lang('Description'), array('rows' => 6)); |
|
142 | 142 | $form->addElement('html', '</div>'); |
143 | 143 | $form->addElement('html', '</div>'); |
144 | 144 | } else { |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | $form->addGroup( |
159 | 159 | $group, |
160 | 160 | '', |
161 | - Display::return_icon('user.png', get_lang('GroupSelfRegistration')) . ' ' . get_lang('GroupSelfRegistration'), |
|
161 | + Display::return_icon('user.png', get_lang('GroupSelfRegistration')).' '.get_lang('GroupSelfRegistration'), |
|
162 | 162 | null, |
163 | 163 | false |
164 | 164 | ); |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | $form->addGroup( |
173 | 173 | $group, |
174 | 174 | '', |
175 | - Display::return_icon('folder.png', get_lang('GroupDocument')) . ' ' . get_lang('GroupDocument'), |
|
175 | + Display::return_icon('folder.png', get_lang('GroupDocument')).' '.get_lang('GroupDocument'), |
|
176 | 176 | null, |
177 | 177 | false |
178 | 178 | ); |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | $form->addGroup( |
187 | 187 | $group, |
188 | 188 | '', |
189 | - Display::return_icon('work.png', get_lang('GroupWork'), array(), ICON_SIZE_SMALL) . ' ' . get_lang('GroupWork'), |
|
189 | + Display::return_icon('work.png', get_lang('GroupWork'), array(), ICON_SIZE_SMALL).' '.get_lang('GroupWork'), |
|
190 | 190 | '', |
191 | 191 | false |
192 | 192 | ); |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | $form->addGroup( |
201 | 201 | $group, |
202 | 202 | '', |
203 | - Display::return_icon('agenda.png', get_lang('GroupCalendar')) . ' ' . get_lang('GroupCalendar'), |
|
203 | + Display::return_icon('agenda.png', get_lang('GroupCalendar')).' '.get_lang('GroupCalendar'), |
|
204 | 204 | null, |
205 | 205 | false |
206 | 206 | ); |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | $form->addGroup( |
218 | 218 | $group, |
219 | 219 | '', |
220 | - Display::return_icon('announce.png', get_lang('GroupAnnouncements')) . ' ' . get_lang('GroupAnnouncements'), |
|
220 | + Display::return_icon('announce.png', get_lang('GroupAnnouncements')).' '.get_lang('GroupAnnouncements'), |
|
221 | 221 | null, |
222 | 222 | false |
223 | 223 | ); |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | $form->addGroup( |
232 | 232 | $group, |
233 | 233 | '', |
234 | - Display::return_icon('forum.png', get_lang('GroupForum')) . ' ' . get_lang('GroupForum'), |
|
234 | + Display::return_icon('forum.png', get_lang('GroupForum')).' '.get_lang('GroupForum'), |
|
235 | 235 | null, |
236 | 236 | false |
237 | 237 | ); |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | $form->addGroup( |
246 | 246 | $group, |
247 | 247 | '', |
248 | - Display::return_icon('wiki.png', get_lang('GroupWiki')) . ' ' . get_lang('GroupWiki'), |
|
248 | + Display::return_icon('wiki.png', get_lang('GroupWiki')).' '.get_lang('GroupWiki'), |
|
249 | 249 | null, |
250 | 250 | false |
251 | 251 | ); |
@@ -259,7 +259,7 @@ discard block |
||
259 | 259 | $form->addGroup( |
260 | 260 | $group, |
261 | 261 | '', |
262 | - Display::return_icon('chat.png', get_lang('Chat')) . ' ' . get_lang('Chat'), |
|
262 | + Display::return_icon('chat.png', get_lang('Chat')).' '.get_lang('Chat'), |
|
263 | 263 | null, |
264 | 264 | false |
265 | 265 | ); |
@@ -334,7 +334,7 @@ discard block |
||
334 | 334 | // actions bar |
335 | 335 | echo '<div class="actions">'; |
336 | 336 | echo '<a href="group.php">'. |
337 | - Display::return_icon('back.png', get_lang('BackToGroupList'),'',ICON_SIZE_MEDIUM).'</a>'; |
|
337 | + Display::return_icon('back.png', get_lang('BackToGroupList'), '', ICON_SIZE_MEDIUM).'</a>'; |
|
338 | 338 | echo '</div>'; |
339 | 339 | |
340 | 340 | $defaults = $category; |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | */ |
11 | 11 | |
12 | 12 | require_once __DIR__.'/../inc/global.inc.php'; |
13 | -$current_course_tool = TOOL_GROUP; |
|
13 | +$current_course_tool = TOOL_GROUP; |
|
14 | 14 | |
15 | 15 | // Notice for unauthorized people. |
16 | 16 | api_protect_course_script(true); |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | |
69 | 69 | echo '<div class="actions">'; |
70 | 70 | echo '<a href="group.php">'. |
71 | - Display::return_icon('back.png',get_lang('BackToGroupList'),'',ICON_SIZE_MEDIUM). |
|
71 | + Display::return_icon('back.png', get_lang('BackToGroupList'), '', ICON_SIZE_MEDIUM). |
|
72 | 72 | '</a>'; |
73 | 73 | |
74 | 74 | /* |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | */ |
86 | 86 | $unsubscribe_group = ''; |
87 | 87 | if (GroupManager :: is_self_unregistration_allowed($user_id, $current_group['iid'])) { |
88 | - $unsubscribe_group = '<a class="btn btn-default" href="'.api_get_self().'?selfUnReg=1" onclick="javascript: if(!confirm('."'".addslashes(api_htmlentities(get_lang("ConfirmYourChoice"),ENT_QUOTES))."'".')) return false;">'. |
|
88 | + $unsubscribe_group = '<a class="btn btn-default" href="'.api_get_self().'?selfUnReg=1" onclick="javascript: if(!confirm('."'".addslashes(api_htmlentities(get_lang("ConfirmYourChoice"), ENT_QUOTES))."'".')) return false;">'. |
|
89 | 89 | get_lang("StudentUnsubscribe").'</a>'; |
90 | 90 | } |
91 | 91 | echo ' </div>'; |
@@ -96,8 +96,8 @@ discard block |
||
96 | 96 | if (api_is_allowed_to_edit(false, true) || |
97 | 97 | GroupManager::is_tutor_of_group(api_get_user_id(), $current_group['iid']) |
98 | 98 | ) { |
99 | - $edit_url = '<a href="'.api_get_path(WEB_CODE_PATH).'group/settings.php?'.api_get_cidreq().'">'. |
|
100 | - Display::return_icon('edit.png', get_lang('EditGroup'),'',ICON_SIZE_SMALL).'</a>'; |
|
99 | + $edit_url = '<a href="'.api_get_path(WEB_CODE_PATH).'group/settings.php?'.api_get_cidreq().'">'. |
|
100 | + Display::return_icon('edit.png', get_lang('EditGroup'), '', ICON_SIZE_SMALL).'</a>'; |
|
101 | 101 | } |
102 | 102 | |
103 | 103 | echo Display::page_header( |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | |
14 | 14 | require_once __DIR__.'/../inc/global.inc.php'; |
15 | 15 | $this_section = SECTION_COURSES; |
16 | -$current_course_tool = TOOL_GROUP; |
|
16 | +$current_course_tool = TOOL_GROUP; |
|
17 | 17 | |
18 | 18 | // Notice for unauthorized people. |
19 | 19 | api_protect_course_script(true); |
@@ -22,8 +22,8 @@ discard block |
||
22 | 22 | $current_group = GroupManager::get_group_properties($group_id); |
23 | 23 | |
24 | 24 | $nameTools = get_lang('EditGroup'); |
25 | -$interbreadcrumb[] = array ('url' => 'group.php?'.api_get_cidreq(), 'name' => get_lang('Groups')); |
|
26 | -$interbreadcrumb[] = array ('url' => 'group_space.php?'.api_get_cidreq(), 'name' => $current_group['name']); |
|
25 | +$interbreadcrumb[] = array('url' => 'group.php?'.api_get_cidreq(), 'name' => get_lang('Groups')); |
|
26 | +$interbreadcrumb[] = array('url' => 'group_space.php?'.api_get_cidreq(), 'name' => $current_group['name']); |
|
27 | 27 | |
28 | 28 | $is_group_member = GroupManager::is_tutor_of_group(api_get_user_id(), $current_group['iid']); |
29 | 29 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | |
4 | 4 | require_once __DIR__.'/../inc/global.inc.php'; |
5 | 5 | $this_section = SECTION_COURSES; |
6 | -$current_course_tool = TOOL_GROUP; |
|
6 | +$current_course_tool = TOOL_GROUP; |
|
7 | 7 | |
8 | 8 | // Notice for unauthorized people. |
9 | 9 | api_protect_course_script(true); |
@@ -6,7 +6,7 @@ discard block |
||
6 | 6 | */ |
7 | 7 | |
8 | 8 | require_once __DIR__.'/../inc/global.inc.php'; |
9 | -$current_course_tool = TOOL_COURSE_MAINTENANCE; |
|
9 | +$current_course_tool = TOOL_COURSE_MAINTENANCE; |
|
10 | 10 | $this_section = SECTION_COURSES; |
11 | 11 | |
12 | 12 | $nameTools = get_lang('Maintenance'); |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | <div class="sectioncomment"><?php echo get_lang('DescriptionRecycleCourse'); ?></div> |
44 | 44 | |
45 | 45 | <div class="sectiontitle"><?php Display::display_icon('delete.gif', get_lang('DelCourse')); ?> <a href="../course_info/delete_course.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('DelCourse'); ?></a></div> |
46 | -<div class="sectioncomment"><?php echo get_lang('DescriptionDeleteCourse'); ?></div> |
|
46 | +<div class="sectioncomment"><?php echo get_lang('DescriptionDeleteCourse'); ?></div> |
|
47 | 47 | |
48 | 48 | <?php |
49 | 49 | // Footer |