Change to be enabled rather than disabled.

This commit is contained in:
SimonFair
2024-06-30 21:03:03 +01:00
parent 282cfc41ca
commit 8965860224
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -1606,8 +1606,8 @@ Image will be scaled to 1920x90 pixels. The maximum image file upload size is 51
:display_temperature_unit_help:
Selects the temperature unit for the disk temperature thresholds. Changing the unit will adjust the existing value in the disk temperature thresholds as appropriate.
:display_favorites_disabled_help:
Sets favorites adding to disabled. Stops heart icon showing. favorties tab and pre-saved options will still continue to function.
:display_favorites_enabled_help:
Enables favorite support. If set to no, will stop heart icon showing for additions. If existing favorites are saved, favorites tab and pre-saved options will still continue to show and function until all are deleted.
Make sure any newly entered values represent the selected temperature unit.
:end
+3 -3
View File
@@ -315,13 +315,13 @@ _(Show banner background color fade)_:
</select>
</div>
_(Favorites disabled)_:
_(Favorites enabled)_:
: <select name="favorites">
<?=mk_option($display['favorites'], "no",_('No'))?>
<?=mk_option($display['favorites'], "yes",_('Yes'))?>
<?=mk_option($display['favorites'], "no",_('No'))?>
</select>
:display_favorites_disabled_help:
:display_favorites_enabled_help:
<input type="submit" name="#default" value="_(Default)_" onclick="filename='reset'">
: <input type="submit" name="#apply" value="_(Apply)_" disabled><input type="button" value="_(Done)_" onclick="done()">
+1 -1
View File
@@ -7,7 +7,7 @@ Code="e924"
if (!isset($display['favorites'])) {
$favorites = true;
} else {
$favorites = $display['favorites'] == "no" ? true : false;
$favorites = $display['favorites'] == "yes" ? true : false;
}
?>
<script>
+1 -1
View File
@@ -7,7 +7,7 @@ Code="e909"
if (!isset($display['favorites'])) {
$favorites = true;
} else {
$favorites = $display['favorites'] == "no" ? true : false;
$favorites = $display['favorites'] == "yes" ? true : false;
}
?>
<script>