diff options
author | polo <ordipolo@gmx.fr> | 2023-03-06 12:54:43 +0100 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2023-03-06 12:54:43 +0100 |
commit | 1766952a8499919a1275b0214f6ebda8dfc812e2 (patch) | |
tree | ad5bd20b8c5b29a26d1b63071d18af688a0b0df4 /src/view | |
parent | b9c74de6d12ef40ab4baf67303ab22a10fcd5b32 (diff) | |
download | AppliGestionPHP-1766952a8499919a1275b0214f6ebda8dfc812e2.zip |
Config.ini renseigner '' = valeur par défaut
Diffstat (limited to 'src/view')
-rw-r--r-- | src/view/Zenity.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/view/Zenity.php b/src/view/Zenity.php index 72d5eed..091a2c0 100644 --- a/src/view/Zenity.php +++ b/src/view/Zenity.php | |||
@@ -9,7 +9,6 @@ abstract class ZenityCmd | |||
9 | protected $command = 'zenity'; | 9 | protected $command = 'zenity'; |
10 | protected $command_type = ''; | 10 | protected $command_type = ''; |
11 | protected $rows = []; | 11 | protected $rows = []; |
12 | private $title = 'ORDIPOLO'; | ||
13 | protected $text = ''; | 12 | protected $text = ''; |
14 | protected $width = 300; | 13 | protected $width = 300; |
15 | protected $height = 200; // recalculée en fonction du contenu, vaut au minimum 150 | 14 | protected $height = 200; // recalculée en fonction du contenu, vaut au minimum 150 |
@@ -19,7 +18,7 @@ abstract class ZenityCmd | |||
19 | $this->text = $text; | 18 | $this->text = $text; |
20 | $this->rows= $rows; | 19 | $this->rows= $rows; |
21 | $this->command .= $this->command_type; | 20 | $this->command .= $this->command_type; |
22 | $this->command .= ' --title="' . $this->title . '"'; | 21 | $this->command .= ' --title="' . Config::$business_name . '"'; |
23 | $this->command .= ' --text="' . $this->text . '"'; | 22 | $this->command .= ' --text="' . $this->text . '"'; |
24 | } | 23 | } |
25 | 24 | ||