server/php/basic/public_html/renkan_read.php
author rougeronj
Fri, 12 Jun 2015 15:41:26 +0200
changeset 479 be510a7fc5ac
parent 442 adb907bba956
permissions -rw-r--r--
send the id to the template and construct an proper url for each node passing the id to the parameter idNode

<?php

    require_once(realpath(dirname(__FILE__) . "/../resources/config.php"));

    require_once(LIBRARY_PATH . "/templateFunctions.php");

    $variables = ['config' => $config, 'renkanId' => $_GET['renkanId']];
    $css = [
        'static/lib/renkan/css/renkan.css'
    ];

    renderLayoutWithContentFile("renkan_read.php", $variables, $css);