main/admin/access_url_edit_course_category_to_url.php 2 locations
|
@@ 31-33 (lines=3) @@
|
28 |
|
$interbreadcrumb[] = array ('url' => 'access_urls.php', 'name' => get_lang('MultipleAccessURLs')); |
29 |
|
|
30 |
|
$add_type = 'multiple'; |
31 |
|
if (isset($_REQUEST['add_type']) && $_REQUEST['add_type'] != '') { |
32 |
|
$add_type = Security::remove_XSS($_REQUEST['add_type']); |
33 |
|
} |
34 |
|
|
35 |
|
$access_url_id = 1; |
36 |
|
if (isset($_REQUEST['access_url_id']) && $_REQUEST['access_url_id'] != '') { |
|
@@ 36-38 (lines=3) @@
|
33 |
|
} |
34 |
|
|
35 |
|
$access_url_id = 1; |
36 |
|
if (isset($_REQUEST['access_url_id']) && $_REQUEST['access_url_id'] != '') { |
37 |
|
$access_url_id = Security::remove_XSS($_REQUEST['access_url_id']); |
38 |
|
} |
39 |
|
|
40 |
|
$xajax->processRequests(); |
41 |
|
$htmlHeadXtra[] = $xajax->getJavascript('../inc/lib/xajax/'); |
main/admin/access_url_edit_courses_to_url.php 2 locations
|
@@ 38-40 (lines=3) @@
|
35 |
|
$interbreadcrumb[] = array('url' => 'access_urls.php', 'name' => get_lang('MultipleAccessURLs')); |
36 |
|
|
37 |
|
$add_type = 'multiple'; |
38 |
|
if (isset($_REQUEST['add_type']) && $_REQUEST['add_type']!='') { |
39 |
|
$add_type = Security::remove_XSS($_REQUEST['add_type']); |
40 |
|
} |
41 |
|
|
42 |
|
$access_url_id = 1; |
43 |
|
if (isset($_REQUEST['access_url_id']) && $_REQUEST['access_url_id']!='') { |
|
@@ 43-45 (lines=3) @@
|
40 |
|
} |
41 |
|
|
42 |
|
$access_url_id = 1; |
43 |
|
if (isset($_REQUEST['access_url_id']) && $_REQUEST['access_url_id']!='') { |
44 |
|
$access_url_id = Security::remove_XSS($_REQUEST['access_url_id']); |
45 |
|
} |
46 |
|
|
47 |
|
$xajax -> processRequests(); |
48 |
|
$htmlHeadXtra[] = $xajax->getJavascript('../inc/lib/xajax/'); |
main/admin/access_url_edit_usergroup_to_url.php 2 locations
|
@@ 32-34 (lines=3) @@
|
29 |
|
$interbreadcrumb[] = array ('url' => 'access_urls.php', 'name' => get_lang('MultipleAccessURLs')); |
30 |
|
|
31 |
|
$add_type = 'multiple'; |
32 |
|
if (isset($_REQUEST['add_type']) && $_REQUEST['add_type'] != '') { |
33 |
|
$add_type = Security::remove_XSS($_REQUEST['add_type']); |
34 |
|
} |
35 |
|
|
36 |
|
$access_url_id = 1; |
37 |
|
if (isset($_REQUEST['access_url_id']) && $_REQUEST['access_url_id'] != '') { |
|
@@ 37-39 (lines=3) @@
|
34 |
|
} |
35 |
|
|
36 |
|
$access_url_id = 1; |
37 |
|
if (isset($_REQUEST['access_url_id']) && $_REQUEST['access_url_id'] != '') { |
38 |
|
$access_url_id = Security::remove_XSS($_REQUEST['access_url_id']); |
39 |
|
} |
40 |
|
|
41 |
|
$xajax->processRequests(); |
42 |
|
$htmlHeadXtra[] = $xajax->getJavascript('../inc/lib/xajax/'); |
main/admin/access_url_edit_users_to_url.php 2 locations
|
@@ 39-41 (lines=3) @@
|
36 |
|
$interbreadcrumb[] = array('url' => 'access_urls.php', 'name' => get_lang('MultipleAccessURLs')); |
37 |
|
|
38 |
|
$add_type = 'multiple'; |
39 |
|
if (isset($_REQUEST['add_type']) && $_REQUEST['add_type'] != '') { |
40 |
|
$add_type = Security::remove_XSS($_REQUEST['add_type']); |
41 |
|
} |
42 |
|
|
43 |
|
$access_url_id = 1; |
44 |
|
if (isset($_REQUEST['access_url_id']) && $_REQUEST['access_url_id'] != '') { |
|
@@ 44-46 (lines=3) @@
|
41 |
|
} |
42 |
|
|
43 |
|
$access_url_id = 1; |
44 |
|
if (isset($_REQUEST['access_url_id']) && $_REQUEST['access_url_id'] != '') { |
45 |
|
$access_url_id = Security::remove_XSS($_REQUEST['access_url_id']); |
46 |
|
} |
47 |
|
|
48 |
|
$xajax->processRequests(); |
49 |
|
$htmlHeadXtra[] = $xajax->getJavascript('../inc/lib/xajax/'); |
main/admin/add_courses_to_usergroup.php 1 location
|
@@ 29-31 (lines=3) @@
|
26 |
|
$tool_name = get_lang('SubscribeClassToCourses'); |
27 |
|
|
28 |
|
$add_type = 'multiple'; |
29 |
|
if (isset($_REQUEST['add_type']) && $_REQUEST['add_type']!=''){ |
30 |
|
$add_type = Security::remove_XSS($_REQUEST['add_type']); |
31 |
|
} |
32 |
|
|
33 |
|
$add = isset($_GET['add']) ? Security::remove_XSS($_GET['add']) : null; |
34 |
|
|
main/admin/add_sessions_to_promotion.php 1 location
|
@@ 28-30 (lines=3) @@
|
25 |
|
// Setting the name of the tool |
26 |
|
$tool_name = get_lang('SubscribeSessionsToPromotions'); |
27 |
|
$add_type = 'multiple'; |
28 |
|
if (isset($_REQUEST['add_type']) && $_REQUEST['add_type']!=''){ |
29 |
|
$add_type = Security::remove_XSS($_REQUEST['add_type']); |
30 |
|
} |
31 |
|
|
32 |
|
$htmlHeadXtra[] = $xajax->getJavascript('../inc/lib/xajax/'); |
33 |
|
$htmlHeadXtra[] = '<script> |
main/admin/add_sessions_to_usergroup.php 1 location
|
@@ 33-35 (lines=3) @@
|
30 |
|
$tool_name=get_lang('SubscribeClassToSessions'); |
31 |
|
|
32 |
|
$add_type = 'multiple'; |
33 |
|
if(isset($_REQUEST['add_type']) && $_REQUEST['add_type']!=''){ |
34 |
|
$add_type = Security::remove_XSS($_REQUEST['add_type']); |
35 |
|
} |
36 |
|
|
37 |
|
$htmlHeadXtra[] = $xajax->getJavascript('../inc/lib/xajax/'); |
38 |
|
$htmlHeadXtra[] = '<script> |
main/admin/add_users_to_group.php 1 location
|
@@ 36-38 (lines=3) @@
|
33 |
|
$without_user_id = null; |
34 |
|
|
35 |
|
$add_type = 'multiple'; |
36 |
|
if (isset($_REQUEST['add_type']) && $_REQUEST['add_type'] != '') { |
37 |
|
$add_type = Security::remove_XSS($_REQUEST['add_type']); |
38 |
|
} |
39 |
|
|
40 |
|
//checking for extra field with filter on |
41 |
|
$xajax = new xajax(); |
main/admin/dashboard_add_courses_to_user.php 1 location
|
@@ 47-49 (lines=3) @@
|
44 |
|
} |
45 |
|
|
46 |
|
$add_type = 'multiple'; |
47 |
|
if(isset($_GET['add_type']) && $_GET['add_type']!='') { |
48 |
|
$add_type = Security::remove_XSS($_REQUEST['add_type']); |
49 |
|
} |
50 |
|
|
51 |
|
if (!api_is_platform_admin()) { |
52 |
|
api_not_allowed(true); |
main/admin/dashboard_add_sessions_to_user.php 1 location
|
@@ 49-51 (lines=3) @@
|
46 |
|
} |
47 |
|
|
48 |
|
$add_type = 'multiple'; |
49 |
|
if (isset($_GET['add_type']) && $_GET['add_type']!='') { |
50 |
|
$add_type = Security::remove_XSS($_REQUEST['add_type']); |
51 |
|
} |
52 |
|
|
53 |
|
if (!api_is_platform_admin() && !api_is_session_admin()) { |
54 |
|
api_not_allowed(true); |
main/admin/dashboard_add_users_to_user.php 1 location
|
@@ 56-58 (lines=3) @@
|
53 |
|
} |
54 |
|
|
55 |
|
$add_type = 'multiple'; |
56 |
|
if (isset($_GET['add_type']) && $_GET['add_type']!='') { |
57 |
|
$add_type = Security::remove_XSS($_REQUEST['add_type']); |
58 |
|
} |
59 |
|
|
60 |
|
if (!api_is_platform_admin()) { |
61 |
|
api_not_allowed(true); |
main/session/add_courses_to_session.php 1 location
|
@@ 40-42 (lines=3) @@
|
37 |
|
$tool_name= get_lang('SubscribeCoursesToSession'); |
38 |
|
|
39 |
|
$add_type = 'multiple'; |
40 |
|
if (isset($_GET['add_type']) && $_GET['add_type']!=''){ |
41 |
|
$add_type = Security::remove_XSS($_REQUEST['add_type']); |
42 |
|
} |
43 |
|
|
44 |
|
$page = isset($_GET['page']) ? Security::remove_XSS($_GET['page']) : null; |
45 |
|
|
main/session/add_many_session_to_category.php 1 location
|
@@ 37-39 (lines=3) @@
|
34 |
|
SessionManager::protectSession($id_session); |
35 |
|
|
36 |
|
$add_type = 'multiple'; |
37 |
|
if (isset($_GET['add_type']) && $_GET['add_type'] != '') { |
38 |
|
$add_type = Security::remove_XSS($_REQUEST['add_type']); |
39 |
|
} |
40 |
|
|
41 |
|
if (!api_is_platform_admin() && !api_is_session_admin()) { |
42 |
|
$sql = 'SELECT session_admin_id FROM ' . Database:: get_main_table(TABLE_MAIN_SESSION) . ' WHERE id=' . $id_session; |
main/session/add_students_to_session.php 1 location
|
@@ 22-24 (lines=3) @@
|
19 |
|
// Setting the name of the tool |
20 |
|
$tool_name = get_lang('SubscribeStudentsToSession'); |
21 |
|
$add_type = 'multiple'; |
22 |
|
if (isset($_REQUEST['add_type']) && $_REQUEST['add_type']!='') { |
23 |
|
$add_type = Security::remove_XSS($_REQUEST['add_type']); |
24 |
|
} |
25 |
|
$form_sent = 0; |
26 |
|
$errorMsg = ''; |
27 |
|
$users = $sessions = array(); |
main/session/add_users_to_session.php 1 location
|
@@ 40-42 (lines=3) @@
|
37 |
|
$tool_name = get_lang('SubscribeUsersToSession'); |
38 |
|
$add_type = 'unique'; |
39 |
|
|
40 |
|
if (isset($_REQUEST['add_type']) && $_REQUEST['add_type'] != '') { |
41 |
|
$add_type = Security::remove_XSS($_REQUEST['add_type']); |
42 |
|
} |
43 |
|
|
44 |
|
$page = isset($_GET['page']) ? Security::remove_XSS($_GET['page']) : null; |
45 |
|
|
main/user/add_users_to_session.php 1 location
|
@@ 41-43 (lines=3) @@
|
38 |
|
$tool_name = get_lang('SubscribeUsersToSession'); |
39 |
|
$add_type = 'unique'; |
40 |
|
|
41 |
|
if (isset($_REQUEST['add_type']) && $_REQUEST['add_type']!='') { |
42 |
|
$add_type = Security::remove_XSS($_REQUEST['add_type']); |
43 |
|
} |
44 |
|
|
45 |
|
$page = isset($_GET['page']) ? Security::remove_XSS($_GET['page']) : null; |
46 |
|
|