@ -41,8 +41,6 @@ $formSent = 0;
$errorMsg = $firstLetterUser = $firstLetterSession = '';
$UserList = $SessionList = array();
$users = $sessions = array();
$noPHP_SELF = true;
$page = intval($_GET['page']);
$action = $_REQUEST['action'];
@ -76,7 +76,6 @@ if ($geolocalization) {
$htmlHeadXtra[] = api_get_css_asset('cropper/dist/cropper.min.css');
$htmlHeadXtra[] = api_get_asset('cropper/dist/cropper.min.js');
$tool_name = get_lang('ModifyUserInfo');
$interbreadcrumb[] = array('url' => 'index.php', "name" => get_lang('PlatformAdmin'));
@ -35,7 +35,6 @@ if (isset($_GET['delete']) && $_GET['delete'] === 'yes') {
// DELETE CONFIRMATION MESSAGE
Session::erase('_cid');
Session::erase('_real_cid');
$message = '<h2>'.get_lang('Course').' : '.$current_course_name.' ('.$current_course_code.') </h2>';
$message .= get_lang('HasDel');
$message .= '<br /><br /><a href="../../index.php">'.get_lang('BackHome').'</a>';
@ -203,7 +203,6 @@ if (!$is_certificate_mode) {
"url" => "../group/group_space.php?".api_get_cidreq(),
"name" => get_lang('GroupSpace'),
);
$path = explode('/', $dir);
if ('/'.$path[1] != $group_properties['directory']) {
api_not_allowed(true);
@ -88,7 +88,6 @@ if (!empty($groupId)) {
"name" => get_lang('GroupSpace')
$group = GroupManager :: get_group_properties($groupId);
if ('/'.$path[1] != $group['directory']) {
@ -80,7 +80,6 @@ if (!empty($groupId)) {
"url" => api_get_path(WEB_CODE_PATH)."group/group_space.php?".api_get_cidreq(),
$group = GroupManager::get_group_properties($groupId);
@ -91,7 +91,6 @@ if (!empty($group_id)) {
'name' => get_lang('GroupSpace'),
$group_document = true;
}
$is_certificate_mode = DocumentManager::is_certificate_mode($dir);
@ -86,7 +86,6 @@ if (!empty($groupId)) {
@ -77,7 +77,6 @@ if (!is_dir($filepath)) {
//groups //TODO: clean
if (!empty($groupId)) {
$interbreadcrumb[] = array("url" => "../group/group_space.php?".api_get_cidreq(), "name" => get_lang('GroupSpace'));
@ -10,7 +10,6 @@ require_once __DIR__.'/../inc/global.inc.php';
// Protection
api_protect_course_script(true);
$header_file = isset($_GET['file']) ? Security::remove_XSS($_GET['file']) : null;
$document_id = intval($_GET['id']);
@ -24,7 +24,6 @@ require_once __DIR__.'/../inc/global.inc.php';
api_protect_course_script();
$originIsLearnpath = isset($_GET['origin']) && $_GET['origin'] === 'learnpathitem';
@ -12,7 +12,6 @@ use ChamiloSession as Session;
require_once __DIR__.'/../inc/global.inc.php';
$path = Security::remove_XSS($_GET['curdirpath']);
$pathurl = urlencode($path);
$slide_id = isset($_GET['slide_id']) ? Security::remove_XSS($_GET['slide_id']) : null;
@ -82,7 +82,6 @@ if (!empty($groupId)) {
@ -310,8 +310,6 @@ if (!$exerciseId && $nameTools != get_lang('ExerciseManagement')) {
if ($modifyIn == 'thisExercise') {
if ($buttonBack) {
$modifyIn = 'allExercises';
} else {
$htmlHeadXtra[] = '<script>
@ -73,8 +73,6 @@ if ($title == '') {
$title = basename($my_file);
$nameTools = $title;
$htmlHeadXtra[] = /** @lang HTML */<<<HTML
<script>
$(document).on('ready', function () {
@ -317,8 +317,6 @@ $form_sent = 0;
$sessions = array();
if (isset($_POST['form_sent']) && $_POST['form_sent']) {
$form_sent = $_POST['form_sent'];
$firstLetterUser = isset($_POST['firstLetterUser']) ? $_POST['firstLetterUser'] : '';
@ -10,7 +10,6 @@
/**
* Just display the form needed to upload a SCORM and give its settings
*/
$noPHP_SELF = false;
$nameTools = get_lang('FileUpload');
$interbreadcrumb[] = array("url"=>"../lp/lp_controller.php?action=list", "name"=> get_lang(TOOL_DOCUMENT));
Display::display_header($nameTools, "Doc");
@ -40,13 +40,10 @@ if (!$is_allowed_to_edit) {
//what's the current path?
$path = '/';
if (isset($_REQUEST['curdirpath'])) {
$path = $_REQUEST['curdirpath'];
$toolFromSession = Session::read('my_tool');
@ -14,7 +14,6 @@ $_course = api_get_course_info();
$courseDir = $_course['path']."/document";
$sys_course_path = api_get_path(SYS_COURSE_PATH);
$base_work_dir = $sys_course_path.$courseDir;
$max_filled_space = DocumentManager::get_course_quota();
@ -268,8 +268,6 @@ if ($allowTutors == 'true') {
$firstLetterUser = $firstLetterSession = '';
$firstLetterUser = $_POST['firstLetterUser'];