Code: Select all
<script type="text/javascript">
<!--
var id = 'SXBB_0_fd3ceca0';
SXBB[id] = new _SXBB(id);
SXBB[id].T['select'] = 'Select';
SXBB[id].T['expand'] = 'Expand';
SXBB[id].T['contract'] = 'Contract';
//-->
</script>
How can I change code tag from {syntax=}{/syntax} to {code=}{/code}?. Because my forum has used {code=} before.SudaNix wrote:Thanks very much, its work now .
but if i used line numbers it became right to left ,again!
note: there is no "set_overall_style" function in the hook_syntax_highlighter.php ,but i make it before "set_line_style".
I have another question, i want to replace original code tag {code}...{/code}
with {syntax="cpp-qt"}...{/syntax} ?
Last one, Hide link doesn't work ?
thanks for helping.
Code: Select all
[syntax]{TEXT}[/syntax]
I already put up a solution for this.trinobi wrote:How can I change code tag from {syntax=}{/syntax} to {code=}{/code}?. Because my forum has used {code=} before.SudaNix wrote:Thanks very much, its work now .
but if i used line numbers it became right to left ,again!
note: there is no "set_overall_style" function in the hook_syntax_highlighter.php ,but i make it before "set_line_style".
I have another question, i want to replace original code tag {code}...{/code}
with {syntax="cpp-qt"}...{/syntax} ?
Last one, Hide link doesn't work ?
thanks for helping.
When I hide the code (click the Hide link), the Show link not work (not be a link)?.
Thanks for help!
[The extension zip has been deactivated and can no longer be displayed.]
BUMPNeuropass wrote:is this mod working on phpbb 3.06? any known bugs???
no.annab wrote:Isn't syntax highlighting already built into phpbb3? I use the normal code=php and it works just fine.
Syntax: [ Download ] [ Show ] [ Select ] [ Toggle ] Using %1$s Syntax Highlighting
some code
Parsed in 0.022 seconds, using GeSHi 1.0.8.4
Code: Select all
#include <iostream>
int main()
{
std::cout << "Hello World!" << std::endl;
return 0();
}