From 0c65c0d11e45a7f3d1b84bf8acf6dfab060872f1 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sat, 18 Feb 2023 22:47:01 +0100 Subject: [PATCH] Delete help buttons from theme positions buttons --- core/module/theme/view/body/body.php | 4 +- core/module/theme/view/fontAdd/fontAdd.php | 4 +- core/module/theme/view/fontEdit/fontEdit.php | 4 +- core/module/theme/view/fonts/fonts.php | 6 +- core/module/theme/view/footer/footer.php | 4 +- core/module/theme/view/header/header.php | 4 +- core/module/theme/view/index/index.php | 121 ++++++++----------- core/module/theme/view/menu/menu.php | 4 +- core/module/theme/view/site/site.php | 4 +- 9 files changed, 70 insertions(+), 85 deletions(-) diff --git a/core/module/theme/view/body/body.php b/core/module/theme/view/body/body.php index fcee599f..675480d1 100644 --- a/core/module/theme/view/body/body.php +++ b/core/module/theme/view/body/body.php @@ -8,12 +8,12 @@ ]); ?>
- 'https://doc.zwiicms.fr/arriere-plan', 'target' => '_blank', 'value' => template::ico('help'), 'class' => 'buttonHelp' - ]); ?> + ]); */ ?>
diff --git a/core/module/theme/view/fontAdd/fontAdd.php b/core/module/theme/view/fontAdd/fontAdd.php index acdef25d..157586b0 100644 --- a/core/module/theme/view/fontAdd/fontAdd.php +++ b/core/module/theme/view/fontAdd/fontAdd.php @@ -8,12 +8,12 @@ ]); ?>
- 'https://doc.zwiicms.fr/fontes#add', 'target' => '_blank', 'value' => template::ico('help'), 'class' => 'buttonHelp' - ]); ?> + ]); */ ?>
- 'https://doc.zwiicms.fr/fontes#add', 'target' => '_blank', 'value' => template::ico('help'), 'class' => 'buttonHelp' - ]); ?> + ]); */ ?>
- 'https://doc.zwiicms.fr/fontes', 'target' => '_blank', 'value' => template::ico('help'), 'class' => 'buttonHelp' - ]); ?> + ]); */ ?>
-
+
helper::baseUrl() . $this->getUrl(0) . '/fontAdd', 'value' => template::ico('plus'), diff --git a/core/module/theme/view/footer/footer.php b/core/module/theme/view/footer/footer.php index c8353505..9dac8c86 100644 --- a/core/module/theme/view/footer/footer.php +++ b/core/module/theme/view/footer/footer.php @@ -8,12 +8,12 @@ ]); ?>
- 'https://doc.zwiicms.fr/pied-de-page', 'target' => '_blank', 'value' => template::ico('help'), 'class' => 'buttonHelp' - ]); ?> + ]); */ ?>
diff --git a/core/module/theme/view/header/header.php b/core/module/theme/view/header/header.php index 130d28f1..fc54783a 100644 --- a/core/module/theme/view/header/header.php +++ b/core/module/theme/view/header/header.php @@ -8,12 +8,12 @@ ]); ?>
- 'https://doc.zwiicms.fr/banniere', 'target' => '_blank', 'value' => template::ico('help'), 'class' => 'buttonHelp' - ]); ?> + ]); */?>
diff --git a/core/module/theme/view/index/index.php b/core/module/theme/view/index/index.php index b7ed8438..6115be7c 100644 --- a/core/module/theme/view/index/index.php +++ b/core/module/theme/view/index/index.php @@ -2,107 +2,76 @@ $this->getData(['theme', 'header', 'position']) === 'hide' or $this->getData(['theme', 'menu', 'position']) === 'hide' or $this->getData(['theme', 'footer', 'position']) === 'hide' -) : ?> +): ?>
-
+
'buttonGrey', 'href' => helper::baseUrl(false), 'ico' => 'home', 'value' => 'Accueil' ]); ?>
-
- 'https://doc.zwiicms.fr/gestion-du-theme', - 'target' => '_blank', - 'ico' => 'help', - 'value' => 'Aide', - 'class' => 'buttonHelp' +
+
+
+ 'font', + 'href' => helper::baseUrl() . $this->getUrl(0) . '/fonts', + 'value' => 'Fontes' ]); ?>
+ 'code', + 'href' => helper::baseUrl() . $this->getUrl(0) . '/advanced', + 'value' => 'Éditeur CSS' + ]); ?> +
+
+
+
+ 'brush', + 'href' => helper::baseUrl() . $this->getUrl(0) . '/admin', + 'value' => 'Administration' + ]); ?> +
+
+ 'sliders', + 'href' => helper::baseUrl() . $this->getUrl(0) . '/manage', + 'value' => 'Gestion' + ]); ?> +
+
+
+
'eye', 'value' => 'Zones cachées' ]); ?>
-
-
- 'font', - 'href' => helper::baseUrl() . $this->getUrl(0) . '/fonts', - 'value' => 'Fontes' - ]); ?> -
-
- 'sliders', - 'href' => helper::baseUrl() . $this->getUrl(0) . '/manage', - 'value' => 'Gestion' - ]); ?> -
-
- 'brush', - 'href' => helper::baseUrl() . $this->getUrl(0) . '/admin', - 'value' => 'Administration' - ]); ?> - -
-
- 'code', - 'href' => helper::baseUrl() . $this->getUrl(0) . '/advanced', - 'value' => 'Éditeur CSS' - ]); ?> -
-
- +
-
+
'buttonGrey', 'href' => helper::baseUrl(false), 'ico' => 'home', 'value' => 'Accueil' ]); ?>
-
- 'https://doc.zwiicms.fr/gestion-du-theme', - 'target' => '_blank', - 'ico' => 'help', - 'value' => 'Aide', - 'class' => 'buttonHelp' - ]); ?> -
-
+
'font', 'href' => helper::baseUrl() . $this->getUrl(0) . '/fonts', 'value' => 'Fontes' ]); ?>
-
- 'sliders', - 'href' => helper::baseUrl() . $this->getUrl(0) . '/manage', - 'value' => 'Gestion' - ]); ?> -
-
- 'brush', - 'href' => helper::baseUrl() . $this->getUrl(0) . '/admin', - 'value' => 'Administration' - ]); ?> -
'code', @@ -111,4 +80,20 @@ ]); ?>
+
+
+ 'brush', + 'href' => helper::baseUrl() . $this->getUrl(0) . '/admin', + 'value' => 'Administration' + ]); ?> +
+
+ 'sliders', + 'href' => helper::baseUrl() . $this->getUrl(0) . '/manage', + 'value' => 'Gestion' + ]); ?> +
+
\ No newline at end of file diff --git a/core/module/theme/view/menu/menu.php b/core/module/theme/view/menu/menu.php index 30a65c60..19ceaa41 100644 --- a/core/module/theme/view/menu/menu.php +++ b/core/module/theme/view/menu/menu.php @@ -8,12 +8,12 @@ ]); ?>
- 'https://doc.zwiicms.fr/menu', 'target' => '_blank', 'value' => template::ico('help'), 'class' => 'buttonHelp' - ]); ?> + ]); */?>
diff --git a/core/module/theme/view/site/site.php b/core/module/theme/view/site/site.php index c767001c..70b52c07 100644 --- a/core/module/theme/view/site/site.php +++ b/core/module/theme/view/site/site.php @@ -8,12 +8,12 @@ ]); ?>
- 'https://doc.zwiicms.fr/site61863d315ffe0', 'target' => '_blank', 'value' => template::ico('help'), 'class' => 'buttonHelp' - ]); ?> + ]); */ ?>