Skip to content

Commit f80ee5d

Browse files
committed
typo
1 parent f9a693b commit f80ee5d

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

core/class/Freebox_OS.class.php

+15-15
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ public function AddCommand($Name, $_logicalId, $Type = 'info', $SubType = 'binar
520520
$Cmd->setIsVisible($IsVisible);
521521
$Cmd->setIsHistorized($IsHistorized);
522522
if ($invertBinary_display != null && $SubType == 'binary') {
523-
$Cmd->setdisplay('invertBinary', 1);
523+
$Cmd->setDisplay('invertBinary', 1);
524524
}
525525
if ($invertBinary_config != null) {
526526
$Cmd->setConfiguration('invertBinary', 1);
@@ -533,26 +533,26 @@ public function AddCommand($Name, $_logicalId, $Type = 'info', $SubType = 'binar
533533
}
534534
}
535535
if ($icon != null) {
536-
$Cmd->setdisplay('icon', '<i class="' . $icon . '"></i>');
536+
$Cmd->setDisplay('icon', '<i class="' . $icon . '"></i>');
537537
}
538538
if ($forceLineB != null) {
539-
$Cmd->setdisplay('forceReturnLineBefore', 1);
539+
$Cmd->setDisplay('forceReturnLineBefore', 1);
540540
}
541541
if ($forceLineA != null) {
542-
$Cmd->setdisplay('forceReturnLineAfter', 1);
542+
$Cmd->setDisplay('forceReturnLineAfter', 1);
543543
}
544544
if ($_iconname != null) {
545-
$Cmd->setdisplay('showIconAndNamedashboard', 1);
546-
$Cmd->setdisplay('showIconAndNamemobile', 1);
547-
//$Cmd->setdisplay('title_disable', true);
545+
$Cmd->setDisplay('showIconAndNamedashboard', 1);
546+
$Cmd->setDisplay('showIconAndNamemobile', 1);
547+
//$Cmd->setDisplay('title_disable', true);
548548
}
549549
if ($_display_parameters != null) {
550-
$Cmd->setdisplay('parameters', $_display_parameters);
550+
$Cmd->setDisplay('parameters', $_display_parameters);
551551
$Cmd->save();
552552
}
553553
if ($_noiconname != null) {
554-
$Cmd->setdisplay('showNameOndashboard', 0);
555-
$Cmd->setdisplay('showNameOnmobile', 0);
554+
$Cmd->setDisplay('showNameOndashboard', 0);
555+
$Cmd->setDisplay('showNameOnmobile', 0);
556556
}
557557
if ($_calculValueOffset != null) {
558558
$Cmd->setConfiguration('calculValueOffset', $_calculValueOffset);
@@ -586,7 +586,7 @@ public function AddCommand($Name, $_logicalId, $Type = 'info', $SubType = 'binar
586586
if ($invertBinary_config != null && $SubType == 'binary') { //Correction pour prise en compte fonction Core
587587
log::add('Freebox_OS', 'debug', '| ───▶︎ Application Correctif pour prendre en compte fonction Core pour la commande : ' . $Name . ' - Type de sensor :' . $_home_config_eq);
588588
$Cmd->setConfiguration('invertBinary', $invertBinary_config);
589-
$Cmd->setdisplay('invertBinary', $invertBinary_display);
589+
$Cmd->setDisplay('invertBinary', $invertBinary_display);
590590
}
591591
$Cmd->setConfiguration('info', $_home_config_eq);
592592
}
@@ -683,7 +683,7 @@ public function AddCommand($Name, $_logicalId, $Type = 'info', $SubType = 'binar
683683
// Mise à jour des noms de la commande pour le Wifi en cas de changement de box
684684
if ($forceIcone_widget == true) {
685685
if ($icon != null) {
686-
$Cmd->setdisplay('icon', '<i class="' . $icon . '"></i>');
686+
$Cmd->setDisplay('icon', '<i class="' . $icon . '"></i>');
687687
}
688688
if ($Template != null) {
689689
$Cmd->setTemplate('dashboard', $Template);
@@ -692,14 +692,14 @@ public function AddCommand($Name, $_logicalId, $Type = 'info', $SubType = 'binar
692692
$Cmd->setIsVisible($IsVisible);
693693

694694
if ($forceLineB != null) {
695-
$Cmd->setdisplay('forceReturnLineBefore', 1);
695+
$Cmd->setDisplay('forceReturnLineBefore', 1);
696696
}
697697
if ($forceLineA != null) {
698-
$Cmd->setdisplay('forceReturnLineAfter', 1);
698+
$Cmd->setDisplay('forceReturnLineAfter', 1);
699699
}
700700

701701
if ($_iconname != null) {
702-
$Cmd->setdisplay('showIconAndNamedashboard', 1);
702+
$Cmd->setDisplay('showIconAndNamedashboard', 1);
703703
}
704704
}
705705
if ($listValue != null) {

0 commit comments

Comments
 (0)