From b2885f3c013f156a22355f161b838c2192067112 Mon Sep 17 00:00:00 2001 From: engel <> Date: Thu, 28 Sep 2023 11:20:36 +0000 Subject: [PATCH] Changement namespace Garradin => Paheko FossilOrigin-Name: 05bd9b85d91af38c15952ea00891080a67e21c8e00ce3acf16c7b8263dc55d2c --- admin/action.php | 4 ++-- admin/choix_annee.php | 6 +++--- admin/config.php | 14 +++++++------- admin/generer_recus.php | 16 ++++++++-------- admin/index.php | 4 ++-- admin/upload.php | 6 +++--- admin/versements_activites.php | 8 ++++---- admin/versements_personnes.php | 8 ++++---- 8 files changed, 33 insertions(+), 33 deletions(-) diff --git a/admin/action.php b/admin/action.php index e9785c2..86a998b 100644 --- a/admin/action.php +++ b/admin/action.php @@ -1,8 +1,8 @@ assign('anneesFiscales', $anneesFiscales); diff --git a/admin/config.php b/admin/config.php index 842ecb3..e5db4e6 100644 --- a/admin/config.php +++ b/admin/config.php @@ -1,10 +1,10 @@ requireAccess($session::SECTION_CONFIG, $session::ACCESS_ADMIN); $art_sel = f('articlesCGI') ?: []; @@ -64,7 +64,7 @@ if (f('save') && $form->check('recusfiscaux_config')) { null !== $plugin->getConfig('signature') && $plugin->getConfig('signature') != $_SESSION['sig_file'][0]->path ) { - $sig_file = \Garradin\Files\Files::get($plugin->getConfig('signature')); + $sig_file = \Paheko\Files\Files::get($plugin->getConfig('signature')); if (null !== $sig_file) { $sig_file->delete(); } @@ -99,7 +99,7 @@ if (f('save') && $form->check('recusfiscaux_config')) { } $plugin->setConfig('champsNom', $champsNom); - \Garradin\Utils::redirect(PLUGIN_URL . 'config.php?ok'); + \Paheko\Utils::redirect(PLUGIN_URL . 'config.php?ok'); } catch (UserException $e) { $form->addError($e->getMessage()); } @@ -112,7 +112,7 @@ uasort($champsNom, function ($a, $b) { $tpl->assign('ok', qg('ok') !== null); $path = qg('path') ?: File::CONTEXT_CONFIG; -$tpl->assign('default_signature', \Garradin\WWW_URL . "plugin/recusfiscaux/default_signature.png"); +$tpl->assign('default_signature', \Paheko\WWW_URL . "plugin/recusfiscaux/default_signature.png"); $tpl->assign('plugin_config', $plugin->getConfig()); $tpl->assign('plugin_css', ['style.css']); $tpl->assign('numerotation', $plugin->getConfig('numerotation')); diff --git a/admin/generer_recus.php b/admin/generer_recus.php index a930188..c79e01b 100644 --- a/admin/generer_recus.php +++ b/admin/generer_recus.php @@ -1,13 +1,13 @@ needUpgrade()) { diff --git a/admin/upload.php b/admin/upload.php index 7fd5387..3d88274 100644 --- a/admin/upload.php +++ b/admin/upload.php @@ -1,8 +1,8 @@