'1', 'form' => 'optionmenu', 'selclass' => 'inputbox', )); $opt = array_merge((array)$FPLOptionMenuOpt, (array)$opt); if(IsEnabled($EnableFPLOptionMenuJS, 1) && !$HTMLHeaderFmt['optionmenu']) $HTMLHeaderFmt['optionmenu'] = "\n"; ## get the list of pages $matches = array_values(MakePageList($pagename, $opt, 0)); ## extract page subset according to 'count=' parameter if (@$opt['count']) { list($r0, $r1) = CalcRange($opt['count'], count($matches)); if ($r1 < $r0) $matches = array_reverse(array_slice($matches, $r1-1, $r0-$r1+1)); else $matches = array_slice($matches, $r0-1, $r1-$r0+1); } $out = array(); $out[] = "
\n"; $out[] = " \n"; $out[] = "