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
a169271c
Verified
Commit
a169271c
authored
6 years ago
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
Light footer
parent
ef21492a
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
footer.php
+3
-2
3 additions, 2 deletions
footer.php
functions.php
+6
-5
6 additions, 5 deletions
functions.php
with
9 additions
and
7 deletions
footer.php
+
3
−
2
View file @
a169271c
...
@@ -7,10 +7,11 @@
...
@@ -7,10 +7,11 @@
<?php
echo
html_meta
(
'legal_informations'
);
?>
<?php
echo
html_meta
(
'legal_informations'
);
?>
</div>
</div>
<div
class=
"col-md-6 col-sd-12 barre"
>
<div
class=
"col-md-6 col-sd-12 barre"
>
<?php
social_list
(
"class=col-md-12"
)
?>
<!--
<?php
social_list
(
"class=col-md-12"
)
?>
-->
<ul
class=
"col-md-12 barre"
>
<ul
class=
"col-md-12 barre"
>
<li><a
href=
"mailto:
<?php
echo
social_account
(
'mail'
)
?>
"
<?php
echo
social_logo
(
'mail'
)
.
' '
.
site_meta
(
'mail'
,
''
)
?>
</
a
></li>
<li><a
href=
"
<?php
echo
base_url
();
?>
"
title=
"Retour à l'accueil."
>
Accueil
</a></li>
<li><a
href=
"
<?php
echo
base_url
();
?>
"
title=
"Retour à l'accueil."
>
Accueil
</a></li>
<li><a
href=
"
<?php
echo
base_url
(
'admin'
);
?>
"
title=
"Administration"
>
Administration
</a></li>
<!--
<li><a href="
<?php
echo
base_url
(
'admin'
);
?>
" title="Administration">Administration</a></li>
-->
<li><a
href=
"
<?php
echo
rss_url
();
?>
"
>
<?php
echo
social_logo
(
'rss'
);
?>
RSS
</a></li>
<li><a
href=
"
<?php
echo
rss_url
();
?>
"
>
<?php
echo
social_logo
(
'rss'
);
?>
RSS
</a></li>
</ul>
</ul>
<?php
echo
html_meta
(
'w3c'
);
?>
<?php
echo
html_meta
(
'w3c'
);
?>
...
...
This diff is collapsed.
Click to expand it.
functions.php
+
6
−
5
View file @
a169271c
...
@@ -78,11 +78,12 @@ function social_account($network) {
...
@@ -78,11 +78,12 @@ function social_account($network) {
function
social_list
(
$properties
)
{
function
social_list
(
$properties
)
{
$NETWORKS_URLS
=
array
(
$NETWORKS_URLS
=
array
(
'mail'
=>
'mailto:'
,
'mail'
=>
'mailto:'
,
'github'
=>
'https://github.com/'
,
/* 'github' => 'https://github.com/', */
'framasphere'
=>
'https://framasphere.org/people/'
,
/* 'framasphere' => 'https://framasphere.org/people/', */
'mastodon'
=>
'https://framapiaf.org/'
,
/* 'mastodon' => 'https://framapiaf.org/', */
'facebook'
=>
'https://facebook.com/'
,
/* 'facebook' => 'https://facebook.com/', */
'twitter'
=>
'https://twitter.com/'
,
/* 'twitter' => 'https://twitter.com/', */
/* 'linkedin' => 'https://linkedin.com', */
);
);
echo
"<ul "
.
$properties
.
">"
;
echo
"<ul "
.
$properties
.
">"
;
foreach
(
$NETWORKS_URLS
as
$network
=>
$network_url
){
foreach
(
$NETWORKS_URLS
as
$network
=>
$network_url
){
...
...
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