main/document/create_audio.php 1 location
|
@@ 75-78 (lines=4) @@
|
72 |
|
|
73 |
|
$filepath = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document'.$dir; |
74 |
|
|
75 |
|
if (!is_dir($filepath)) { |
76 |
|
$filepath = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document/'; |
77 |
|
$dir = '/'; |
78 |
|
} |
79 |
|
|
80 |
|
//groups //TODO: clean |
81 |
|
if (!empty($groupId)) { |
main/document/create_draw.php 1 location
|
@@ 66-69 (lines=4) @@
|
63 |
|
|
64 |
|
$filepath = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document'.$dir; |
65 |
|
|
66 |
|
if (!is_dir($filepath)) { |
67 |
|
$filepath = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document/'; |
68 |
|
$dir = '/'; |
69 |
|
} |
70 |
|
|
71 |
|
$groupId = api_get_group_id(); |
72 |
|
|
main/document/edit_draw.php 1 location
|
@@ 75-78 (lines=4) @@
|
72 |
|
|
73 |
|
$filepath = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document'.$dir; |
74 |
|
|
75 |
|
if (!is_dir($filepath)) { |
76 |
|
$filepath = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document/'; |
77 |
|
$dir = '/'; |
78 |
|
} |
79 |
|
|
80 |
|
//groups //TODO:clean |
81 |
|
if (!empty($group_id)) { |
main/document/edit_paint.php 1 location
|
@@ 81-84 (lines=4) @@
|
78 |
|
|
79 |
|
$filepath = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document'.$dir; |
80 |
|
|
81 |
|
if (!is_dir($filepath)) { |
82 |
|
$filepath = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document/'; |
83 |
|
$dir = '/'; |
84 |
|
} |
85 |
|
|
86 |
|
//groups //TODO:clean |
87 |
|
if (!empty($groupId)) { |
main/document/record_audio.php 1 location
|
@@ 66-69 (lines=4) @@
|
63 |
|
|
64 |
|
$filepath = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document'.$dir; |
65 |
|
|
66 |
|
if (!is_dir($filepath)) { |
67 |
|
$filepath = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document/'; |
68 |
|
$dir = '/'; |
69 |
|
} |
70 |
|
|
71 |
|
if (!empty($groupId)) { |
72 |
|
$interbreadcrumb[] = array ("url" => "../group/group_space.php?".api_get_cidreq(), "name" => get_lang('GroupSpace')); |
main/document/record_audio_wami.php 1 location
|
@@ 65-68 (lines=4) @@
|
62 |
|
|
63 |
|
$filepath = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document'.$dir; |
64 |
|
|
65 |
|
if (!is_dir($filepath)) { |
66 |
|
$filepath = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document/'; |
67 |
|
$dir = '/'; |
68 |
|
} |
69 |
|
|
70 |
|
//groups //TODO: clean |
71 |
|
if (!empty($groupId)) { |
main/document/webcam_clip.php 1 location
|
@@ 63-66 (lines=4) @@
|
60 |
|
|
61 |
|
$filepath = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document'.$dir; |
62 |
|
|
63 |
|
if (!is_dir($filepath)) { |
64 |
|
$filepath = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document/'; |
65 |
|
$dir = '/'; |
66 |
|
} |
67 |
|
|
68 |
|
$groupId = api_get_group_id(); |
69 |
|
|
main/document/create_paint.php 1 location
|
@@ 70-73 (lines=4) @@
|
67 |
|
|
68 |
|
$filepath = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document'.$dir; |
69 |
|
|
70 |
|
if (!is_dir($filepath)) { |
71 |
|
$filepath = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document/'; |
72 |
|
$dir = '/'; |
73 |
|
} |
74 |
|
|
75 |
|
$groupId = api_get_group_id(); |
76 |
|
|
main/document/create_document.php 1 location
|
@@ 204-207 (lines=4) @@
|
201 |
|
|
202 |
|
$filepath = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document'; |
203 |
|
|
204 |
|
if (!is_dir($filepath)) { |
205 |
|
$filepath = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document/'; |
206 |
|
$dir = '/'; |
207 |
|
} |
208 |
|
|
209 |
|
$to_group_id = 0; |
210 |
|
|
main/newscorm/learnpath.class.php 2 locations
|
@@ 6009-6012 (lines=4) @@
|
6006 |
|
$filepath = $result['filepath']; |
6007 |
|
} |
6008 |
|
|
6009 |
|
if (!is_dir($filepath)) { |
6010 |
|
$filepath = api_get_path(SYS_COURSE_PATH) . $courseInfo['path'] . '/document/'; |
6011 |
|
$dir = '/'; |
6012 |
|
} |
6013 |
|
|
6014 |
|
// stripslashes() before calling api_replace_dangerous_char() because $_POST['title'] |
6015 |
|
// is already escaped twice when it gets here. |
|
@@ 6151-6154 (lines=4) @@
|
6148 |
|
|
6149 |
|
$filepath = api_get_path(SYS_COURSE_PATH) . $_course['path'] . '/document' . $dir; |
6150 |
|
|
6151 |
|
if (!is_dir($filepath)) { |
6152 |
|
$filepath = api_get_path(SYS_COURSE_PATH) . $_course['path'] . '/document/'; |
6153 |
|
$dir = '/'; |
6154 |
|
} |
6155 |
|
|
6156 |
|
$table_doc = Database :: get_course_table(TABLE_DOCUMENT); |
6157 |
|
if (isset($_POST['path']) && !empty($_POST['path'])) { |