Lines Matching +refs:text +refs:line
72 foreach ( $lines as $line ) {
74 $line = preg_replace('/(?<![&\\\\])#.*$/','',$line);
75 $line = str_replace('\\#','#',$line);
76 $line = trim($line);
77 if(empty($line)) continue;
78 $line = preg_split('/\s*:\s*/',$line,2);
79 $line[0] = strtolower($line[0]);
83 switch($line[0]){
88 $cols = explode(',',$line[1]);
97 $data['title'] = $line[1];
102 $cols = explode(',',$line[1]);
109 $data['min'] = abs((int) $line[1]);
113 $data['limit'] = abs((int) $line[1]);
117 $column = $this->dthlp->_column($line[1]);
133 $flt = $this->dthlp->_parse_filter($line[1]);
141 $data['page'] = cleanID($line[1]);
144 msg("data plugin: unknown option '".hsc($line[0])."'",-1);
230 $text = '<div class="table dataaggregation">'
233 $text .= '<tr>';
237 $text .= '<th>';
242 $text .= '<span>↓</span> ';
245 $text .= '<span>↑</span> ';
255 $text .= '<a href="'.wl($ID,$params).
258 $text .= '</th>';
260 $text .= '</tr>';
261 return $text;
276 $text = '';
279 $text .= '<tr><th colspan="'.count($data['cols']).'">';
290 $text .= '<a href="'.wl($ID,$params).
295 $text .= ' ';
305 $text .= '<a href="'.wl($ID,$params).
309 $text .= '</th></tr>';
312 $text .= '</table></div>';
313 return $text;