=========================== */ ?> 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(); } if (!$tumble->saveOption($_POST["shorten_links"], "shorten_links")) { header("Location: ".$conf->urlGelato."/admin/options.php?error=1&des=".$conf->merror); die(); } if (!$tumble->saveOption($_POST["rss_import_frec"], "rss_import_frec")) { header("Location: ".$conf->urlGelato."/admin/options.php?error=1&des=".$conf->merror); die(); } if (!$tumble->saveOption($_POST["check_version"], "check_version")) { header("Location: ".$conf->urlGelato."/admin/options.php?error=1&des=".$conf->merror); die(); } header("Location: ".$conf->urlGelato."/admin/options.php?modified=true"); die(); } else { ?> gelato :: <?php echo __("options")?>
".__("The configuration has been modified successfully.")."
"; } } if (isset($_GET["error"])) { if ($_GET["error"]==1) { echo "
".__("Error on the database server: ")."".$_GET["des"]."
"; } } ?>
  • call('add_options_panel'); ?>

" class="submit"/>

urlGelato."/login.php"); } ?>