Index: trunk/extensions/wikihiero/wikihiero.body.php |
— | — | @@ -224,7 +224,7 @@ |
225 | 225 | } |
226 | 226 | |
227 | 227 | } elseif ( strchr( $code[0], '<' ) ) { // start cartouche |
228 | | - $contentHtml .= '<td>' . self::renderGlyph( $code[0] ) . '</td>'; |
| 228 | + $contentHtml .= '<td>' . $this->renderGlyph( $code[0] ) . '</td>'; |
229 | 229 | $is_cartouche = true; |
230 | 230 | $contentHtml .= '<td>' . self::TABLE_START . "<tr><td class='mw-hiero-box' style='height: " |
231 | 231 | . intval( self::CARTOUCHE_WIDTH * $this->scale / 100 ) . "px;'></td></tr><tr><td>" . self::TABLE_START . "<tr>"; |
— | — | @@ -234,12 +234,12 @@ |
235 | 235 | . intval( self::CARTOUCHE_WIDTH * $this->scale / 100 ) |
236 | 236 | . "px;'></td></tr>" . '</table></td>'; |
237 | 237 | $is_cartouche = false; |
238 | | - $contentHtml .= '<td>' . self::renderGlyph( $code[0] ) . '</td>'; |
| 238 | + $contentHtml .= '<td>' . $this->renderGlyph( $code[0] ) . '</td>'; |
239 | 239 | |
240 | 240 | } elseif ( $code[0] != "" ) { // assume it's a glyph or '..' or '.' |
241 | 241 | $option = "height: " . $this->resizeGlyph( $code[0], $is_cartouche ) . "px;"; |
242 | 242 | |
243 | | - $contentHtml .= '<td>' . self::renderGlyph( $code[0], $option ) . '</td>'; |
| 243 | + $contentHtml .= '<td>' . $this->renderGlyph( $code[0], $option ) . '</td>'; |
244 | 244 | } |
245 | 245 | |
246 | 246 | // block contains more than 1 glyph |
— | — | @@ -259,7 +259,7 @@ |
260 | 260 | if ( in_array( $temp, self::$prefabs ) ) { |
261 | 261 | $option = "height: " . $this->resizeGlyph( $temp, $is_cartouche ) . "px;"; |
262 | 262 | |
263 | | - $contentHtml .= '<td>' . self::renderGlyph( $temp, $option ) . '</td>'; |
| 263 | + $contentHtml .= '<td>' . $this->renderGlyph( $temp, $option ) . '</td>'; |
264 | 264 | |
265 | 265 | // block must be manually computed |
266 | 266 | } else { |
— | — | @@ -311,7 +311,7 @@ |
312 | 312 | } else { |
313 | 313 | // resize the glyph according to the block total height |
314 | 314 | $option = "height: " . $this->resizeGlyph( $t, $is_cartouche, $total ) . "px;"; |
315 | | - $temp .= self::renderGlyph( $t, $option ); |
| 315 | + $temp .= $this->renderGlyph( $t, $option ); |
316 | 316 | } |
317 | 317 | } // end foreach |
318 | 318 | |