Lines Matching refs:level
460 $level = 0;
463 $nl = intval($it['level']);
464 $cp = ($nl <=> $level);
467 while ($level < $nl) {
468 echo DOKU_LF . $prefix . str_repeat(DOKU_TAB, $level*2 + 2) . '<ol>'.NL;
469 $level++;
472 while ($level > $nl) {
473 echo DOKU_LF . $prefix . str_repeat(DOKU_TAB, $level*2) . '</ol>'.NL;
474 echo $prefix . str_repeat(DOKU_TAB, $level*2-1) . '</li>'.NL;
475 $level--;
484 $level = $nl;
487 for ($i = $level-1; $i > 0; $i--) {