public/main/admin/languages.php
Variable "row_td" is not in valid camel caps format Open
Open
$row_td[] = $row['original_name'];
- Exclude checks
Variable "row_td" is not in valid camel caps format Open
Open
$language_data[] = $row_td;
- Exclude checks
Variable "row_td" is not in valid camel caps format Open
Open
$row_td[] = $row['english_name'].' ('.$row['isocode'].')';
- Exclude checks
Variable "allow_add_term_sub_language" is not in valid camel caps format Open
Open
$allow_add_term_sub_language = '';
- Exclude checks
Variable "allow_add_term_sub_language" is not in valid camel caps format Open
Open
$allow_add_term_sub_language = " <a href='sub_language.php?action=registersublanguage&id=".Security::remove_XSS($all_information_of_sub_language['parent_id'])."&sub_language_id=".Security::remove_XSS($row['id'])."'>".Display::getMdiIcon(ActionIcon::VIEW_DETAILS, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Add terms to the sub-language'))."</a>";
- Exclude checks
Variable "language_info" is not in valid camel caps format Open
Open
if (1 == $language_info['available']) {
- Exclude checks
Variable "allow_use_sub_language" is not in valid camel caps format Open
Open
".$setplatformlanguage.$allow_use_sub_language.$allow_add_term_sub_language.$allow_delete_sub_language;
- Exclude checks
Variable "form_actions" is not in valid camel caps format Open
Open
$form_actions = [];
- Exclude checks
Variable "row_td" is not in valid camel caps format Open
Open
$row_td = [];
- Exclude checks
Variable "allow_add_term_sub_language" is not in valid camel caps format Open
Open
$allow_add_term_sub_language = null;
- Exclude checks
Variable "allow_add_term_sub_language" is not in valid camel caps format Open
Open
$allow_add_term_sub_language = '';
- Exclude checks
Variable "allow_add_term_sub_language" is not in valid camel caps format Open
Open
".$setplatformlanguage.$allow_use_sub_language.$allow_add_term_sub_language.$allow_delete_sub_language;
- Exclude checks
Variable "row_td" is not in valid camel caps format Open
Open
$row_td[] = "<a class=\"make_visible_and_invisible\" id=\"linktool_".$row['id']."\" href='".api_get_self()."?action=$action&id=".$row['id']."'>".
- Exclude checks
Variable "allow_add_term_sub_language" is not in valid camel caps format Open
Open
".$setplatformlanguage.$allow_use_sub_language.$allow_add_term_sub_language.$allow_delete_sub_language;
- Exclude checks
Variable "tbl_admin_languages" is not in valid camel caps format Open
Open
$sql = "UPDATE $tbl_admin_languages SET available='0' WHERE id IN ('".implode("','", $ids)."')";
- Exclude checks
Variable "allow_delete_sub_language" is not in valid camel caps format Open
Open
$allow_delete_sub_language = null;
- Exclude checks
Variable "allow_use_sub_language" is not in valid camel caps format Open
Open
$allow_use_sub_language = " <a href='sub_language_add.php?action=definenewsublanguage&id=".$row['id']."'>".
- Exclude checks
Variable "allow_use_sub_language" is not in valid camel caps format Open
Open
$allow_use_sub_language = '';
- Exclude checks
Variable "allow_delete_sub_language" is not in valid camel caps format Open
Open
".$setplatformlanguage.$allow_use_sub_language.$allow_add_term_sub_language.$allow_delete_sub_language;
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_PLATFORM_ADMIN;
- Exclude checks
Variable "tbl_admin_languages" is not in valid camel caps format Open
Open
$sql = "UPDATE $tbl_admin_languages SET original_name='$name'
- Exclude checks
Variable "allow_add_term_sub_language" is not in valid camel caps format Open
Open
$allow_add_term_sub_language = '';
- Exclude checks
Variable "verified_if_is_father" is not in valid camel caps format Open
Open
$verified_if_is_father = SubLanguageManager::check_if_language_is_father($row['id']);
- Exclude checks
Variable "form_actions" is not in valid camel caps format Open
Open
$form_actions['makeunavailable'] = get_lang('Make unavailable');
- Exclude checks
Variable "sql_select" is not in valid camel caps format Open
Open
$sql_select = "SELECT * FROM $tbl_admin_languages";
- Exclude checks
Variable "language_data" is not in valid camel caps format Open
Open
$table = new SortableTableFromArrayConfig($language_data, 1, count($language_data));
- Exclude checks
Variable "tbl_admin_languages" is not in valid camel caps format Open
Open
$sql = "UPDATE $tbl_admin_languages SET available='1' WHERE id IN ('".implode("','", $ids)."')";
- Exclude checks
Variable "verified_if_is_sub_language" is not in valid camel caps format Open
Open
$verified_if_is_sub_language = SubLanguageManager::check_if_language_is_sub_language($row['id']);
- Exclude checks
Variable "language_data" is not in valid camel caps format Open
Open
$language_data[] = $row_td;
- Exclude checks
Variable "form_actions" is not in valid camel caps format Open
Open
$form_actions['makeavailable'] = get_lang('Make available');
- Exclude checks
Variable "form_actions" is not in valid camel caps format Open
Open
$table->set_form_actions($form_actions);
- Exclude checks
Variable "result_select" is not in valid camel caps format Open
Open
$result_select = Database::query($sql_select);
- Exclude checks
Variable "sql_select" is not in valid camel caps format Open
Open
$result_select = Database::query($sql_select);
- Exclude checks
Variable "allow_delete_sub_language" is not in valid camel caps format Open
Open
".$setplatformlanguage.$allow_use_sub_language.$allow_add_term_sub_language.$allow_delete_sub_language;
- Exclude checks
Variable "tbl_settings_current" is not in valid camel caps format Open
Open
$tbl_settings_current = Database::get_main_table(TABLE_MAIN_SETTINGS);
- Exclude checks
Variable "platform_language" is not in valid camel caps format Open
Open
UserManager::update_all_user_languages($language_info['english_name'], $platform_language);
- Exclude checks
Variable "tbl_admin_languages" is not in valid camel caps format Open
Open
$sql_select = "SELECT * FROM $tbl_admin_languages";
- Exclude checks
Variable "language_data" is not in valid camel caps format Open
Open
$language_data = [];
- Exclude checks
Variable "all_information_of_sub_language" is not in valid camel caps format Open
Open
$all_information_of_sub_language = SubLanguageManager::get_all_information_of_language($row['id']);
- Exclude checks
Variable "all_information_of_sub_language" is not in valid camel caps format Open
Open
$allow_add_term_sub_language = " <a href='sub_language.php?action=registersublanguage&id=".Security::remove_XSS($all_information_of_sub_language['parent_id'])."&sub_language_id=".Security::remove_XSS($row['id'])."'>".Display::getMdiIcon(ActionIcon::VIEW_DETAILS, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Add terms to the sub-language'))."</a>";
- Exclude checks
Variable "allow_delete_sub_language" is not in valid camel caps format Open
Open
$allow_delete_sub_language = " <a href='sub_language_add.php?action=deletesublanguage&id=".Security::remove_XSS($all_information_of_sub_language['parent_id'])."&sub_language_id=".Security::remove_XSS($row['id'])."'>".Display::getMdiIcon(ActionIcon::DELETE, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Delete sub-language'))."</a>";
- Exclude checks
Variable "allow_use_sub_language" is not in valid camel caps format Open
Open
".$setplatformlanguage.$allow_use_sub_language.$allow_add_term_sub_language.$allow_delete_sub_language;
- Exclude checks
Variable "row_td" is not in valid camel caps format Open
Open
$row_td[] = $row['id'];
- Exclude checks
Variable "row_td" is not in valid camel caps format Open
Open
$row_td[] = Display::getMdiIcon(StateIcon::ACTIVE, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Visible')).
- Exclude checks
Variable "language_info" is not in valid camel caps format Open
Open
$language_info = SubLanguageManager::get_all_information_of_language($id);
- Exclude checks
Variable "result_select" is not in valid camel caps format Open
Open
while ($row = Database::fetch_array($result_select)) {
- Exclude checks
Variable "verified_if_is_sub_language" is not in valid camel caps format Open
Open
if (false === $verified_if_is_sub_language) {
- Exclude checks
Variable "language_data" is not in valid camel caps format Open
Open
$table = new SortableTableFromArrayConfig($language_data, 1, count($language_data));
- Exclude checks
Variable "tbl_admin_languages" is not in valid camel caps format Open
Open
$tbl_admin_languages = Database::get_main_table(TABLE_MAIN_LANGUAGE);
- Exclude checks
Variable "platform_language" is not in valid camel caps format Open
Open
$platform_language = api_get_setting('platformLanguage');
- Exclude checks
Variable "allow_use_sub_language" is not in valid camel caps format Open
Open
$allow_use_sub_language = '';
- Exclude checks
Variable "all_information_of_sub_language" is not in valid camel caps format Open
Open
$allow_delete_sub_language = " <a href='sub_language_add.php?action=deletesublanguage&id=".Security::remove_XSS($all_information_of_sub_language['parent_id'])."&sub_language_id=".Security::remove_XSS($row['id'])."'>".Display::getMdiIcon(ActionIcon::DELETE, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Delete sub-language'))."</a>";
- Exclude checks
Variable "language_info" is not in valid camel caps format Open
Open
UserManager::update_all_user_languages($language_info['english_name'], $platform_language);
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
$tool_name = get_lang('Chamilo Portal Languages');
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
Display::display_header($tool_name);
- Exclude checks
Variable "row_td" is not in valid camel caps format Open
Open
$row_td[] = '
- Exclude checks
Variable "verified_if_is_father" is not in valid camel caps format Open
Open
if (true === $verified_if_is_father) {
- Exclude checks