Example #1
0
function csrf_uri($csrf_role, $target, $for_html = false)
{
    return router::build_csrf_url($csrf_role, $target, false, $for_html, false);
}
Example #2
0
File: tpl.php Project: xpd1437/swap
function link_to($target, $text)
{
    echo '<a href="' . router::build_php_url($target, false, true) . '">' . $text . '</a>';
}