|
@@ -54,6 +54,11 @@ if ($user->isAdmin()) {
|
54
|
54
|
header("Location: ".$conf->urlGelato."/admin/options.php?error=1&des=".$conf->merror);
|
55
|
55
|
die();
|
56
|
56
|
}
|
|
57
|
+
|
|
58
|
+ if (!$tumble->saveOption($_POST["check_version"], "check_version")) {
|
|
59
|
+ header("Location: ".$conf->urlGelato."/admin/options.php?error=1&des=".$conf->merror);
|
|
60
|
+ die();
|
|
61
|
+ }
|
57
|
62
|
|
58
|
63
|
header("Location: ".$conf->urlGelato."/admin/options.php?modified=true");
|
59
|
64
|
die();
|
|
@@ -222,6 +227,12 @@ if ($user->isAdmin()) {
|
222
|
227
|
<option value="1 day" <?php if($conf->rssImportFrec == '1 day') echo "selected=\"selected\""; ?>>24 <?php echo __("hours");?></option>
|
223
|
228
|
</select>
|
224
|
229
|
</li>
|
|
230
|
+ <li class="select"><label for="check_version"><?php echo __("Check for updates:")?></label>
|
|
231
|
+ <select name="check_version" id="check_version">
|
|
232
|
+ <option value="1" <?php if($conf->check_version) echo "selected=\"selected\""; ?>><?php echo __("Active")?></option>
|
|
233
|
+ <option value="0" <?php if(!$conf->check_version) echo "selected=\"selected\""; ?>><?php echo __("Deactive")?></option>
|
|
234
|
+ </select>
|
|
235
|
+ </li>
|
225
|
236
|
</ul>
|
226
|
237
|
</fieldset>
|
227
|
238
|
<p>
|