Lines Matching refs:attr
413 $attr = '
433 '.$attr.' # attributes
473 '.$attr.'> # attributes followed by > and \n
483 '.$attr.'>[ ]*\n # attributes followed by >
494 '.$attr.' # attributes
2263 function _doHeaders_attr($attr) { argument
2264 if (empty($attr)) return "";
2265 return " id=\"$attr\"";
2271 $attr = $this->_doHeaders_attr($id =& $matches[2]);
2272 $block = "<h$level$attr>".$this->runSpanGamut($matches[1])."</h$level>";
2277 $attr = $this->_doHeaders_attr($id =& $matches[3]);
2278 $block = "<h$level$attr>".$this->runSpanGamut($matches[2])."</h$level>";
2367 if (preg_match('/^ *-+: *$/', $s)) $attr[$n] = ' align="right"';
2368 else if (preg_match('/^ *:-+: *$/', $s))$attr[$n] = ' align="center"';
2369 else if (preg_match('/^ *:-+ *$/', $s)) $attr[$n] = ' align="left"';
2370 else $attr[$n] = '';
2384 $text .= " <th$attr[$n]>".$this->runSpanGamut(trim($header))."</th>\n";
2403 $text .= " <td$attr[$n]>".$this->runSpanGamut(trim($cell))."</td>\n";
2704 $attr = " rev=\"footnote\"";
2708 $attr .= " class=\"$class\"";
2713 $attr .= " title=\"$title\"";
2727 $attr = str_replace("%%", ++$num, $attr);
2731 $backlink = "<a href=\"#fnref:$note_id\"$attr>↩</a>";
2759 $attr = " rel=\"footnote\"";
2763 $attr .= " class=\"$class\"";
2768 $attr .= " title=\"$title\"";
2771 $attr = str_replace("%%", $num, $attr);
2776 "<a href=\"#fn:$node_id\"$attr>$num</a>".