projects
/
mtweb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
roles multiples possible par user, administrables
[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
index
4c1750f
..
12f5305
100644
(file)
--- a/
mw/app/out/default/views/footer.php
+++ b/
mw/app/out/default/views/footer.php
@@
-1,12
+1,14
@@
<ul>
<ul>
-<?php if($this->config("contact_form")) : ?>
+<?php if($this->config("contact_form")
&& $this->status_ok("forms/contact")
) : ?>
<li><a href="<?php echo $this->url("forms/contact"); ?>">contact</a></li>
<?php endif; ?>
<?php if(!($user = $this->user())) : ?>
<li><a href="<?php echo $this->url("forms/contact"); ?>">contact</a></li>
<?php endif; ?>
<?php if(!($user = $this->user())) : ?>
-
<li><a href="<?php echo $this->url("users/identification"); ?>">s'identifier</a></li>
+ <li><a href="<?php echo $this->url("users/identification"); ?>">s'identifier</a></li>
<?php else : ?>
<li>Bienvenue <strong><?php echo $user["login"]; ?></strong></li>
<?php else : ?>
<li>Bienvenue <strong><?php echo $user["login"]; ?></strong></li>
- <li><a href="<?php echo $this->url("users"); ?>">compte</a></li>
+ <?php if($this->status_ok("users/infos")) : ?>
+ <li><a href="<?php echo $this->url("users/infos"); ?>">compte</a></li>
+ <?php endif; ?>
<?php if($this->status_ok("admin")) : ?>
<li><a href="<?php echo $this->url("admin"); ?>">admin</a></li>
<?php endif; ?>
<?php if($this->status_ok("admin")) : ?>
<li><a href="<?php echo $this->url("admin"); ?>">admin</a></li>
<?php endif; ?>