le dossier out passe dans le dossier app
[mtweb] / mw / app / out / default / views / footer.php
diff --git a/mw/app/out/default/views/footer.php b/mw/app/out/default/views/footer.php
new file mode 100644 (file)
index 0000000..de091ed
--- /dev/null
@@ -0,0 +1,19 @@
+<p id="contact_links">
+<?php if($this->config("contact_form")) : ?>
+  <a href="<?php echo $this->url("forms/contact"); ?>">contact</a>
+<?php endif; ?>
+</p>
+
+<p>
+<?php if(!($user = $this->user())) : ?>
+   <a href="<?php echo $this->url("users/identification"); ?>">s'identifier</a>
+<?php else : ?>
+   Bienvenue <strong><?php echo $user["login"]; ?></strong>
+  | <a href="<?php echo $this->url("users"); ?>">compte</a>
+<?php if($this->status_ok("admin")) : ?>
+  | <a href="<?php echo $this->url("admin"); ?>">admin</a>
+<?php endif; ?>
+  | <a href="<?php echo $this->url("users/identification/logout"); ?>">deconnexion</a>
+<?php endif; ?>
+  | <a href="http://mtweb.dj3c1t.com/">mtweb</a>
+</p>