Lines Matching refs:item
105 function ethernet_svg($row, $position, $port, $item, $opt, $imagewidth, $imageheight) { argument
112 if($item['label'] == '' && $item['comment'] == '') {
113 $item['label'] = '?';
114 $item['comment'] = 'This port has not been documented.';
115 $item['color'] = '#333';
120 $fullcaption .= "<table><tr><th>Label:</th><td>" . $item['label'] . "</td></tr>";
121 $fullcaption .= "<tr><th>Comment:</th><td>" . $item['comment'] . "</td></tr><table></div>";
160 if(!substr($item['color'],0,1) == "#") { $item['color'] = '#CCCCCC'; }
161 $image = str_replace("#REPLACECOLOR#", $item['color'], $image);
164 $image = str_replace("#REPLACELABEL#", $item['label'], $image);
195 $item = array();
201 $item['port'] = $matches[0][0];
202 $item['label'] = htmlspecialchars(trim($matches[0][1], '"\''), ENT_QUOTES);
205 $item['color'] = $matches[0][2];
207 $item['comment'] = $matches[0][2];
211 $item['comment'] .= " ".( isset( $matches[0][$x] ) ? $matches[0][$x] : '' );
213 …$csv .= '"' . $item['port'] . '","' . $item['label'] . '","' . trim($item['comment'], '"\' ') . '"…
214 …$item['comment'] = str_replace(array("\r","\n"), '', p_render('xhtml',p_get_instructions(trim($ite…
215 $items[$item['port']] = $item;