From 9728aefc07812fdcbb67ec40166a4de7b039ae02 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 24 Jan 2026 12:42:17 +0000 Subject: [PATCH] Replace PHP short tags Co-authored-by: LeOSW42 <673670+LeOSW42@users.noreply.github.com> --- controllers/d.admin.php | 2 +- controllers/d.blog.php | 2 +- controllers/d.contact.php | 2 +- controllers/d.map.php | 2 +- controllers/d.users.php | 2 +- controllers/d.wiki.php | 2 +- includes/images.php | 2 +- includes/routes.php | 2 +- includes/session.php | 2 +- models/d.blog.php | 2 +- models/d.locales.php | 2 +- models/d.poi.php | 2 +- models/d.users.php | 2 +- models/d.wiki.php | 2 +- third/Md/Markdown.php | 2 +- views/blocks/d.head.html | 32 ++++++------- views/blocks/d.nav.html | 18 +++---- views/d.admin.backup.html | 18 +++---- views/d.admin.git-pull.html | 8 ++-- views/d.admin.html | 14 +++--- views/d.admin.logs.html | 16 +++---- views/d.admin.stats.html | 14 +++--- views/d.admin.wiki-files.html | 24 +++++----- views/d.blog.edit.html | 28 +++++------ views/d.blog.list.html | 28 +++++------ views/d.blog.list.rss | 6 +-- views/d.blog.view.html | 84 ++++++++++++++++----------------- views/d.community.html | 12 ++--- views/d.contact.html | 40 ++++++++-------- views/d.index.html | 12 ++--- views/d.map.html | 14 +++--- views/d.poi.edit.html | 32 ++++++------- views/d.poi.view.html | 84 ++++++++++++++++----------------- views/d.user.login.html | 18 +++---- views/d.user.member_list.html | 28 +++++------ views/d.user.password_lost.html | 10 ++-- views/d.user.profile.edit.html | 40 ++++++++-------- views/d.user.profile.html | 40 ++++++++-------- views/d.user.signin.html | 22 ++++----- views/d.wiki.edit.html | 10 ++-- views/d.wiki.view.html | 36 +++++++------- 41 files changed, 359 insertions(+), 359 deletions(-) diff --git a/controllers/d.admin.php b/controllers/d.admin.php index b04ec96..ee136fb 100755 --- a/controllers/d.admin.php +++ b/controllers/d.admin.php @@ -1,4 +1,4 @@ - +splitted_url[1]) && $user->rankIsHigher("moderator")) { switch ($controller->splitted_url[1]) { diff --git a/controllers/d.blog.php b/controllers/d.blog.php index 5c78098..7e74eec 100755 --- a/controllers/d.blog.php +++ b/controllers/d.blog.php @@ -1,4 +1,4 @@ - + - if (isset($head['css'])) { + - } + - } ?> + - if (isset($head['third'])) { + - } + - if (isset($head['js'])) { + - } + - if (isset($head['title'])) { ?> +
+"; } ?>
- $i=0; + tmp/=$backup_filename[$i]?>' target='_blank'> Télécharger le fichier "=$backup_filename[$i]?>"
- } else { ?> + Fichier =$file?> non généré - } +
Archives des anciennes sauvegardes
+"; } ?>
+ ";
}
@@ -35,7 +35,7 @@ $( "#logfile" ).change(function() {
});
- include('blocks/d.footer.html'); ?>
+
\ No newline at end of file
diff --git a/views/d.admin.stats.html b/views/d.admin.stats.html
index 9467309..47c860c 100644
--- a/views/d.admin.stats.html
+++ b/views/d.admin.stats.html
@@ -1,27 +1,27 @@
- include('blocks/d.head.html'); ?>
+
- include('blocks/d.nav.html'); ?>
+
=$head['title']?>
-
+
- if (file_exists($report)) { ?>
+
tmp/report.html' target='_blank'> Voir le rapport
- } else { ?>
+
Echec de la commande
- } ?>
+
- include('blocks/d.footer.html'); ?>
+
\ No newline at end of file
diff --git a/views/d.admin.wiki-files.html b/views/d.admin.wiki-files.html
index 5f85cee..eb8f419 100755
--- a/views/d.admin.wiki-files.html
+++ b/views/d.admin.wiki-files.html
@@ -1,11 +1,11 @@
- include('blocks/d.head.html'); ?>
+
- include('blocks/d.nav.html'); ?>
+
=$head['title']?>
@@ -42,34 +42,34 @@
Date de création
=$orderby=='creation_date'?$order=='ASC'?'':'':''?>
- if ($user->rankIsHigher("administrator")) { ?>
+ rankIsHigher("administrator")) { ?>
Suppression
- } ?>
+
- foreach (array_slice($files, $first-1, $rows_per_pages, true) as $file) { ?>
+
=$file['name']?>
'> =$file['type']?>
=formatBytes($file['size'], $user->locale)?>
- echo datefmt_format($user->date_format,date_create($file['creation_date'], new DateTimeZone("UTC"))) ?>
- if ($user->rankIsHigher("administrator")) { ?>
+ date_format,date_create($file['creation_date'], new DateTimeZone("UTC"))) ?>
+ rankIsHigher("administrator")) { ?>
- } ?>
+
- } ?>
+
- include('blocks/d.footer.html'); ?>
+
\ No newline at end of file
diff --git a/views/d.blog.edit.html b/views/d.blog.edit.html
index 98c5882..d69f197 100755
--- a/views/d.blog.edit.html
+++ b/views/d.blog.edit.html
@@ -1,47 +1,47 @@
- include('blocks/d.head.html'); ?>
+
- include('blocks/d.nav.html'); ?>
+
- if(isset($new) AND $new==1) { ?>
+