Lines Matching refs:attr

428 		$attr = '
448 '.$attr.' # attributes
488 '.$attr.'> # attributes followed by > and \n
498 '.$attr.'>[ ]*\n # attributes followed by >
509 '.$attr.' # attributes
1816 function doExtraAttributes($tag_name, $attr) { argument
1823 if (empty($attr)) return "";
1826 preg_match_all('/[#.][-_:a-zA-Z0-9]+/', $attr, $matches);
2482 $attr = $this->doExtraAttributes("a", $dummy =& $matches[8]);
2492 $result .= $attr;
2592 $attr = $this->doExtraAttributes("img", $dummy =& $matches[8]);
2601 $result .= $attr;
2652 $attr = $this->doExtraAttributes("h$level", $dummy =& $matches[2]);
2653 $block = "<h$level$attr>".$this->runSpanGamut($matches[1])."</h$level>";
2658 $attr = $this->doExtraAttributes("h$level", $dummy =& $matches[3]);
2659 $block = "<h$level$attr>".$this->runSpanGamut($matches[2])."</h$level>";
2748 if (preg_match('/^ *-+: *$/', $s)) $attr[$n] = ' align="right"';
2749 else if (preg_match('/^ *:-+: *$/', $s))$attr[$n] = ' align="center"';
2750 else if (preg_match('/^ *:-+ *$/', $s)) $attr[$n] = ' align="left"';
2751 else $attr[$n] = '';
2759 $attr = array_pad($attr, $col_count, '');
2766 $text .= " <th$attr[$n]>".$this->runSpanGamut(trim($header))."</th>\n";
2785 $text .= " <td$attr[$n]>".$this->runSpanGamut(trim($cell))."</td>\n";
3105 $attr = " rev=\"footnote\"";
3109 $attr .= " class=\"$class\"";
3114 $attr .= " title=\"$title\"";
3131 $attr = str_replace("%%", ++$num, $attr);
3135 $backlink = "<a href=\"#fnref:$note_id\"$attr>&#8617;</a>";
3137 $backlink .= " <a href=\"#fnref$ref_num:$note_id\"$attr>&#8617;</a>";
3174 $attr = " rel=\"footnote\"";
3178 $attr .= " class=\"$class\"";
3183 $attr .= " title=\"$title\"";
3186 $attr = str_replace("%%", $num, $attr);
3191 "<a href=\"#fn:$node_id\"$attr>$num</a>".