From 7fb607b48c181512b31f52a7ef7e302f331ec18d Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Wed, 5 Dec 2018 18:37:30 +0100 Subject: mediastyle --- app/view/templates/admin.php | 2 +- app/view/templates/backtopbar.php | 21 ++++++++---- app/view/templates/font.php | 2 +- app/view/templates/home.php | 2 +- app/view/templates/info.php | 25 +++++++++++++++ app/view/templates/media.php | 67 ++++++++++++++++++++++++++++++++++++++- 6 files changed, 109 insertions(+), 10 deletions(-) create mode 100644 app/view/templates/info.php (limited to 'app/view/templates') diff --git a/app/view/templates/admin.php b/app/view/templates/admin.php index 5edf262..6e8e0ab 100644 --- a/app/view/templates/admin.php +++ b/app/view/templates/admin.php @@ -5,7 +5,7 @@ - insert('backtopbar', ['user' => $user]) ?> + insert('backtopbar', ['user' => $user, 'tab' => 'admin']) ?>
diff --git a/app/view/templates/backtopbar.php b/app/view/templates/backtopbar.php index a06c304..d769993 100644 --- a/app/view/templates/backtopbar.php +++ b/app/view/templates/backtopbar.php @@ -1,5 +1,13 @@
+ +
+ + +
+
+ + isvisitor()) { ?> @@ -14,7 +22,7 @@ -User level : level() ?> +level() ?> @@ -33,17 +41,18 @@ User level : level() ?> iseditor()) { ?> - -home + +>home +>media +>font isadmin()) { ?> -font -admin +>admin -| github↝ +>info diff --git a/app/view/templates/font.php b/app/view/templates/font.php index 6e55686..90614a9 100644 --- a/app/view/templates/font.php +++ b/app/view/templates/font.php @@ -5,7 +5,7 @@ - insert('backtopbar', ['user' => $user]) ?> + insert('backtopbar', ['user' => $user, 'tab' => 'font']) ?>
diff --git a/app/view/templates/home.php b/app/view/templates/home.php index a83361d..87cdb8d 100644 --- a/app/view/templates/home.php +++ b/app/view/templates/home.php @@ -8,7 +8,7 @@ - insert('backtopbar', ['user' => $user]) ?> + insert('backtopbar', ['user' => $user, 'tab' => 'home']) ?> iseditor()) { ?> diff --git a/app/view/templates/info.php b/app/view/templates/info.php new file mode 100644 index 0000000..231a114 --- /dev/null +++ b/app/view/templates/info.php @@ -0,0 +1,25 @@ +layout('layout', ['title' => 'info', 'css' => $css . 'home.css']) ?> + + +start('page') ?> + + + + insert('backtopbar', ['user' => $user, 'tab' => 'info']) ?> + + +
+ +

Info

+ +πŸ±β€πŸ‘€ Github + +πŸ“• Manual +🌡 Website + +

About

+ +
+ + +stop('page') ?> \ No newline at end of file diff --git a/app/view/templates/media.php b/app/view/templates/media.php index 31e3ad0..043000d 100644 --- a/app/view/templates/media.php +++ b/app/view/templates/media.php @@ -1 +1,66 @@ -layout('layout', ['title' => 'Media']) ?> +layout('layout', ['title' => 'media', 'css' => $css . 'home.css']) ?> + + +start('page') ?> + + + + insert('backtopbar', ['user' => $user, 'tab' => 'media']) ?> + + +
+ +

Media

+ + + + + + + + + + + + + + + + + +
idextensionpathtypesizewidthheightlengh
id() ?>extension() ?>path() ?>type() ?>size()) ?>width() ?>height() ?>length() ?>
+ +

Favicon

+ + + + + + + + + + + + + + + +
idextensionpathsizewidthheight
id() ?>extension() ?>path() ?>size()) ?>width() ?>height() ?>
+ +
+ + +stop('page') ?> \ No newline at end of file -- cgit v1.2.3