Rev 1391 | Rev 1420 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1391 | Rev 1401 | ||
---|---|---|---|
Line 207... | Line 207... | ||
207 | 207 | ||
208 | $tmp = decode_aid($this->aid,true); |
208 | $tmp = decode_aid($this->aid,true); |
209 | $tmp = htmlentities($tmp); |
209 | $tmp = htmlentities($tmp); |
210 | $tmp = str_replace(' ',' ',$tmp); |
210 | $tmp = str_replace(' ',' ',$tmp); |
211 | $tmp = nl2br($tmp); |
211 | $tmp = nl2br($tmp); |
212 | $tmp = preg_replace('@(warning|invalid|error|illegal( usage){0,1})@i', '<span class="errortext">\\1</span>', $tmp); |
212 | $tmp = preg_replace('@(warning|invalid|error|illegal( usage){0,1})@i', '<span class="aid_decoder_errortext">\\1</span>', $tmp); |
213 | $tmp = preg_replace('@(\\\\\\d{3})@i', '<span class="specialhexchar">\\1</span>', $tmp); |
213 | $tmp = preg_replace('@(\\\\\\d{3})@i', '<span class="aid_decoder_specialhexchar">\\1</span>', $tmp); |
214 | 214 | ||
215 | $content .= '<h2>'._L('Decoding').'</h2>'; |
215 | $content .= '<h2>'._L('Decoding').'</h2>'; |
216 | $content .= '<table border="0">'; |
216 | $content .= '<table border="0">'; |
217 | $content .= '<div style="overflow:auto;white-space:nowrap"><code>'.$tmp.'</code></div>'; |
217 | $content .= '<div style="overflow:auto;white-space:nowrap"><code>'.$tmp.'</code></div>'; |
218 | $content .= '</table>'; |
218 | $content .= '</table>'; |