Ajout bouton éditer news
9 feb 2017
pour la version 0.1.5.3
<?php
if($NeoFrag->access->admin()) {
$url = "http://".$_SERVER['HTTP_HOST']."/";
echo '<button onclick="location.href = \''.$url.'admin/news/'.$data['news_id'].'/'.url_title($data['title']).'.html\'" class="btn" style="border-radius:5px;float:right; margin-top:0px;">MODIFIER</button>';
}
?>