|
|
|
@ -415,6 +415,7 @@ function & get_language_folder_list() |
|
|
|
|
closedir($handle); |
|
|
|
|
asort($result); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return $result; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -880,7 +881,7 @@ function display_requirements( |
|
|
|
|
if ($file_course_test_was_created == true) { |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
$r = @touch($course_dir.'/test.php',$perm); |
|
|
|
|
$r = @touch($course_dir.'/test.php', $perm); |
|
|
|
|
if ($r === true) { |
|
|
|
|
$fil_perm_verified = $perm; |
|
|
|
|
if (check_course_script_interpretation($course_dir, $course_attempt_name, 'test.php')) { |
|
|
|
@ -1252,7 +1253,7 @@ function get_contact_registration_form() |
|
|
|
|
<div class="col-sm-3"> </div> |
|
|
|
|
<div class="col-sm-9"><span class="form_required">*</span><small>'.get_lang('FieldRequired').'</small></div> |
|
|
|
|
</div></div></div> |
|
|
|
|
</form>'; |
|
|
|
|
</form>'; |
|
|
|
|
|
|
|
|
|
return $html; |
|
|
|
|
} |
|
|
|
@ -1295,9 +1296,7 @@ function displayDatabaseParameter( |
|
|
|
|
echo '<div class="col-sm-5"><input type="' . $inputType . '" class="form-control" size="' . DATABASE_FORM_FIELD_DISPLAY_LENGTH . '" maxlength="' . $maxLength . '" name="' . $formFieldName . '" id="' . $formFieldName . '" value="' . api_htmlentities($parameterValue) . '" />' . "</div>"; |
|
|
|
|
echo '<div class="col-sm-3">' . $extra_notice . '</div>'; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -1473,6 +1472,7 @@ function display_database_settings_form( |
|
|
|
|
|
|
|
|
|
<?php |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function panel($content = null, $title = null, $id = null, $style = null) { |
|
|
|
|
$html = ''; |
|
|
|
|
if (empty($style)) { |
|
|
|
@ -1489,6 +1489,7 @@ function panel($content = null, $title = null, $id = null, $style = null) { |
|
|
|
|
$html .= $panelParent; |
|
|
|
|
return $html; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Displays a parameter in a table row. |
|
|
|
|
* Used by the display_configuration_settings_form function. |
|
|
|
@ -1513,6 +1514,7 @@ function display_configuration_parameter( |
|
|
|
|
$html .= '<div class="col-sm-6"><input class="form-control" type="text" size="'.FORM_FIELD_DISPLAY_LENGTH.'" maxlength="'.MAX_FORM_FIELD_LENGTH.'" name="'.$formFieldName.'" value="'.api_htmlentities($parameterValue, ENT_QUOTES).'" />'."</div>"; |
|
|
|
|
} |
|
|
|
|
$html .= "</div>"; |
|
|
|
|
|
|
|
|
|
return $html; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -2225,6 +2227,7 @@ function installProfileSettings($installationProfile = '') |
|
|
|
|
|
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Quick function to remove a directory with its subdirectories |
|
|
|
|
* @param $dir |
|
|
|
|