public/main/admin/sub_language_add.php
Variable "language_name" is not in valid camel caps format Open
Open
$language_name = $language_details['original_name'];
- Exclude checks
Variable "original_name" is not in valid camel caps format Open
Open
$original_name = $get_all_information['original_name'];
- Exclude checks
Variable "get_all_information" is not in valid camel caps format Open
Open
$original_name = $get_all_information['original_name'];
- Exclude checks
Variable "english_name" is not in valid camel caps format Open
Open
get_lang('Already exists').' "'.get_lang('English name').'" '.'('.$english_name.')',
- Exclude checks
Variable "language_name" is not in valid camel caps format Open
Open
$language_name = get_lang('Delete sub-language');
- Exclude checks
Variable "english_name" is not in valid camel caps format Open
Open
$english_name = str_replace(' ', '_', $english_name);
- Exclude checks
Variable "index_information" is not in valid camel caps format Open
Open
if ('execute_add' == $index_information && true === $value_information) {
- Exclude checks
Variable "mkdir_result" is not in valid camel caps format Open
Open
$mkdir_result = SubLanguageManager::addPoFileForSubLanguage($isocode);
- Exclude checks
Variable "language_name" is not in valid camel caps format Open
Open
$language_name = SubLanguageManager::get_name_of_language_by_id($_GET['sub_language_id']);
- Exclude checks
Variable "sub_language_id_exist" is not in valid camel caps format Open
Open
$sub_language_id_exist = false;
- Exclude checks
Variable "language_details" is not in valid camel caps format Open
Open
$language_name = $language_details['original_name'];
- Exclude checks
Variable "index_information" is not in valid camel caps format Open
Open
if ('english_name' == $index_information) {
- Exclude checks
Variable "english_name" is not in valid camel caps format Open
Open
$english_name = str_replace(' ', '_', $english_name);
- Exclude checks
Variable "language_id_exist" is not in valid camel caps format Open
Open
$language_id_exist = false;
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
$tool_name = get_lang('Create sub-language');
- Exclude checks
Variable "language_name" is not in valid camel caps format Open
Open
$language_name = '';
- Exclude checks
Variable "language_details" is not in valid camel caps format Open
Open
$language_details = SubLanguageManager::get_all_information_of_language($_GET['id']);
- Exclude checks
Variable "str_info" is not in valid camel caps format Open
Open
$str_info = '<br/>'.get_lang('Original name').' : '.$original_name.'<br/>'.get_lang('English name').' : '.$english_name.'<br/>'.get_lang('Character set').' : '.$isocode;
- Exclude checks
Variable "english_name" is not in valid camel caps format Open
Open
$str_info = '<br/>'.get_lang('Original name').' : '.$original_name.'<br/>'.get_lang('English name').' : '.$english_name.'<br/>'.get_lang('Character set').' : '.$isocode;
- Exclude checks
Variable "language_name" is not in valid camel caps format Open
Open
Display:: display_header($language_name);
- Exclude checks
Variable "language_details" is not in valid camel caps format Open
Open
$language_details = [];
- Exclude checks
Variable "english_name" is not in valid camel caps format Open
Open
$english_name = $_POST['english_name'];
- Exclude checks
Variable "english_name" is not in valid camel caps format Open
Open
$english_name = str_replace(' ', '_', $english_name);
- Exclude checks
Variable "index_information" is not in valid camel caps format Open
Open
if ('isocode' == $index_information) {
- Exclude checks
Variable "english_name" is not in valid camel caps format Open
Open
$english_name = str_replace(' ', '_', $english_name);
- Exclude checks
Variable "english_name" is not in valid camel caps format Open
Open
$english_name = api_strtolower($english_name);
- Exclude checks
Variable "sl_id" is not in valid camel caps format Open
Open
api_location(api_get_path(WEB_CODE_PATH).'admin/languages.php?sub_language_id='.$sl_id);
- Exclude checks
Variable "language_id_exist" is not in valid camel caps format Open
Open
if (false === $language_id_exist) {
- Exclude checks
Variable "sl_id" is not in valid camel caps format Open
Open
if (false === $sl_id) {
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
Open
$parent_id = (int) $_GET['id'];
- Exclude checks
Variable "get_all_information" is not in valid camel caps format Open
Open
$english_name = $get_all_information['english_name'];
- Exclude checks
Variable "original_name" is not in valid camel caps format Open
Open
$original_name = $_POST['original_name'];
- Exclude checks
Variable "check_information" is not in valid camel caps format Open
Open
$check_information = SubLanguageManager::checkIfLanguageExists($original_name, $english_name, $isocode);
- Exclude checks
Variable "english_name" is not in valid camel caps format Open
Open
if (strlen($original_name) > 0 && strlen($english_name) > 0 && strlen($isocode) > 0) {
- Exclude checks
Variable "language_details" is not in valid camel caps format Open
Open
$firstIso = substr($language_details['isocode'], 0, 2);
- Exclude checks
Variable "check_information" is not in valid camel caps format Open
Open
$check_information = [];
- Exclude checks
Variable "english_name" is not in valid camel caps format Open
Open
$check_information = SubLanguageManager::checkIfLanguageExists($original_name, $english_name, $isocode);
- Exclude checks
Variable "allow_insert_info" is not in valid camel caps format Open
Open
$allow_insert_info = false;
- Exclude checks
Variable "original_name" is not in valid camel caps format Open
Open
if (strlen($original_name) > 0 && strlen($english_name) > 0 && strlen($isocode) > 0) {
- Exclude checks
Variable "original_name" is not in valid camel caps format Open
Open
$str_info = '<br/>'.get_lang('Original name').' : '.$original_name.'<br/>'.get_lang('English name').' : '.$english_name.'<br/>'.get_lang('Character set').' : '.$isocode;
- Exclude checks
Variable "check_information" is not in valid camel caps format Open
Open
foreach ($check_information as $index_information => $value_information) {
- Exclude checks
Variable "value_information" is not in valid camel caps format Open
Open
if ('execute_add' == $index_information && true === $value_information) {
- Exclude checks
Variable "sub_language_id_exist" is not in valid camel caps format Open
Open
$sub_language_id_exist = true;
- Exclude checks
Variable "language_id_exist" is not in valid camel caps format Open
Open
$language_id_exist = false;
- Exclude checks
Variable "english_name" is not in valid camel caps format Open
Open
$english_name = $get_all_information['english_name'];
- Exclude checks
Variable "sublanguage_available" is not in valid camel caps format Open
Open
$sublanguage_available = isset($_POST['sub_language_is_visible']) ? (int) $_POST['sub_language_is_visible'] : 0;
- Exclude checks
Variable "index_information" is not in valid camel caps format Open
Open
if ('original_name' == $index_information) {
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_PLATFORM_ADMIN;
- Exclude checks
Variable "index_information" is not in valid camel caps format Open
Open
foreach ($check_information as $index_information => $value_information) {
- Exclude checks
Variable "allow_insert_info" is not in valid camel caps format Open
Open
if (true === $allow_insert_info && true === $language_id_exist) {
- Exclude checks
Variable "original_name" is not in valid camel caps format Open
Open
$sl_id = SubLanguageManager::addSubLanguage($original_name, $english_name, $sublanguage_available, $parent_id, $isocode);
- Exclude checks
Variable "language_id_exist" is not in valid camel caps format Open
Open
$language_id_exist = true;
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
Open
if (true === SubLanguageManager::isParentOfSubLanguage($parent_id) &&
- Exclude checks
Variable "get_all_information" is not in valid camel caps format Open
Open
$isocode = $get_all_information['isocode'];
- Exclude checks
Variable "language_name" is not in valid camel caps format Open
Open
$language_name = get_lang('Create sub-languageForLanguage').' ( '.strtolower($language_name).' )';
- Exclude checks
Variable "value_information" is not in valid camel caps format Open
Open
foreach ($check_information as $index_information => $value_information) {
- Exclude checks
Variable "original_name" is not in valid camel caps format Open
Open
get_lang('Already exists').' "'.get_lang('Original name').'" '.'('.$original_name.')',
- Exclude checks
Variable "english_name" is not in valid camel caps format Open
Open
$english_name = api_strtolower($english_name);
- Exclude checks
Variable "get_all_information" is not in valid camel caps format Open
Open
$get_all_information = SubLanguageManager::getAllInformationOfSubLanguage((int) $_GET['id'], (int) $_GET['sub_language_id']);
- Exclude checks
Variable "language_id_exist" is not in valid camel caps format Open
Open
if (true === $allow_insert_info && true === $language_id_exist) {
- Exclude checks
Variable "sl_id" is not in valid camel caps format Open
Open
$sl_id = SubLanguageManager::addSubLanguage($original_name, $english_name, $sublanguage_available, $parent_id, $isocode);
- Exclude checks
Variable "english_name" is not in valid camel caps format Open
Open
$sl_id = SubLanguageManager::addSubLanguage($original_name, $english_name, $sublanguage_available, $parent_id, $isocode);
- Exclude checks
Variable "str_info" is not in valid camel caps format Open
Open
Display::return_message(get_lang('The new sub-language has been added').$str_info, null, false)
- Exclude checks
Variable "sub_language_id" is not in valid camel caps format Open
Open
$sub_language_id = $_GET['sub_language_id'];
- Exclude checks
Variable "language_name" is not in valid camel caps format Open
Open
$language_name = get_lang('Create sub-languageForLanguage').' ( '.strtolower($language_name).' )';
- Exclude checks
Variable "original_name" is not in valid camel caps format Open
Open
$check_information = SubLanguageManager::checkIfLanguageExists($original_name, $english_name, $isocode);
- Exclude checks
Variable "allow_insert_info" is not in valid camel caps format Open
Open
$allow_insert_info = true;
- Exclude checks
Variable "mkdir_result" is not in valid camel caps format Open
Open
if ($mkdir_result) {
- Exclude checks
Variable "sublanguage_available" is not in valid camel caps format Open
Open
$sl_id = SubLanguageManager::addSubLanguage($original_name, $english_name, $sublanguage_available, $parent_id, $isocode);
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
Open
$sl_id = SubLanguageManager::addSubLanguage($original_name, $english_name, $sublanguage_available, $parent_id, $isocode);
- Exclude checks
Variable "original_name" is not in valid camel caps format Open
Open
$form->addElement('static', '', get_lang('Original name'), $original_name);
- Exclude checks
Variable "english_name" is not in valid camel caps format Open
Open
$form->addElement('static', '', get_lang('English name'), $english_name);
- Exclude checks
Variable "language_name" is not in valid camel caps format Open
Open
$text = $language_name;
- Exclude checks
Variable "language_details" is not in valid camel caps format Open
Open
$values['english_name'] = $language_details['english_name'].'2';
- Exclude checks
Variable "language_details" is not in valid camel caps format Open
Open
$values['isocode'] = $language_details['isocode'];
- Exclude checks
Variable "language_name" is not in valid camel caps format Open
Open
$text = $language_name;
- Exclude checks