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_author[$lan] = $pref['meta_author'][$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'])); $meta_author[$current_lang] = strip_if_magic(chop($_POST['meta_author'])); $pref['meta_news_summary'] = $_POST['meta_news_summary']; $pref['meta_tag'] = $meta_tag; $pref['meta_description'] = $meta_diz; $pref['meta_keywords'] = $meta_keywords; $pref['meta_copyright'] = $meta_copyright; $pref['meta_author'] = $meta_author; /* 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']; $meta_author = $pref['meta_author']; $text = "
".METLAN_9."
".METLAN_10."
".METLAN_11."
".METLAN_13."
".METLAN_2.":

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

"; $text .= "
".METLAN_12." "; $checked = ($pref['meta_news_summary']) ? "checked='checked'" : ""; $text .= "
"; $ns -> tablerender(METLAN_8." (".$current_lang.")", $text); require_once("footer.php"); ?>