aboutsummaryrefslogtreecommitdiff
path: root/app/view
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2019-08-17 19:49:51 +0200
committervincent-peugnet <v.peugnet@free.fr>2019-08-17 19:49:51 +0200
commit11233711f4e16957fbe6f5c4f4399e269e87f68f (patch)
tree74e55889f7deb08871eafcefac61cba0a230f65d /app/view
parent463f06ec02ecc02a70147b6494e23ec93ca74420 (diff)
downloadwcms-11233711f4e16957fbe6f5c4f4399e269e87f68f.tar.gz
wcms-11233711f4e16957fbe6f5c4f4399e269e87f68f.zip
footer
Diffstat (limited to 'app/view')
-rw-r--r--app/view/templates/backtopbar.php4
-rw-r--r--app/view/templates/footer.php5
-rw-r--r--app/view/templates/home.php3
-rw-r--r--app/view/templates/media.php2
4 files changed, 11 insertions, 3 deletions
diff --git a/app/view/templates/backtopbar.php b/app/view/templates/backtopbar.php
index 06ec1fe..91ccd89 100644
--- a/app/view/templates/backtopbar.php
+++ b/app/view/templates/backtopbar.php
@@ -1,4 +1,4 @@
-<div id="topbar">
+<header id="topbar">
<span id="search">
<form action="<?= $this->url('search') ?>" method="post">
@@ -66,4 +66,4 @@ if($user->isadmin()) {
<?php } ?>
-</div> \ No newline at end of file
+</header> \ No newline at end of file
diff --git a/app/view/templates/footer.php b/app/view/templates/footer.php
new file mode 100644
index 0000000..2960f6a
--- /dev/null
+++ b/app/view/templates/footer.php
@@ -0,0 +1,5 @@
+<footer class="hidephone">
+ Verson : <?= $footer['version'] ?>
+ | Database : <?= $footer['database'] ?>
+ | Pages : <?= $footer['total'] ?>
+</footer> \ No newline at end of file
diff --git a/app/view/templates/home.php b/app/view/templates/home.php
index c226a9d..bf00301 100644
--- a/app/view/templates/home.php
+++ b/app/view/templates/home.php
@@ -199,6 +199,9 @@
<?php } ?>
+<?php $this->insert('footer', ['footer' => $footer]) ?>
+
+
</body>
diff --git a/app/view/templates/media.php b/app/view/templates/media.php
index cea51fb..b13c58a 100644
--- a/app/view/templates/media.php
+++ b/app/view/templates/media.php
@@ -99,7 +99,7 @@ treecount($dirlist, 'media', 0, 'media', $dir, $opt);
<input type="hidden" name="path" value="<?= $dir ?>">
<label for="moveto">Selected medias :</label>
<select name="dir" id="moveto" >
- <option value="" selected>---select destination---</option>
+ <option selected>---select destination---</option>
<option value="<?= Model::MEDIA_DIR ?>">/</option>
<?php
foreach ($pathlist as $path) {