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, "
".METLAN_1." (".$current_lang.").
"); } $meta = $pref['meta_tag']; $meta_diz = $pref['meta_description']; $meta_keywords = $pref['meta_keywords']; $meta_copyright = $pref['meta_copyright']; $text = "
".METLAN_9."
".METLAN_10."
".METLAN_11."
".METLAN_2.":

eg. <meta name='author' content='your name' />

"; $text .= "
"; $ns -> tablerender(METLAN_8." (".$current_lang.")", $text); require_once("footer.php"); ?>