@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | } |
| 32 | 32 | // The breadcrumbs. |
| 33 | 33 | $interbreadcrumb[] = array( |
| 34 | - 'url' => api_get_path(WEB_CODE_PATH) . '.exercice/exercise.php?' . api_get_cidreq(), |
|
| 34 | + 'url' => api_get_path(WEB_CODE_PATH).'.exercice/exercise.php?'.api_get_cidreq(), |
|
| 35 | 35 | 'name' => get_lang('Exercises') |
| 36 | 36 | ); |
| 37 | 37 | |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | $_course, |
| 154 | 154 | $_FILES['userFile'], |
| 155 | 155 | $document_sys_path, |
| 156 | - $uploadPath . '/' . $fld, |
|
| 156 | + $uploadPath.'/'.$fld, |
|
| 157 | 157 | api_get_user_id(), |
| 158 | 158 | null, |
| 159 | 159 | null, |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | $imgparams = $_POST['imgparams']; |
| 166 | 166 | $checked = CheckImageName($imgparams, $filename); |
| 167 | 167 | if ($checked) { |
| 168 | - $imgcount = $imgcount-1; |
|
| 168 | + $imgcount = $imgcount - 1; |
|
| 169 | 169 | } else { |
| 170 | 170 | $dialogBox .= $filename.' '.get_lang('NameNotEqual'); |
| 171 | 171 | my_delete($document_sys_path.$uploadPath.'/'.$fld.'/'.$filename); |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | |
| 31 | -$interbreadcrumb[] = array('url' => 'session_list.php','name' => get_lang('SessionList')); |
|
| 31 | +$interbreadcrumb[] = array('url' => 'session_list.php', 'name' => get_lang('SessionList')); |
|
| 32 | 32 | $interbreadcrumb[] = array( |
| 33 | 33 | 'url' => "resume_session.php?id_session=".$sessionId, |
| 34 | 34 | "name" => get_lang('SessionOverview') |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | if ($days > 0) { |
| 61 | 61 | $msg = sprintf(get_lang('FirstAccessWasXSessionDurationYEndDateInZDays'), $firstAccessString, $duration, $days); |
| 62 | 62 | } else { |
| 63 | - $endDateInSeconds = $firstAccess + $duration * 24*60*60; |
|
| 63 | + $endDateInSeconds = $firstAccess + $duration * 24 * 60 * 60; |
|
| 64 | 64 | $last = api_convert_and_format_date($endDateInSeconds, DATE_FORMAT_SHORT); |
| 65 | 65 | $msg = sprintf(get_lang('FirstAccessWasXSessionDurationYEndDateWasZ'), $firstAccessString, $duration, $last); |
| 66 | 66 | } |