@@ -31,7 +31,7 @@ |
||
| 31 | 31 | |
| 32 | 32 | $resubscriptionLimit = Resubscription::create()->get('resubscription_limit'); |
| 33 | 33 | |
| 34 | - // Initialize variables as a calendar year by default |
|
| 34 | + // Initialize variables as a calendar year by default |
|
| 35 | 35 | $limitDateFormat = 'Y-01-01'; |
| 36 | 36 | $limitDate = gmdate($limitDateFormat); |
| 37 | 37 | $resubscriptionOffset = "1 year"; |
@@ -581,7 +581,7 @@ |
||
| 581 | 581 | /*$sessionIdName = isset($params['session_id_name']) ? $params['session_id_name'] : null; |
| 582 | 582 | $sessionIdValue = isset($params['session_id_value']) ? $params['session_id_value'] : null;*/ |
| 583 | 583 | |
| 584 | - $courseInfo = CourseManager::getCourseInfoFromOriginalId( |
|
| 584 | + $courseInfo = CourseManager::getCourseInfoFromOriginalId( |
|
| 585 | 585 | $courseIdValue, |
| 586 | 586 | $courseIdName |
| 587 | 587 | ); |
@@ -112,7 +112,7 @@ |
||
| 112 | 112 | <script> |
| 113 | 113 | $(function() { |
| 114 | 114 | <?php |
| 115 | - echo Display::grid_js('promotions', $url, $columns, $column_model, $extra_params, array(), $action_links, true); |
|
| 115 | + echo Display::grid_js('promotions', $url, $columns, $column_model, $extra_params, array(), $action_links, true); |
|
| 116 | 116 | ?> |
| 117 | 117 | }); |
| 118 | 118 | </script> |
@@ -488,7 +488,7 @@ |
||
| 488 | 488 | $remind_list |
| 489 | 489 | ); |
| 490 | 490 | |
| 491 | - // Destruction of the Question object |
|
| 491 | + // Destruction of the Question object |
|
| 492 | 492 | unset($objQuestionTmp); |
| 493 | 493 | if ($debug) { |
| 494 | 494 | error_log(" -- end question -- "); |
@@ -758,7 +758,7 @@ |
||
| 758 | 758 | // $gidReset = true; |
| 759 | 759 | } // end else |
| 760 | 760 | |
| 761 | - // Now check for anonymous user mode |
|
| 761 | + // Now check for anonymous user mode |
|
| 762 | 762 | if (isset($use_anonymous) && $use_anonymous) { |
| 763 | 763 | //if anonymous mode is set, then try to set the current user as anonymous |
| 764 | 764 | //if he doesn't have a login yet |
@@ -720,11 +720,11 @@ discard block |
||
| 720 | 720 | return false; |
| 721 | 721 | } |
| 722 | 722 | |
| 723 | - /** |
|
| 724 | - * @param int $itemId |
|
| 725 | - * @param int $fieldId |
|
| 726 | - * @return array |
|
| 727 | - */ |
|
| 723 | + /** |
|
| 724 | + * @param int $itemId |
|
| 725 | + * @param int $fieldId |
|
| 726 | + * @return array |
|
| 727 | + */ |
|
| 728 | 728 | public function getAllValuesByItemAndField($itemId, $fieldId) |
| 729 | 729 | { |
| 730 | 730 | $fieldId = intval($fieldId); |
@@ -847,7 +847,6 @@ discard block |
||
| 847 | 847 | /** |
| 848 | 848 | * Deletes all values from an item |
| 849 | 849 | * @param int $itemId (session id, course id, etc) |
| 850 | - |
|
| 851 | 850 | * @assert (-1,-1) == null |
| 852 | 851 | */ |
| 853 | 852 | public function deleteValuesByItem($itemId) |
@@ -73,7 +73,6 @@ |
||
| 73 | 73 | * Export the given HTML to PDF, using a global template |
| 74 | 74 | * |
| 75 | 75 | * @uses export/table_pdf.tpl |
| 76 | - |
|
| 77 | 76 | * @param $content |
| 78 | 77 | * @param bool|false $saveToFile |
| 79 | 78 | * @param bool|false $returnHtml |
@@ -261,7 +261,7 @@ |
||
| 261 | 261 | ?> |
| 262 | 262 | <option value="<?php echo $enreg['user_id']; ?>"><?php echo $enreg['username'].' - '.api_get_person_name($enreg['firstname'], $enreg['lastname']); ?></option> |
| 263 | 263 | <?php |
| 264 | - } |
|
| 264 | + } |
|
| 265 | 265 | unset($nosessionUsersList); |
| 266 | 266 | ?> |
| 267 | 267 | </select> |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | //$gradebook['name'] = $gradebook['name']; |
| 56 | 56 | //$gradebook_list[] = $gradebook; |
| 57 | 57 | } else { |
| 58 | - // $gradebook['name'] = $gradebook_list[$gradebook['parent_id']]['name'].' > '.$gradebook['name']; |
|
| 58 | + // $gradebook['name'] = $gradebook_list[$gradebook['parent_id']]['name'].' > '.$gradebook['name']; |
|
| 59 | 59 | //$gradebook_list[] = $gradebook; |
| 60 | 60 | } |
| 61 | 61 | } |