page dog added

This commit is contained in:
piapassecker 2023-10-22 16:21:27 +02:00
parent 0adeb7f05a
commit 5bc1f78636
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,16 @@
<?php
class Dog extends Page {
function setMenu()
{
$this->menu_text = 'Dog';
$this->menu_image = 'far fa-dog';
$this->menu_priority = 0;
}
function index() {
$this->set('template', 'dog.html');
}
}

4
web/pages/dog/dog.html Normal file
View File

@ -0,0 +1,4 @@
<div class="container">
<h1>Hund hinzufügen</h1>
<p><?= $message ?></p>
</div>