Lines Matching defs:item
137 function html_list($item) {
140 if(!empty($item['label'])) {
141 $base = $item['label'];
143 $base = ':' . $item['id'];
147 if($item['id'] == '*') $item['id'] = '';
149 if ($item['id']) {
154 if($item['type'] == 'd') {
155 $ret .= '<a href="' . $item['id'] . '" class="idx_dir">';
160 $ret .= noNS($item['id']);
164 if($item['id']) $ret .= '<img class="rename" src="'. DOKU_BASE .'lib/plugins/move/images/rename.png" />';
171 * print the opening LI for a list item
173 * @param array $item
176 function html_li($item) {
177 if($item['id'] == '*') $item['id'] = '';
180 $params['class'] = ' type-' . $item['type'];
181 if($item['type'] == 'd') $params['class'] .= ' ' . ($item['open'] ? 'open' : 'closed');
182 $params['data-name'] = noNS($item['id']);
183 $params['data-id'] = $item['id'];