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/blog/drafts.php | |
parent | b0c23ea84327d48e3a4383fac3e795c2dc0a1215 (diff) | |
download | Bits-1ed8a37bea8882cd3a1aa0f421dbc15493a781a0.tar.gz Bits-1ed8a37bea8882cd3a1aa0f421dbc15493a781a0.zip |
Traduction into french of some parts of the site.
Diffstat (limited to 'tpl/blog/drafts.php')
-rw-r--r-- | tpl/blog/drafts.php | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/tpl/blog/drafts.php b/tpl/blog/drafts.php index 510f428..6e18a6c 100644 --- a/tpl/blog/drafts.php +++ b/tpl/blog/drafts.php @@ -1,11 +1,13 @@ <?php +$title = "Mes articles"; + require("tpl/general/top.php"); echo '<div class="small_right">'; -echo '<a href="post-blog">post a message</a></div>'; +echo '<a href="post-blog">écrire un article</a></div>'; -echo '<h2>My drafts</h2>'; +echo '<h2>Mes brouillons</h2>'; if (count($drafts) > 0) { echo '<table><tr><th>Title</th><th>Actions</th></tr>'; @@ -20,27 +22,27 @@ if (count($drafts) > 0) { echo $post['text_html']; echo '</div>';*/ echo '<tr><td><a href="view-blog-' . $post['id'] . '">' . $post['title'] . '</a></td>'; - echo '<td><a href="edit-blog-' . $post['id'] . '">edit</a>'; - echo ' | <a href="delete-blog-' . $post['id'] . '">delete</a>'; - echo ' | <a href="publish-blog-' . $post['id'] . '">publish</a></td></tr>'; + echo '<td><a href="edit-blog-' . $post['id'] . '">modifier</a>'; + echo ' | <a href="delete-blog-' . $post['id'] . '">supprimer</a>'; + echo ' | <a href="publish-blog-' . $post['id'] . '">publier</a></td></tr>'; } echo '</table>'; } else { - echo '<p>No drafts</p>'; + echo '<p>Aucun brouillon</p>'; } -echo '<h2>My published posts</h2>'; +echo '<h2>Mes articles publiés</h2>'; if (count($pub) > 0) { - echo '<table><tr><th>Title</th><th>Actions</th></tr>'; + echo '<table><tr><th>Titre</th><th>Actions</th></tr>'; foreach ($pub as $post) { echo '<tr><td><a href="view-blog-' . $post['id'] . '">' . $post['title'] . '</a></td>'; - echo '<td><a href="edit-blog-' . $post['id'] . '">edit</a>'; - echo ' | <a href="delete-blog-' . $post['id'] . '">delete</a></td></tr>'; + echo '<td><a href="edit-blog-' . $post['id'] . '">modifier</a>'; + echo ' | <a href="delete-blog-' . $post['id'] . '">supprimer</a></td></tr>'; } echo '</table>'; } else { - echo '<p>No published posts</p>'; + echo '<p>Aucun article publié</p>'; } |