From f16cdeb6731dbedcf398fc6b81d504ab015e286c Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Mon, 28 Nov 2022 23:02:18 +0100 Subject: [PATCH] cosmetic, cleanup --- .editorconfig | 39 --------------------------------------- .gitattributes | 2 -- .gitignore | 11 ----------- _define.php | 2 +- index.php | 38 +++++++++++++++++++------------------- 5 files changed, 20 insertions(+), 72 deletions(-) delete mode 100644 .editorconfig delete mode 100644 .gitattributes delete mode 100755 .gitignore diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 8f34d1f..0000000 --- a/.editorconfig +++ /dev/null @@ -1,39 +0,0 @@ -# EditorConfig is awesome: http://EditorConfig.org - -# Recommended for Dotclear developments and contribution -# See https://dotclear.org/documentation/2.0/resources/coding-standards - -# Revisions -# -# 1. Franck: creation (2017-12-04) -# 2. Franck: PSR-2 for PHP, add specific extension settings (2018-01-19) -# 3. Franck: switch to 2 spaces by default, only *.php and *.md use 4 spaces (2018-01-24) - -# top-most EditorConfig file -root = true - -# Unix-style newlines with a newline ending every file -[*] -end_of_line = lf -insert_final_newline = true -charset = utf-8 -indent_style = space -indent_size = 2 -trim_trailing_whitespace = true - -# PHP - PSR-2 -[*.php] -indent_style = space -indent_size = 4 - -# Markdown -[*.md] -indent_style = space -indent_size = 4 -trim_trailing_whitespace = false - -# Makefile -[Makefile] -indent_style = tab -indent_size = 2 -trim_trailing_whitespace = false \ No newline at end of file diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index dfe0770..0000000 --- a/.gitattributes +++ /dev/null @@ -1,2 +0,0 @@ -# Auto detect text files and perform LF normalization -* text=auto diff --git a/.gitignore b/.gitignore deleted file mode 100755 index b9d4ec1..0000000 --- a/.gitignore +++ /dev/null @@ -1,11 +0,0 @@ -# Ignore Mac DS_Store files. -.DS_Store - -# Ignore .psd files. -*.psd - -# Ignore the file _disabled created by Dotclear when the theme/plugin has been unactivated. -_disabled - -# Ignore "code" folder. -/prive diff --git a/_define.php b/_define.php index ac35550..789cb7d 100644 --- a/_define.php +++ b/_define.php @@ -24,7 +24,7 @@ $this->registerModule( 'permissions' => dcAuth::PERMISSION_CONTENT_ADMIN, 'priority' => 150000, 'type' => 'plugin', - 'support' => 'http://forum.dotclear.org/viewforum.php?id=16', + 'support' => 'https://github.com/JcDenis/myUrlHandlers', 'details' => 'http://plugins.dotaddict.org/dc2/details/myUrlHandlers', 'repository' => 'https://raw.githubusercontent.com/JcDenis/myUrlHandlers/master/dcstore.xml', ] diff --git a/index.php b/index.php index 584eb37..03c56ec 100644 --- a/index.php +++ b/index.php @@ -100,9 +100,9 @@ try { --------------------------------------------------- */ ?> - -<?php echo $page_title; ?> - + +<?php echo $page_title; ?> + - + -

+

-

-
- - - - - +

+ +
TypeURL
+ + + + $url) { echo @@ -133,11 +133,11 @@ foreach ($handlers as $name => $url) { '' . "\n"; } ?> - -
TypeURL
-

- - formNonce(); ?>

-
+ + +

+ + formNonce(); ?>

+ - +