Lines Matching refs:item

128 …if (preg_match('/(wire|cable)\s*guide|pdu|patch|term server|lcd/i',$item['model'])) { $color = '#b…
129 …if (preg_match('/blank/i', $item['model'])) { $color = '#f…
130 …if (preg_match('/netapp|fas\d/i', $item['model'])) { $color = '#0…
131 …if (preg_match('/^Sh(elf)?\s/i', $item['model'])) { $color = '#0…
132 …if (preg_match('/cisco|catalyst|nexus/i', $item['model'])) { $color = '#F…
133 …if (preg_match('/brocade|mds/i', $item['model'])) { $color = '#8…
134 …if (preg_match('/ucs/i', $item['model'])) { $color = '#c…
135 …if (preg_match('/ibm/i', $item['model'])) { $color = '#6…
136 …if (preg_match('/hp/i', $item['model'])) { $color = '#A…
137 if (!$item['model']) { $color = '#FFF'; }
163 $item = array();
167 $item['u_bottom'] = $matches[1];
168 $item['u_size'] = $matches[2];
169 $item['model'] = preg_replace('/^"/','',preg_replace('/"$/','',$matches[3]));
170 $item['name'] = preg_replace('/^"/','',preg_replace('/"$/','',$matches[4]));
171 $item['color'] = $matches[5] ? $matches[5] : $this->autoselect_color($item);
172 $item['linktitle'] = '';
173 $item['link'] = substr($matches[6], 5);
174 if( '[' == substr($item['link'], 0, 1)) {
175 if(preg_match( '/^\[\[[^|]+\|([^]]+)]]$/', $item['link'], $titlematch )) {
176 $item['linktitle'] = ' title="'.hsc($titlematch[1]). '"';
178 $item['link']=wl(cleanID(preg_replace( '/^\[\[([^]|]+).*/', '$1', $item['link'] )));
180 $item['comment'] = $matches[7];
181 $item['u_top'] = $item['u_bottom'] + ($opt['descending']?-1:1)*($item['u_size'] - 1);
182 $items[$item['u_top']] = $item;
183 …$csv .= "\"$item[model]\",\"$item[name]\",$opt[name],$item[u_bottom],$item[u_size],\"$item[comment…
200 $item = $items[$u];
203 …"<td class='item' rowspan='$item[u_size]' style='background-color: $item[color];' title=\"".htmlsp…
204 ($item['link'] ? '<a href="'.$item['link'].'"'.$item['linktitle'].'>' : '').
206 "$item[model]" .
207 ($item['comment'] ? ' *' : '').
209 "<div style='float: right; margin-left: 3em; '>$item[name]".
211 ($item['link'] ? '</a>' : '').
213 for ($d = 1; $d < $item['u_size']; $d++) {