Lines Matching refs:item

121   $item=array_shift($data);
122 $l=$item['level'];
127 if ($item['type']=='d'){
128 $nslist[$l][$count[$l]][] = noNS($item['id']);
129 array_push($ret,$item);
130 }elseif($item['type']=='f'){
134 if (!in_array(noNS($item['id']),$nslist[$l][$count[$l]])){
135 array_push($ret,$item);
138 array_push($ret,$item);
166 foreach ($return[$level-1] as $item){
168 if ($search == $item['id']){
169 $item['open']=$item['open'] & 2;
172 if (0 === strpos( $item['id'],$search)){
173 $item['level']= $item['level']-1;
175 array_push($return[$level],$item);
249 $item = array();
299 foreach ($data as $item){
300 if( $item['level'] > $level ){
302 for($i=0; $i<($item['level'] - $level); $i++){
313 elseif( $item['level'] < $level ){
316 for ($i=0; $i<($level - $item['level']); $i++){
326 $level = $item['level'];
329 $ret .= $lifunc($item); //user function
331 $ret .= $func($item); //user function
344 function html_list_index_mod($item){ argument
346 $base = ':'.$item['id'];
348 if($item['type']=='d'){
349 $ret .= '<a href="'.wl($ID,'idx='.$item['id']).'" class="subpages">';
353 $ret .= html_wikilink(':'.$item['id']);
367 function html_list_index_edit($item){ argument
369 $base = ':'.$item['id'];
371 if($item['type']=='d'){
372 … '<a href="javascript:insertIntLink(\''.idfilter($item['id']).'\')" class="subpages_edit" >'.noNS(…
377 …'<a href="javascript:insertIntLink(\''.idfilter($item['id']).'\')" class="wikilink1_edit" >'.noNS(…
391 function html_list_index_mod_old($item){ argument
393 $base = ':'.$item['id'];
395 if($item['type']=='d'){
396 $ret .= '<a href="'.wl($ID,'idx='.$item['id']) .'">'; //.'" class="idx_dir">';
400 $ret .= html_wikilink(':'.$item['id']);
419 function html_li_index_mod($item){ argument
420 if($item['type'] == "f"){
422 }elseif($item['open']){
436 function html_li_edit($item){ argument
437 return '<li class="level'.$item['level'].'">';