=========================== */ ?> isAdmin()) { if(isset($_POST["btnsubmit"])) { if (!$tumble->saveOption($_POST["rich_text"], "rich_text")) { header("Location: ".$conf->urlGelato."/admin/options.php?error=1&des=".$conf->merror); die(); } if (!$tumble->saveOption($_POST["url_friendly"], "url_friendly")) { header("Location: ".$conf->urlGelato."/admin/options.php?error=1&des=".$conf->merror); die(); } $off_r= split("," , $_POST['time_offsets']); $_POST['offset_time'] = $off_r[0]; $_POST['offset_city'] = $off_r[1]; unset($_POST['time_offsets']); if (!$tumble->saveOption($_POST["offset_city"], "offset_city")) { header("Location: ".$conf->urlGelato."/admin/options.php?error=1&des=".$conf->merror); die(); } if (!$tumble->saveOption($_POST["offset_time"], "offset_time")) { header("Location: ".$conf->urlGelato."/admin/options.php?error=1&des=".$conf->merror); die(); } if (!$tumble->saveOption($_POST["allow_comments"], "allow_comments")) { header("Location: ".$conf->urlGelato."/admin/options.php?error=1&des=".$conf->merror); die(); } header("Location: ".$conf->urlGelato."/admin/options.php?modified=true"); die(); } else { ?>