getName() . '.php';
if(file_exists($viewFile))
{
// $adresses postale et e-mail
if(!empty($node->getNodeData()->getData()))
{
extract($node->getNodeData()->getData());
}
$this->useChildrenBuilder($node);
$breadcrumb = $this->html;
$empty_admin_zone = '';
if($_SESSION['admin'])
{
// données du footer
$buttons_footer_name = '
';
$buttons_footer_address = '
';
$buttons_footer_email = '
';
// zone admin
$empty_admin_zone = 'empty_admin_zone';
if(MainBuilder::$modif_mode){
$mode = 'modification de page';
$div_admin = 'logged_in modif_mode';
}
else{
$mode = 'administrateur';
$div_admin = 'logged_in';
}
$link_new_page = new URL(['page' => 'nouvelle_page']);
$link_change_paths = new URL(['page' => 'menu_chemins']);
$link_change_password = new URL(['page' => 'user_edit', 'from' => CURRENT_PAGE]);
isset($_GET['id']) ? $link_change_password->addParams(['id' => $_GET['id']]) : '';
$link_logout = new URL(['action' => 'deconnection', 'from' => CURRENT_PAGE]);
isset($_GET['id']) ? $link_logout->addParams(['id' => $_GET['id']]) : '';
$zone_admin = '