Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
anchor-theme
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tetras-libre
anchor-theme
Commits
7f582b66
Verified
Commit
7f582b66
authored
6 years ago
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
hide categories
parent
bf6c0b19
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
article.php
+2
-0
2 additions, 0 deletions
article.php
posts.php
+2
-1
2 additions, 1 deletion
posts.php
with
4 additions
and
1 deletion
article.php
+
2
−
0
View file @
7f582b66
...
...
@@ -20,7 +20,9 @@
<?php
echo
total_comments
();
?>
<?php
echo
pluralise
(
total_comments
(),
"commentaire"
,
"s"
)
?>
.
<?php
endif
;
?>
<?php
echo
article_custom_field
(
'attribution'
);
?>
</p>
<ul
style=
"list-style:none;box-sizing:border-box"
>
<li
style=
"float:left;padding:15px"
><a
href=
"
<?php
echo
article_previous_url
()
?>
"
>
Article précédent
</a></li>
<!--
<li style="float:left;padding:15px"><a href="
<?php
echo
article_category_url
()
?>
">Tous les articles de la catégorie
<?php
echo
article_category
();
?>
</a></li>
-->
<li
style=
"float:left;padding:15px"
><a
href=
"
<?php
echo
article_next_url
()
?>
"
>
Article suivant
</a></li>
</ul>
</section>
...
...
This diff is collapsed.
Click to expand it.
posts.php
+
2
−
1
View file @
7f582b66
...
...
@@ -21,7 +21,7 @@
<h2>
Dernier article
</h2>
<?php
include
(
"single_article.php"
);
?>
</li>
<!--
<?php
if
(
!
preg_match
(
'/category.*/'
,
current_url
()))
:
?>
<li id="
<?php
echo
current_url
();
?>
" style="background:none">
<h2> Catégories d'articles </h2>
...
...
@@ -36,6 +36,7 @@
<?php
endwhile
;
?>
</li>
<?php
endif
;
?>
-->
<?php
if
(
total_posts
()
>
1
||
$title
==
"Blog"
)
:
?>
<li
style=
"background:none"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment