Recomment CSS and HTML templates

Co-authored-by: LeOSW42 <673670+LeOSW42@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-24 18:35:07 +00:00
parent 8dd9897ca4
commit 3159b34e70
26 changed files with 380 additions and 273 deletions

View File

@@ -1,5 +1,5 @@
<!DOCTYPE html>
<!-- Template: d.user.profile.html -->
<!-- Page: user profile -->
<html lang="fr">
<?php include('blocks/d.head.html'); ?>
@@ -10,11 +10,13 @@
<section id="profile">
<?php if ($userProfile->id != 0) { ?>
<!-- Profile header -->
<h1><?=$userProfile->name?></h1>
<?php if($user->rankIsHigher("moderator") || $user->id == $userProfile->id) { ?>
<a class="subtitle" id="editprofile" href="<?=$config['rel_root_folder']?>user/p/<?=$userProfile->id?>/edit"><i class="fas fa-pencil-alt"></i> Éditer les paramètres du compte</a>
<?php } ?>
<article>
<!-- Profile info -->
<div id="profilepart">
<?php if(isset($mailsent) AND $mailsent==1) { ?>
<p style="color: #006600;">Le message a bien été envoyé.</p>
@@ -49,6 +51,7 @@
<div style="clear:both;"></div>
</div>
<?php if ($userProfile->id != $user->id) { ?>
<!-- Contact form -->
<form style="display:none;" class="form" id="contact" action="<?=$config['rel_root_folder']?>user/p/<?=$userProfile->id?>" method="post" >
<textarea rows="12" name="message" id="message" placeholder="Votre message"></textarea>
<p><i>Votre adresse email sera transmise à votre destinataire.</i></p>
@@ -64,4 +67,4 @@
<?php include('blocks/d.footer.html'); ?>
</body>
</html>
</html>