Skip to content

Commit 3970811

Browse files
committed
23 Apr 2023
Small demo page + HTML template update.
1 parent 797bc93 commit 3970811

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

core/pages/PAGE-demo.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ function demo () {
122122
<!-- (I) URL PATH -->
123123
<div class="bg-primary text-white p-3">
124124
<strong>$_CORE->Route->path</strong> - The current path.
125-
You can use this to resolve things like pagination <strong>/page/123</strong>,
126-
or maybe a selected category <strong>/products/toys</strong>.
125+
You can use this to resolve things like pagination <strong>page/123/</strong>,
126+
or maybe a selected category <strong>products/toys/</strong>.
127127
</div>
128128
<div class="bg-white border p-3 mb-3"><?php echo $_CORE->Route->path; ?></div>
129129

core/pages/PAGE-tut-6.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141

4242
<div class="mb-1 fw-bold">The end! Dummy pages you can delete:</div>
4343
<ul class="list-group mb-4">
44-
<li class="list-group-item">pages/PAGE-tut-1.php to pages/PAGE-tut-6.php</li>
45-
<li class="list-group-item">pages/PAGE-demo.php</li>
46-
<li class="list-group-item">pages/PAGE-about.php</li>
44+
<li class="list-group-item"><code>pages/PAGE-tut-1~6.php</code></li>
45+
<li class="list-group-item"><code>pages/PAGE-demo.php</code></li>
46+
<li class="list-group-item"><code>pages/PAGE-about.php</code></li>
4747
</ul>
4848

4949
<div class="mb-4">

core/pages/TEMPLATE-top.php

+1
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@
126126
<ul class="dropdown-menu dropdown-menu-dark dropdown-menu-end">
127127
<?php if (isset($_CORE->Session->data["user"])) { ?>
128128
<li class="dropdown-header">
129+
<?=$_CORE->Session->data["user"]["user_name"]?><br>
129130
<?=$_CORE->Session->data["user"]["user_email"]?>
130131
</li>
131132
<li><a class="dropdown-item" href="<?=HOST_BASE?>myaccount">

0 commit comments

Comments
 (0)