<? require_once "HTML/QuickForm.php"; if(strtolower($this->getconfigvalue("charset"))=="utf-8"){ $langs["schinese-utf"]="schinese"; $langs["tchinese-utf"]="tchinese"; $langs["english"]="english"; } $form = new HTML_QuickForm('langForm','',$this->Href()); $form->addElement("select","sellang","Choose Language:",$langs,array("onChange"=>"langForm.submit()")); if($form->validate()){ $lang=$form->getElementValue("sellang"); $this->SetPersistentCookie("language",$lang[0]); $this->redirect($this->Href()); } $form->display(); ?>

请享受共创成果的同时,尊重他人劳动。本站点内容如未特别声明,全部遵循
Creative Commons License by-nc-sa协议发布。