diff options
author | root <root@adnab.me> | 2014-01-31 17:30:35 +0100 |
---|---|---|
committer | root <root@adnab.me> | 2014-01-31 17:30:35 +0100 |
commit | 1ed8a37bea8882cd3a1aa0f421dbc15493a781a0 (patch) | |
tree | d014616096b7f8b94b707626cae46cff0e0608ce /tpl/general | |
parent | b0c23ea84327d48e3a4383fac3e795c2dc0a1215 (diff) | |
download | Bits-1ed8a37bea8882cd3a1aa0f421dbc15493a781a0.tar.gz Bits-1ed8a37bea8882cd3a1aa0f421dbc15493a781a0.zip |
Traduction into french of some parts of the site.
Diffstat (limited to 'tpl/general')
-rw-r--r-- | tpl/general/static.php | 4 | ||||
-rw-r--r-- | tpl/general/top.php | 16 |
2 files changed, 10 insertions, 10 deletions
diff --git a/tpl/general/static.php b/tpl/general/static.php new file mode 100644 index 0000000..0ae27fe --- /dev/null +++ b/tpl/general/static.php @@ -0,0 +1,4 @@ +<?php +require("top.php"); +echo $text; +require("bottom.php"); diff --git a/tpl/general/top.php b/tpl/general/top.php index 01f7e59..f060b42 100644 --- a/tpl/general/top.php +++ b/tpl/general/top.php @@ -23,23 +23,19 @@ global $user, $apps; //These might be hidden because this page is called from sq <div class="right"> <?php if ($user['id'] == 0) { - echo '<a href="new-account">Register</a><a href="?login">Login</a>'; + echo '<a href="new-account">Inscription</a><a href="/?login">Connexion</a>'; } else { - echo '<a href="?logout">Logout (' . $user['name'] . ')</a>'; + echo '<a href="/?logout">Déconnexion (' . $user['name'] . ')</a>'; } ?> </div> <div class="left"> - <a href="blog">Home</a> - <a href="list-account">People</a> + <a href="/">Accueil</a> + <a href="/blog">Blog</a> <?php if ($user['id'] != 0) { - echo '<a href="user-notes-' . $user['id'] . '">notes</a>'; - echo '<a href="file">files</a>'; -} else { - if ($user['priv'] >= $apps['file']['upload']) { - echo '<a href="upload-file">upload file</a>'; - } + echo '<a href="user-notes-' . $user['id'] . '">bloc-notes</a>'; + echo '<a href="file">fichiers</a>'; } ?> </div> |