soo_if_frontpage Page 2 of 2

soo_if_frontpage source code

 1 : function soo_if_frontpage($atts$thing) {
 2 :     extract(lAtts(array(
 3 :         'section'   =>  '',
 4 :         'pg'        => false,
 5 :     ), $atts));
 6 :     global $pretext$is_article_list;
 7 :     return parse(EvalElse($thing,
 8 :         ( $section in_list($pretext['s'], $section) : $pretext['s'] == 'default' ) and
 9 :         ( $pg $pretext['pg'] < true ) and
10 :         empty($pretext['c']) and empty($pretext['q']) and empty($pretext['author'])
11 :         and empty($pretext['month']) and $is_article_list));
12 : }