Esempio n. 1
0
function if_last_section($atts, $thing)
{
    global $thissection;
    assert_section();
    return parse(EvalElse($thing, !empty($thissection['is_last'])));
}
Esempio n. 2
0
function if_active_section($atts, $thing)
{
    global $thissection, $s;
    assert_section();
    return parse(EvalElse($thing, $thissection['name'] == $s));
}