Код: Выделить всё
###############################################
## Hack Title: JSHighlight
## +phpBB2.2 Quoting Style v1.0.0 by WyriHaximus
## +phpBB2.2 Codeing Style v1.0.0 by WyriHaximus
## Hack Version: 0.0.3 BETA
## Author: Vooon <vooon341@mail.ru>
## Main JS Autor: Иван Сагалаев http://softwaremaniacs.org/soft/highlight/
## Description: Добавляет подсветку синтаксиса для BB-Code [ code]
## изменяет стиль блоков Code и Quote на стиль phpBB3 (phpBB2.2)
## Compatibility: 2.0.22
##
## Installation Level: Easy
## Installation Time: 5 Minutes
## Files To Edit: 4
## templates/subSilver/bbcode.tpl
## templates/subSilver/subSilver.css
## templates/subSilver/overall_header.tpl
## templates/subSilver/simple_header.tpl
## Included Files: 16
## templates/subSilver/highlight.css
## javascripts/code_br.js
## javascripts/highlight.js
## javascripts/languages/cpp.js
## javascripts/languages/css.js
## javascripts/languages/delphi.js
## javascripts/languages/html.js
## javascripts/languages/java.js
## javascripts/languages/javascript.js
## javascripts/languages/perl.js
## javascripts/languages/php.js
## javascripts/languages/python.js
## javascripts/languages/rib.js
## javascripts/languages/rsl.js
## javascripts/languages/ruby.js
## javascripts/languages/vbscript.js
##
## History:
## Apr 16, 2007: Version 0.0.2 BETA
##
###############################################
## This program is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License
## as published by the Free Software Foundation; either version 2
## of the License, or (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## http://www.gnu.org/copyleft/gpl.html
###############################################
Основан на javascript.
Автоматическое определение языка.
Поддерживает языки:
- Python
- Ruby
- Perl
- PHP
- CSS
- HTML
- Javascript
- VBScript
- Delphi
- Java
- C++
- RenderMan (RSL и RIB)
но оригинальный скрипт (версия 3.0) немного изменен.
PS: пардон, забыл приложить архив