diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2019-03-28 22:03:52 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2019-03-28 22:03:52 +0100 |
commit | d8b02407afd7ce933d1a9935f5c723a5d47ae368 (patch) | |
tree | 8a38b5e269e05e0badbb1f5fca90381d25c41346 /app/view/templates/user.php | |
parent | 53fcf8ed3cf59f38adfa4d66e925e147a64f7eef (diff) | |
download | wcms-d8b02407afd7ce933d1a9935f5c723a5d47ae368.tar.gz wcms-d8b02407afd7ce933d1a9935f5c723a5d47ae368.zip |
graphic update
Diffstat (limited to 'app/view/templates/user.php')
-rw-r--r-- | app/view/templates/user.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/view/templates/user.php b/app/view/templates/user.php index 0f9ac7b..7512267 100644 --- a/app/view/templates/user.php +++ b/app/view/templates/user.php @@ -10,6 +10,9 @@ <main class="user"> +<section> + +<article> <h1>User : <?= $user->id() ?></h1> @@ -26,8 +29,13 @@ </form> +</article> + + <?php if($user->isadmin()) { ?> +<article> + <h1>Admin panel</h1> <table> @@ -110,9 +118,14 @@ foreach ($userlist as $user ) { </table> +</article> + <?php } ?> +</section> + + </main> </body> |