From dc0902658fc1d13bdc136723b508f027776de16c Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Mon, 26 Dec 2022 21:29:30 +0100 Subject: [PATCH] better to use existing methods --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 5aaaa3a..f7f0479 100644 --- a/index.php +++ b/index.php @@ -169,13 +169,13 @@ try { echo '' . __('Translater') . '' . dcPage::jsPageTabs() . -dcPage::cssLoad(dcPage::getPF('translater/css/translater.css')) . +dcPage::cssModuleLoad('translater/css/translater.css')) . dcPage::jsJson('translater', [ 'title_add_detail' => __('Use this text'), 'image_field' => dcPage::getPF('translater/img/field.png'), 'image_toggle' => dcPage::getPF('translater/img/toggle.png'), ]) . -dcPage::jsLoad(dcPage::getPF('translater/js/translater.js')) . +dcPage::jsModuleLoad('translater/js/translater.js') . # --BEHAVIOR-- translaterAdminHeaders dcCore::app()->callBehavior('translaterAdminHeaders') .