Beispiel #1
0
    <a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=<?php 
    print mw()->url->current();
    ?>
" target="_blank"><span class="mw-icon-facebook"></span></a>

<?php 
}
?>

<?php 
if ($twitter_enabled) {
    ?>

    <a href="https://twitter.com/intent/tweet?text=<?php 
    print content_title();
    ?>
&url=<?php 
    print mw()->url->current();
    ?>
" target="_blank"><span class="mw-icon-twitter"></span></a>

<?php 
}
?>


<?php 
if ($googleplus_enabled) {
    ?>
 function content_header($title, $breadcrumbs = [])
 {
     $header = content_title($title);
     $header .= breadcrumbs($breadcrumbs);
     return $header;
 }