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 @@