This hack is a syntax highlighting support hack for XOOPS 2.x for various programming languages. Syntax highlighting modules included in package are for: С++, CSS (Cascading Style Sheets), Delphi (very simplified), DTD, Java (very simplified), JavaScript, MySQL, Perl, PHP, Python, Ruby, SQL, и XML.

Hack is based on Text_Highlighter PEAR module (by {Andrey Demenev} (lead)). As this module is under development now and in beta state, I included it's modified version in archive, that desn't require installation into the PEAR repository and requires only PEAR.php to work (PEAR core should be installed, of course). All syntax highlighting sucomponents are taken from there, except for Delphi and Java, which are built by myself in a hurry :).

Hack is applied using module.textsanitizer.php modifying, so it will work not only in native Xoops modules, but also in others like SmartFAQ, for example (I tested).

An example of syntax highlighting of Java language in SmartFAQ module can be seen here::


Example 1


Example 2

Features:


System Requirements:



Other files by: FractalizeR

XHLD - Russian (2005/01/27)

The comments are owned by the author. We aren't responsible for their content.


Login

Username:
Password:

Lost Password? Register now!

Top Module Downloads

Who's Online

64 user(s) are online (1 user(s) are browsing Module Repository)


Members: 0


Guests: 64


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jan 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!