Skip to content

Commit 920677a

Browse files
committed
Minor: Change indentation of HTML code in gradebook - refs #3061
1 parent ca2c3db commit 920677a

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

main/gradebook/lib/fe/evalform.class.php

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,7 @@ protected function build_all_results_edit_form()
164164
// set new form template
165165
$form_template = '<form{attributes}>
166166
<div class="table-responsive">
167-
<table class="data_table" border="0" cellpadding="5" cellspacing="5">{content}
168-
</table>
167+
<table class="data_table" border="0" cellpadding="5" cellspacing="5">{content}</table>
169168
</div>
170169
</form>';
171170
$renderer->setFormTemplate($form_template);
@@ -226,7 +225,7 @@ protected function build_all_results_edit_form()
226225
<td align="left" >'.$user['official_code'].'</td>
227226
<td align="left" >'.$user['username'].'</td>
228227
'.$user_info.'
229-
<td align="left">{element} / '.$this->evaluation_object->get_max().'
228+
<td align="left">{element} / '.$this->evaluation_object->get_max().'
230229
<!-- BEGIN error --><br /><span style="color: #ff0000;font-size:10px">{error}</span><!-- END error -->
231230
</td>
232231
</tr>';
@@ -311,12 +310,12 @@ protected function build_result_add_form()
311310
$renderer = &$this->defaultRenderer();
312311
$renderer->setFormTemplate(
313312
'<form{attributes}>
314-
<div class="table-responsive">
315-
<table class="data_table">
316-
{content}
317-
</table>
318-
</div>
319-
</form>'
313+
<div class="table-responsive">
314+
<table class="data_table">
315+
{content}
316+
</table>
317+
</div>
318+
</form>'
320319
);
321320

322321
$users = GradebookUtils::get_users_in_course($this->evaluation_object->get_course_code());
@@ -334,7 +333,7 @@ protected function build_result_add_form()
334333
<th>'.get_lang('FirstName').'</th>
335334
<th>'.get_lang('LastName').'</th>
336335
<th>'.get_lang('Qualify').'</th>
337-
</tr>'
336+
</tr>'
338337
);
339338
} else {
340339
$renderer->setHeaderTemplate(
@@ -344,7 +343,7 @@ protected function build_result_add_form()
344343
<th>'.get_lang('LastName').'</th>
345344
<th>'.get_lang('FirstName').'</th>
346345
<th>'.get_lang('Qualify').'</th>
347-
</tr>'
346+
</tr>'
348347
);
349348
}
350349

0 commit comments

Comments
 (0)