Permalink
Browse files

Change default background to daily

  • Loading branch information...
NEMS Linux
NEMS Linux committed Jan 12, 2019
1 parent 7bdc12b commit 889fa5b58a85556819f6d90839de502e3d549db1
Showing with 3 additions and 3 deletions.
  1. +2 −2 config/index.php
  2. +1 −1 inc/wallpaper.php
@@ -306,8 +306,8 @@ function sanitize($string) {
<label class="label">Background Image</label>
<label class="select">
<select name="background" id="background">
<option value="5"<?php if (!isset($nemsconf['background']) || $nemsconf['background'] == 5) echo ' SELECTED'; ?>>Default</option>
<option value="6"<?php if (isset($nemsconf['background']) && $nemsconf['background'] == 6) echo ' SELECTED'; ?>>Daily Image</option>
<option value="6"<?php if (!isset($nemsconf['background']) || $nemsconf['background'] == 6) echo ' SELECTED'; ?>>Daily Image (Default)</option>
<option value="5"<?php if (isset($nemsconf['background']) && $nemsconf['background'] == 5) echo ' SELECTED'; ?>>NEMS Legacy</option>
<option value="7"<?php if (isset($nemsconf['background']) && $nemsconf['background'] == 7) echo ' SELECTED'; ?>>Custom Color</option>
<option value="8"<?php if (isset($nemsconf['background']) && $nemsconf['background'] == 8) echo ' SELECTED'; ?>>Upload Image</option>
</select>
@@ -7,7 +7,7 @@
*/
// defaults
$background=5;
$background=6;
$backgroundBlur=1; // 1 = disabled, 2 = slight, 3 = medium, 4 = heavy
$conftmp = file('/usr/local/share/nems/nems.conf');

0 comments on commit 889fa5b

Please sign in to comment.