From 39d4558eaf5fa5fd6060a0f202b22bcec5a982dc Mon Sep 17 00:00:00 2001 From: polo Date: Fri, 9 Oct 2026 15:09:38 +0200 Subject: =?UTF-8?q?variables=20d=C3=A9plac=C3=A9es=20dans=20Config,=20supp?= =?UTF-8?q?ressions=20constructeurs=20Latex.php,=20=C3=A9bauche=20de=20sec?= =?UTF-8?q?tion=206=5Fadvertising,=20un=20peu=20de=20typage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sections/6_advertising.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/sections/6_advertising.php (limited to 'src/sections/6_advertising.php') diff --git a/src/sections/6_advertising.php b/src/sections/6_advertising.php new file mode 100644 index 0000000..80ce2d5 --- /dev/null +++ b/src/sections/6_advertising.php @@ -0,0 +1,28 @@ +get()); + if($choix_niv2 === ZenitySetup::$menu_communication['entrees'][0]) // = Flyer (nécessite gimp) + { + exec(windowAppCommand(Config::$image_editor, Config::$pub_path . Config::$flyer)); + } + elseif($choix_niv2 === ZenitySetup::$menu_communication['entrees'][1]) // = Carte de visite (nécessite scribus) + { + exec(windowAppCommand(Config::$publishing, Config::$pub_path . Config::$business_card)); + } + elseif($choix_niv2 === ZenitySetup::$menu_communication['entrees'][2]) // = Explorateur de fichiers + { + exec(windowAppCommand(Config::$file_explorer, Config::$pub_path)); + } + else + { + return [0, null]; // menu principal + } + return [6, null]; +} -- cgit v1.2.3