Incremental Refactor Templates

Incremental Refactor Templates
This commit is contained in:
Catalin Novgorodschi
2026-05-06 13:16:54 +03:00
parent 544496c515
commit a02be51969
59 changed files with 7542 additions and 3364 deletions
+36 -10
View File
@@ -1,15 +1,41 @@
<div id="content" class="messages">
<h1>Messages</h1>
<?php
include("menu.tpl");
<?php
#################################################################################
## SAFE INCREMENTAL REFACTOR - Notes Module ##
## Credits: cleaned structure, same logic preserved ##
## Compatibility: PHP 5.6+ / PHP 7+ ##
#################################################################################
?>
<div id="content" class="messages">
<h1>Messages</h1>
<?php include("menu.tpl"); ?>
<form method="post" action="nachrichten.php">
<div id="block">
<input type="hidden" name="ft" value="m6" />
<textarea name="notizen" id="notice"><?php echo $message->note; ?></textarea>
<p class="btn"><button id="btn_save" value="" name="s1" class="trav_buttons" alt"save" /> Save </button><br />
&nbsp;</p>
<!-- ======================================================
FORM TYPE (UNCHANGED)
======================================================= -->
<input type="hidden" name="ft" value="m6" />
<!-- ======================================================
NOTE CONTENT (UNCHANGED OUTPUT)
======================================================= -->
<textarea name="notizen" id="notice"><?php echo $message->note; ?></textarea>
<!-- ======================================================
SAVE BUTTON
(fix mic: atribut alt era invalid)
======================================================= -->
<p class="btn">
<button id="btn_save" name="s1" class="trav_buttons">Save</button>
<br />&nbsp;
</p>
</div>
</form>
</div>
</div>