mySQLlanguage != "") ? $sql->mySQLlanguage : $pref['sitelanguage']; if (isset($_POST['metasubmit'])) { $tmp = $pref['meta_tag']; $langs = explode(",",e_LANLIST); foreach($langs as $lan){ $meta_tag[$lan] = $tmp[$lan]; $meta_diz[$lan] = $pref['meta_description'][$lan]; $meta_keywords[$lan] = $pref['meta_keywords'][$lan]; $meta_copyright[$lan] = $pref['meta_copyright'][$lan]; } $meta_tag[$current_lang] = strip_if_magic(chop($_POST['meta'])); $meta_diz[$current_lang] = strip_if_magic(chop($_POST['meta_description'])); $meta_keywords[$current_lang] = strip_if_magic(chop($_POST['meta_keywords'])); $meta_copyright[$current_lang] = strip_if_magic(chop($_POST['meta_copyright'])); $pref['meta_tag'] = $meta_tag; $pref['meta_description'] = $meta_diz; $pref['meta_keywords'] = $meta_keywords; $pref['meta_copyright'] = $meta_copyright; /* if($pref['meta_tag'][$current_lang] == ""){ unset($meta_tag[$current_lang]); }*/ save_prefs(); $message = METLAN_1; } if ($message) { $ns->tablerender(METLAN_4, "