@@ -81,7 +81,7 @@ |
||
81 | 81 | echo "<tr>"; |
82 | 82 | echo "<td rowspan=\"2\" class=\"forum_message_left\">"; |
83 | 83 | $username = api_htmlentities(sprintf(get_lang('LoginX'), $row['username']), ENT_QUOTES); |
84 | - if ($row['user_id']=='0') { |
|
84 | + if ($row['user_id'] == '0') { |
|
85 | 85 | $name = $row['poster_name']; |
86 | 86 | } else { |
87 | 87 | $name = api_get_person_name($row['firstname'], $row['lastname']); |
@@ -500,7 +500,7 @@ |
||
500 | 500 | $html .= '</div>'; |
501 | 501 | $html .= '</div></div>'; |
502 | 502 | } |
503 | - echo $html; |
|
503 | + echo $html; |
|
504 | 504 | } |
505 | 505 | } |
506 | 506 | if (count($forum_list) == 0) { |
@@ -52,17 +52,17 @@ discard block |
||
52 | 52 | $origin = ''; |
53 | 53 | |
54 | 54 | if (isset($_GET['origin'])) { |
55 | - $origin = Security::remove_XSS($_GET['origin']); |
|
55 | + $origin = Security::remove_XSS($_GET['origin']); |
|
56 | 56 | } |
57 | 57 | |
58 | 58 | /* Header and Breadcrumbs */ |
59 | 59 | $gradebook = null; |
60 | 60 | if (isset($_SESSION['gradebook'])) { |
61 | - $gradebook= $_SESSION['gradebook']; |
|
61 | + $gradebook = $_SESSION['gradebook']; |
|
62 | 62 | } |
63 | 63 | |
64 | 64 | if (!empty($gradebook) && $gradebook == 'view') { |
65 | - $interbreadcrumb[] = array ( |
|
65 | + $interbreadcrumb[] = array( |
|
66 | 66 | 'url' => '../gradebook/'.$_SESSION['gradebook_dest'], |
67 | 67 | 'name' => get_lang('ToolGradebook') |
68 | 68 | ); |
@@ -72,16 +72,16 @@ discard block |
||
72 | 72 | |
73 | 73 | $current_forum_category = get_forum_categories($_GET['forumcategory']); |
74 | 74 | $interbreadcrumb[] = array( |
75 | - 'url' => 'index.php?gradebook=' . $gradebook . '&search=' |
|
75 | + 'url' => 'index.php?gradebook='.$gradebook.'&search=' |
|
76 | 76 | . Security::remove_XSS(urlencode(isset($_GET['search']) ? $_GET['search'] : '')), |
77 | 77 | 'name' => get_lang('Forum') |
78 | 78 | ); |
79 | 79 | |
80 | 80 | if (!empty($_GET['action']) && !empty($_GET['content'])) { |
81 | - if ($_GET['action']=='add' && $_GET['content']=='forum' ) { |
|
81 | + if ($_GET['action'] == 'add' && $_GET['content'] == 'forum') { |
|
82 | 82 | $interbreadcrumb[] = array( |
83 | 83 | 'url' => 'viewforumcategory.php?forumcategory=' |
84 | - . $current_forum_category['cat_id'] . '&origin=' . $origin, |
|
84 | + . $current_forum_category['cat_id'].'&origin='.$origin, |
|
85 | 85 | 'name' => $current_forum_category['cat_title'] |
86 | 86 | ); |
87 | 87 | $interbreadcrumb[] = array( |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | ); |
97 | 97 | } |
98 | 98 | |
99 | -if ($origin=='learnpath') { |
|
99 | +if ($origin == 'learnpath') { |
|
100 | 100 | Display::display_reduced_header(); |
101 | 101 | } else { |
102 | 102 | Display::display_header(null); |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | // then the user is not allowed here. |
112 | 112 | if ( |
113 | 113 | !api_is_allowed_to_edit(false, true) AND |
114 | - ( $current_forum_category && $current_forum_category['visibility'] == 0) |
|
114 | + ($current_forum_category && $current_forum_category['visibility'] == 0) |
|
115 | 115 | ) { |
116 | 116 | api_not_allowed(); |
117 | 117 | } |
@@ -121,10 +121,10 @@ discard block |
||
121 | 121 | $html .= '<div class="actions">'; |
122 | 122 | $html .= '<a href="index.php?gradebook='.$gradebook.'&'.api_get_cidreq().'">'. |
123 | 123 | Display::return_icon('back.png', get_lang('BackToForumOverview'), '', ICON_SIZE_MEDIUM).'</a>'; |
124 | -if (api_is_allowed_to_edit(false,true)) { |
|
125 | - $html .= '<a href="' . api_get_self() . '?' . api_get_cidreq() . '&forumcategory=' |
|
126 | - . $current_forum_category['cat_id'] . '&action=add&content=forum"> ' |
|
127 | - . Display::return_icon('new_forum.png', get_lang('AddForum'), '', ICON_SIZE_MEDIUM) . '</a>'; |
|
124 | +if (api_is_allowed_to_edit(false, true)) { |
|
125 | + $html .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&forumcategory=' |
|
126 | + . $current_forum_category['cat_id'].'&action=add&content=forum"> ' |
|
127 | + . Display::return_icon('new_forum.png', get_lang('AddForum'), '', ICON_SIZE_MEDIUM).'</a>'; |
|
128 | 128 | } |
129 | 129 | $html .= search_link(); |
130 | 130 | $html .= '</div>'; |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | $forum_categories_list = ''; |
185 | 185 | $forumId = $forum_category['cat_id']; |
186 | 186 | $forumTitle = $forum_category['cat_title']; |
187 | - $linkForumCategory = 'viewforumcategory.php?' . api_get_cidreq() . '&forumcategory=' . strval(intval($forumId)); |
|
187 | + $linkForumCategory = 'viewforumcategory.php?'.api_get_cidreq().'&forumcategory='.strval(intval($forumId)); |
|
188 | 188 | $descriptionCategory = $forum_category['cat_comment']; |
189 | 189 | $icoCategory = Display::return_icon( |
190 | 190 | 'forum_blue.png', |
@@ -195,16 +195,16 @@ discard block |
||
195 | 195 | |
196 | 196 | if (api_is_allowed_to_edit(false, true) && !($forum_category['session_id'] == 0 && $sessionId != 0)) { |
197 | 197 | |
198 | - $iconsEdit = '<a href="' . api_get_self() . '?' . api_get_cidreq() . '&forumcategory=' |
|
199 | - . Security::remove_XSS($_GET['forumcategory']) . '&action=edit&content=forumcategory&id=' |
|
200 | - . '' . $forumId . '">' |
|
201 | - . Display::return_icon('edit.png', get_lang('Edit'), array(), ICON_SIZE_SMALL) . '</a>'; |
|
202 | - $iconsEdit .= '<a href="' . api_get_self() . '?' . api_get_cidreq() . '&forumcategory=' |
|
198 | + $iconsEdit = '<a href="'.api_get_self().'?'.api_get_cidreq().'&forumcategory=' |
|
199 | + . Security::remove_XSS($_GET['forumcategory']).'&action=edit&content=forumcategory&id=' |
|
200 | + . ''.$forumId.'">' |
|
201 | + . Display::return_icon('edit.png', get_lang('Edit'), array(), ICON_SIZE_SMALL).'</a>'; |
|
202 | + $iconsEdit .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&forumcategory=' |
|
203 | 203 | . Security::remove_XSS($_GET['forumcategory']) |
204 | - . '&action=delete&content=forumcategory&id=' . $forumId |
|
204 | + . '&action=delete&content=forumcategory&id='.$forumId |
|
205 | 205 | . "\" onclick=\"javascript:if(!confirm('" |
206 | 206 | . addslashes(api_htmlentities(get_lang('DeleteForumCategory'), ENT_QUOTES)) |
207 | - . "')) return false;\">" . Display::return_icon('delete.png', get_lang('Delete'), array(), ICON_SIZE_SMALL) |
|
207 | + . "')) return false;\">".Display::return_icon('delete.png', get_lang('Delete'), array(), ICON_SIZE_SMALL) |
|
208 | 208 | . '</a>'; |
209 | 209 | $iconsEdit .= return_visible_invisible_icon( |
210 | 210 | 'forumcategory', $forum_category['cat_id'], |
@@ -244,7 +244,7 @@ discard block |
||
244 | 244 | ); |
245 | 245 | |
246 | 246 | |
247 | - if ($descriptionCategory != '' && trim($descriptionCategory)!= ' ') |
|
247 | + if ($descriptionCategory != '' && trim($descriptionCategory) != ' ') |
|
248 | 248 | { |
249 | 249 | $html .= '<div class="forum-description">'.$descriptionCategory.'</div>'; |
250 | 250 | } |
@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | // SHOULD WE SHOW THIS PARTICULAR FORUM |
285 | 285 | // you are teacher => show forum |
286 | 286 | |
287 | - if (api_is_allowed_to_edit(false,true)) { |
|
287 | + if (api_is_allowed_to_edit(false, true)) { |
|
288 | 288 | //echo 'teacher'; |
289 | 289 | $show_forum = true; |
290 | 290 | } else { |
@@ -351,9 +351,9 @@ discard block |
||
351 | 351 | ? $all_groups[$forum['forum_of_group']]['id'] |
352 | 352 | : null; |
353 | 353 | $group_title = api_substr($my_all_groups_forum_name, 0, 30); |
354 | - $forum_title_group_addition = ' (<a href="../group/group_space.php?' . api_get_cidreq() |
|
355 | - . '&gidReq=' . $my_all_groups_forum_id . '" class="forum_group_link">' |
|
356 | - . get_lang('GoTo') . ' ' . $group_title . '</a>)'; |
|
354 | + $forum_title_group_addition = ' (<a href="../group/group_space.php?'.api_get_cidreq() |
|
355 | + . '&gidReq='.$my_all_groups_forum_id.'" class="forum_group_link">' |
|
356 | + . get_lang('GoTo').' '.$group_title.'</a>)'; |
|
357 | 357 | } else { |
358 | 358 | $forum_title_group_addition = ''; |
359 | 359 | } |
@@ -371,7 +371,7 @@ discard block |
||
371 | 371 | $html .= '<div class="row">'; |
372 | 372 | $html .= '<div class="col-md-6">'; |
373 | 373 | $html .= '<div class="col-md-3">'; |
374 | - $html .= '<div class="number-post">'.$forum_image .'<p>' . $my_number_threads . ' ' . get_lang('ForumThreads') . '</p></div>'; |
|
374 | + $html .= '<div class="number-post">'.$forum_image.'<p>'.$my_number_threads.' '.get_lang('ForumThreads').'</p></div>'; |
|
375 | 375 | $html .= '</div>'; |
376 | 376 | |
377 | 377 | $html .= '<div class="col-md-9">'; |
@@ -386,7 +386,7 @@ discard block |
||
386 | 386 | 'a', |
387 | 387 | $forum['forum_title'].$session_displayed, |
388 | 388 | array( |
389 | - 'href' => 'viewforum.php?' . api_get_cidreq() |
|
389 | + 'href' => 'viewforum.php?'.api_get_cidreq() |
|
390 | 390 | . "&gidReq={$forum['forum_of_group']}&forum={$forum['forum_id']}&origin=$origin&search=" |
391 | 391 | . Security::remove_XSS(urlencode(isset($_GET['search']) ? $_GET['search'] : '')), |
392 | 392 | 'class' => return_visible_invisible($forum['visibility']) |
@@ -394,7 +394,7 @@ discard block |
||
394 | 394 | ); |
395 | 395 | $html .= Display::tag( |
396 | 396 | 'h3', |
397 | - $linkForum . ' ' . $forum_title_group_addition, |
|
397 | + $linkForum.' '.$forum_title_group_addition, |
|
398 | 398 | array( |
399 | 399 | 'class' => 'title' |
400 | 400 | ) |
@@ -410,19 +410,19 @@ discard block |
||
410 | 410 | $html .= '</div>'; |
411 | 411 | $html .= '<div class="col-md-6">'; |
412 | 412 | |
413 | - $iconEmpty=''; |
|
413 | + $iconEmpty = ''; |
|
414 | 414 | |
415 | 415 | // The number of topics and posts. |
416 | 416 | if ($forum['forum_of_group'] !== '0') { |
417 | 417 | $newPost = ''; |
418 | 418 | if (is_array($my_whatsnew_post_info) && !empty($my_whatsnew_post_info)) { |
419 | - $newPost = ' ' . Display::return_icon('alert.png', get_lang('Forum'), null, ICON_SIZE_SMALL); |
|
419 | + $newPost = ' '.Display::return_icon('alert.png', get_lang('Forum'), null, ICON_SIZE_SMALL); |
|
420 | 420 | } else { |
421 | 421 | $newPost = $iconEmpty; |
422 | 422 | } |
423 | 423 | } else { |
424 | 424 | if (is_array($my_whatsnew_post_info) && !empty($my_whatsnew_post_info)) { |
425 | - $newPost = ' ' . Display::return_icon('alert.png', get_lang('Forum'), null, ICON_SIZE_SMALL); |
|
425 | + $newPost = ' '.Display::return_icon('alert.png', get_lang('Forum'), null, ICON_SIZE_SMALL); |
|
426 | 426 | } else { |
427 | 427 | $newPost = $iconEmpty; |
428 | 428 | } |
@@ -430,7 +430,7 @@ discard block |
||
430 | 430 | |
431 | 431 | $html .= '<div class="row">'; |
432 | 432 | $html .= '<div class="col-md-2">'; |
433 | - $html .= $newPost . '</div>'; |
|
433 | + $html .= $newPost.'</div>'; |
|
434 | 434 | |
435 | 435 | // the last post in the forum |
436 | 436 | if ($forum['last_poster_name'] != '') { |
@@ -442,9 +442,9 @@ discard block |
||
442 | 442 | } |
443 | 443 | $html .= '<div class="col-md-6">'; |
444 | 444 | if (!empty($forum['last_post_id'])) { |
445 | - $html .= Display::return_icon('post-item.png', null, null, ICON_SIZE_TINY) . ' '; |
|
445 | + $html .= Display::return_icon('post-item.png', null, null, ICON_SIZE_TINY).' '; |
|
446 | 446 | $html .= api_convert_and_format_date($forum['last_post_date']) |
447 | - . ' ' . get_lang('By') . ' ' |
|
447 | + . ' '.get_lang('By').' ' |
|
448 | 448 | . display_user_link($poster_id, $name); |
449 | 449 | } |
450 | 450 | $html .= '</div>'; |
@@ -454,13 +454,13 @@ discard block |
||
454 | 454 | api_is_allowed_to_edit(false, true) && |
455 | 455 | !($forum['session_id'] == 0 && $sessionId != 0) |
456 | 456 | ) { |
457 | - $html .= '<a href="' . api_get_self() . '?' . api_get_cidreq() . '&forumcategory=' |
|
457 | + $html .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&forumcategory=' |
|
458 | 458 | . Security::remove_XSS($_GET['forumcategory']) |
459 | - . '&action=edit&content=forum&id=' . $forum['forum_id'] . '">' |
|
460 | - . Display::return_icon('edit.png', get_lang('Edit'), array(), ICON_SIZE_SMALL) . '</a>'; |
|
461 | - $html .= '<a href="' . api_get_self() . '?' . api_get_cidreq() . '&forumcategory=' |
|
459 | + . '&action=edit&content=forum&id='.$forum['forum_id'].'">' |
|
460 | + . Display::return_icon('edit.png', get_lang('Edit'), array(), ICON_SIZE_SMALL).'</a>'; |
|
461 | + $html .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&forumcategory=' |
|
462 | 462 | . Security::remove_XSS($_GET['forumcategory']) |
463 | - . '&action=delete&content=forum&id=' . $forum['forum_id'] |
|
463 | + . '&action=delete&content=forum&id='.$forum['forum_id'] |
|
464 | 464 | . "\" onclick=\"javascript:if(!confirm('" |
465 | 465 | . addslashes(api_htmlentities(get_lang('DeleteForum'), ENT_QUOTES)) |
466 | 466 | . "')) return false;\">" |
@@ -484,15 +484,15 @@ discard block |
||
484 | 484 | $iconnotify = 'notification_mail_na.png'; |
485 | 485 | |
486 | 486 | if (is_array(isset($_SESSION['forum_notification']['forum']) ? $_SESSION['forum_notification']['forum'] : null)) { |
487 | - if (in_array($forum['forum_id'],$_SESSION['forum_notification']['forum'])) { |
|
487 | + if (in_array($forum['forum_id'], $_SESSION['forum_notification']['forum'])) { |
|
488 | 488 | $iconnotify = 'notification_mail.png'; |
489 | 489 | } |
490 | 490 | } |
491 | 491 | |
492 | 492 | if (!api_is_anonymous()) { |
493 | - $html .= '<a href="' . api_get_self() . '?' . api_get_cidreq() . '&forumcategory=' |
|
494 | - . Security::remove_XSS($_GET['forumcategory']) . '&action=notify&content=forum&id=' |
|
495 | - . $forum['forum_id'] . '">' . Display::return_icon($iconnotify, get_lang('NotifyMe')) . '</a>'; |
|
493 | + $html .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&forumcategory=' |
|
494 | + . Security::remove_XSS($_GET['forumcategory']).'&action=notify&content=forum&id=' |
|
495 | + . $forum['forum_id'].'">'.Display::return_icon($iconnotify, get_lang('NotifyMe')).'</a>'; |
|
496 | 496 | } |
497 | 497 | $html .= '</div>'; |
498 | 498 | $html .= '</div>'; |
@@ -142,7 +142,7 @@ |
||
142 | 142 | |
143 | 143 | if (!api_is_allowed_to_edit(null, true) && |
144 | 144 | ( |
145 | - ($current_forum_category && $current_forum_category['locked'] <> 0 ) || |
|
145 | + ($current_forum_category && $current_forum_category['locked'] <> 0) || |
|
146 | 146 | $current_forum['locked'] <> 0 || |
147 | 147 | $current_thread['locked'] <> 0 |
148 | 148 | ) |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | // Are we in a lp ? |
29 | 29 | $origin = ''; |
30 | 30 | if (isset($_GET['origin'])) { |
31 | - $origin = Security::remove_XSS($_GET['origin']); |
|
31 | + $origin = Security::remove_XSS($_GET['origin']); |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | /* MAIN DISPLAY SECTION */ |
@@ -45,12 +45,12 @@ discard block |
||
45 | 45 | |
46 | 46 | /* Header and Breadcrumbs */ |
47 | 47 | |
48 | -if (isset($_SESSION['gradebook'])){ |
|
48 | +if (isset($_SESSION['gradebook'])) { |
|
49 | 49 | $gradebook = $_SESSION['gradebook']; |
50 | 50 | } |
51 | 51 | |
52 | 52 | if (!empty($gradebook) && $gradebook == 'view') { |
53 | - $interbreadcrumb[] = array ( |
|
53 | + $interbreadcrumb[] = array( |
|
54 | 54 | 'url' => '../gradebook/'.$_SESSION['gradebook_dest'], |
55 | 55 | 'name' => get_lang('ToolGradebook') |
56 | 56 | ); |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | echo "\t<tr>\n\t\t<th style=\"padding-left:5px;\" align=\"left\" colspan=\"6\">"; |
184 | 184 | echo '<span class="forum_title">'.prepare4display($current_thread['thread_title']).'</span><br />'; |
185 | 185 | |
186 | - if ($origin!='learnpath') { |
|
186 | + if ($origin != 'learnpath') { |
|
187 | 187 | echo '<span class="forum_low_description">'.prepare4display($current_forum_category['cat_title']).' - '; |
188 | 188 | } |
189 | 189 |
@@ -6,7 +6,7 @@ discard block |
||
6 | 6 | */ |
7 | 7 | |
8 | 8 | require_once '../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'); |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | <div class="sectioncomment"><?php echo get_lang('DescriptionRecycleCourse'); ?></div> |
41 | 41 | |
42 | 42 | <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> |
43 | -<div class="sectioncomment"><?php echo get_lang('DescriptionDeleteCourse'); ?></div> |
|
43 | +<div class="sectioncomment"><?php echo get_lang('DescriptionDeleteCourse'); ?></div> |
|
44 | 44 | |
45 | 45 | <?php |
46 | 46 | // Footer |
@@ -87,7 +87,7 @@ |
||
87 | 87 | } |
88 | 88 | |
89 | 89 | if ($pluginLegal) { |
90 | - header('Location:' .$url); |
|
90 | + header('Location:'.$url); |
|
91 | 91 | exit; |
92 | 92 | } |
93 | 93 | } |
@@ -27,12 +27,12 @@ |
||
27 | 27 | echo Display::page_subheader( |
28 | 28 | Display::return_icon( |
29 | 29 | 'save_import.gif', get_lang('Backup') |
30 | - ) . ' ' . get_lang('Backup') |
|
30 | + ).' '.get_lang('Backup') |
|
31 | 31 | ); |
32 | 32 | |
33 | 33 | $url = api_get_path( |
34 | 34 | WEB_CODE_PATH |
35 | - ) . 'coursecopy/copy_course_session_selected.php?' . api_get_cidreq(); |
|
35 | + ).'coursecopy/copy_course_session_selected.php?'.api_get_cidreq(); |
|
36 | 36 | |
37 | 37 | $link = Display::url(get_lang('CopyCourse'), $url); |
38 | 38 | ?> |
@@ -36,7 +36,7 @@ |
||
36 | 36 | Session::erase('_real_cid'); |
37 | 37 | $noPHP_SELF = true; |
38 | 38 | $message = '<h2>'.get_lang('Course').' : '.$current_course_name.' ('.$current_course_code.') </h2>'; |
39 | - $message .=get_lang('HasDel'); |
|
39 | + $message .= get_lang('HasDel'); |
|
40 | 40 | $message .= '<br /><br /><a href="../../index.php">'.get_lang('BackHome').' '.api_get_setting('siteName').'</a>'; |
41 | 41 | |
42 | 42 | } else { |
@@ -44,7 +44,7 @@ |
||
44 | 44 | $message .= '<p><a class="btn btn-primary" href="'.api_get_path(WEB_CODE_PATH).'course_info/maintenance.php?'.api_get_cidreq().'">'. |
45 | 45 | get_lang('No').'</a> <a class="btn btn-danger" href="'.api_get_self().'?delete=yes&'.api_get_cidreq().'">'. |
46 | 46 | get_lang('Yes').'</a></p>'; |
47 | - $interbreadcrumb[] = array('url' => 'maintenance.php', 'name' => get_lang('Maintenance')); |
|
47 | + $interbreadcrumb[] = array('url' => 'maintenance.php', 'name' => get_lang('Maintenance')); |
|
48 | 48 | } |
49 | 49 | Display :: display_header($tool_name, 'Settings'); |
50 | 50 | echo Display::page_header($tool_name); |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | |
31 | 31 | $htmlHeadXtra[] = to_javascript_work(); |
32 | 32 | $interbreadcrumb[] = array( |
33 | - 'url' => api_get_path(WEB_CODE_PATH) . 'work/work.php?' . api_get_cidreq(), |
|
33 | + 'url' => api_get_path(WEB_CODE_PATH).'work/work.php?'.api_get_cidreq(), |
|
34 | 34 | 'name' => get_lang('StudentPublications') |
35 | 35 | ); |
36 | 36 | $interbreadcrumb[] = array('url' => '#', 'name' => get_lang('Edit')); |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | $form = new FormValidator( |
39 | 39 | 'edit_dir', |
40 | 40 | 'post', |
41 | - api_get_path(WEB_CODE_PATH) . 'work/edit_work.php?id=' . $workId . '&' . api_get_cidreq() |
|
41 | + api_get_path(WEB_CODE_PATH).'work/edit_work.php?id='.$workId.'&'.api_get_cidreq() |
|
42 | 42 | ); |
43 | 43 | $form->addElement('header', get_lang('Edit')); |
44 | 44 |