Lines Matching +refs:text +refs:line

94         foreach($lines as $line) {
96 $line = preg_replace('/(?<![&\\\\])#.*$/', '', $line);
97 $line = str_replace('\\#', '#', $line);
98 $line = trim($line);
99 if(empty($line)) continue;
100 $line = preg_split('/\s*:\s*/', $line, 2);
101 $line[0] = strtolower($line[0]);
105 switch($line[0]) {
110 $cols = explode(',', $line[1]);
119 $dataau['title'] = $line[1];
124 $cols = $this->parseValues($line[1]);
128 $cols = explode(',', $line[1]);
142 $cols = explode(',', $line[1]);
149 $dataau['min'] = abs((int) $line[1]);
153 $dataau['limit'] = abs((int) $line[1]);
157 $column = $this->dthlp->_column($line[1]);
176 $flt = $this->dthlp->_parse_filter($line[1]);
184 $dataau['page'] = cleanID($line[1]);
187 $dataau['dynfilters'] = (bool) $line[1];
190 $dataau['rownumbers'] = (bool) $line[1];
193 $dataau['summarize'] = (bool) $line[1];
196 $dataau['sepbyheaders'] = (bool) $line[1];
199 msg("dataau plugin: unknown option '" . hsc($line[0]) . "'", -1);
370 $text = '<div class="table dataaggregation">';
387 $text .= '<div class="filter">';
388 …$text .= '<h4>' . sprintf($this->getLang('tablefilteredby'), hsc(implode(' & ', $fltrs))) . '</h4>…
389 $text .= '<div class="resetfilter">' .
392 $text .= '</div>';
395 $text .= '<table class="inline dataauplugin_table ' . $dataau['classes'] . '">';
397 $text .= '<tr>';
400 $text .= '<th>#</th>';
410 $text .= '<th' . $width . '>';
415 $text .= '<span>&darr;</span> ';
418 $text .= '<span>&uarr;</span> ';
423 $text .= '<a href="' . wl($ID, array('dataausrt' => $ckey) + $cur_params) .
425 $text .= '</th>';
427 $text .= '</tr>';
431 $text .= '<tr class="dataflt">';
434 $text .= '<th></th>';
438 $text .= '<th>';
456 $text .= $form->getForm();
457 $text .= '</th>';
459 $text .= '</tr>';
462 return $text;
491 $text = '';
494 $text .= '<tr>';
497 if($dataau['rownumbers']) $text .= '<td></td>';
500 $text .= '<td class="' . $dataau['align'][$i] . 'align">';
502 $text .= '∑ ' . $this->sums[$i];
504 $text .= '&nbsp;';
506 $text .= '</td>';
508 $text .= '<tr>';
513 … $text .= '<tr><th colspan="' . (count($dataau['cols']) + ($dataau['rownumbers'] ? 1 : 0)) . '">';
528 $text .= '<a href="' . wl($ID, $params) .
533 $text .= '&nbsp;';
545 $text .= '<a href="' . wl($ID, $params) .
549 $text .= '</th></tr>';
552 $text .= '</table></div>';
553 return $text;
738 * @param string $line
741 protected function parseValues($line) { argument
747 $len = strlen($line);
749 if($line{$i} == '"') {
756 if($line{$i + 1} == '"') {
770 } else if($line{$i} == ',') {
784 $value .= $line{$i};