social networks

This commit is contained in:
Diego Najar 2017-10-14 18:19:37 +02:00
parent 63934cf82a
commit 8fa81eb7f5
2 changed files with 59 additions and 21 deletions

View File

@ -51,30 +51,68 @@
<div class="row"> <div class="row">
<div class="col-lg-8 col-md-10 mx-auto"> <div class="col-lg-8 col-md-10 mx-auto">
<ul class="list-inline text-center"> <ul class="list-inline text-center">
<?php
if ($Site->twitter()) {
echo '
<li class="list-inline-item"> <li class="list-inline-item">
<a href="<?php echo $Site->twitter() ?>"> <a href="'.$Site->twitter().'">
<span class="fa-stack fa-lg"> <span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i> <i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i> <i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
</span> </span>
</a> </a>
</li> </li>
';
}
if ($Site->facebook()) {
echo '
<li class="list-inline-item"> <li class="list-inline-item">
<a href="<?php echo $Site->facebook() ?>"> <a href="'.$Site->facebook().'">
<span class="fa-stack fa-lg"> <span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i> <i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i> <i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
</span> </span>
</a> </a>
</li> </li>
';
}
if ($Site->github()) {
echo '
<li class="list-inline-item"> <li class="list-inline-item">
<a href="<?php echo $Site->github() ?>"> <a href="'.$Site->github().'">
<span class="fa-stack fa-lg"> <span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i> <i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-github fa-stack-1x fa-inverse"></i> <i class="fa fa-github fa-stack-1x fa-inverse"></i>
</span> </span>
</a> </a>
</li> </li>
';
}
if ($Site->codepen()) {
echo '
<li class="list-inline-item">
<a href="'.$Site->codepen().'">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-codepen fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
';
}
if ($Site->instagram()) {
echo '
<li class="list-inline-item">
<a href="'.$Site->instagram().'">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-instagram fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
';
}
?>
</ul> </ul>
<p class="copyright text-muted"><?php echo $Site->footer() ?> - Powered by <a href="https://www.bludit.com">BLUDIT</a></p> <p class="copyright text-muted"><?php echo $Site->footer() ?> - Powered by <a href="https://www.bludit.com">BLUDIT</a></p>
</div> </div>

View File

@ -39,11 +39,11 @@
<div class="clearfix"> <div class="clearfix">
<?php <?php
if(Paginator::showPrev()) { if(Paginator::showPrev()) {
echo '<a class="btn btn-secondary float-left" href="'.Paginator::prevPageUrl().'">&larr; Previous Page</a>'; echo '<a class="btn btn-secondary float-left" href="'.Paginator::prevPageUrl().'">&larr; '.$Language->get('Previuos page').'</a>';
} }
if(Paginator::showNext()) { if(Paginator::showNext()) {
echo '<a class="btn btn-secondary float-left" href="'.Paginator::nextPageUrl().'">Next Page &rarr;</a>'; echo '<a class="btn btn-secondary float-left" href="'.Paginator::nextPageUrl().'">'.$Language->get('Next page').' &rarr;</a>';
} }
?> ?>
</div> </div>