Lines Matching +refs:text +refs:line
51 foreach ($lines as $num => $line) {
53 $line = preg_replace('/(?<![&\\\\])#.*$/', '', $line);
54 $line = str_replace('\\#','#',$line);
55 $line = trim($line);
56 if(empty($line)) continue;
57 $line = preg_split('/\s*:\s*/', $line, 2);
58 if (strtolower($line[0]) == 'template') {
59 $template = $line[1];
239 $text = p_render('xhtml', $instr, $info);
245 $text = preg_replace($patterns,$replace,$text);
248 $text = str_replace($replacers['keys_id'][$num], $vals, $text);
252 if(strpos($text, '@@Page@@') !== false) {
257 $text = preg_replace('/@@.*?@@/', '', $text);
259 $R->doc .= $text;
276 $text = '';
289 $text .= '<a href="'.wl($ID,$params).
293 $text .= '<span class="prev disabled">← '.$this->getLang('prevpage').'</span>';
300 $text .= '<a href="'.wl($ID, $params).'"' . $selected . '>' . $i. '</a>';
309 $text .= '<a href="'.wl($ID,$params).
313 $text .= '<span class="next disabled">'.$this->getLang('nextpage').' →</span>';
315 return '<div class="prevnext">' . $text . '</div>';
317 return $text;