Posted in : Plugins & renderers, Plugins, B2evo cvs
Damn, this one's a doozy :)
It's not quite finished yet, but this plugin allows you to post code between <pre> tags. At the moment the output is pretty basic, but I might get round to adding some sort of syntax highlighting to it
[lt]?php
/**
* This file implements the code formatting plugin.
*
* @package plugins
*
* {@internal Below is a list of authors who have contributed to design/coding of this file: }}
* @author Yabba - {@link http://www.astonishme.co.uk/}
*
* @version $Id: _code.plugin.php,v 1.00 2005/08/14 11:39:00 yabba Exp $
*/
if( !defined('EVO_CONFIG_LOADED') ) die( 'Please, do not access this page directly.' );
/**
* Code Plugin
*
* This plugin responds to rendering event
*
* @package plugins
*/
class code_plugin extends Plugin
{
/**
* Variables below MUST be overriden by plugin implementations,
* either in the subclass declaration or in the subclass constructor.
*/
var $name = 'AM Code';
var $code = 'am_code';
var $priority = 100;
var $version = 'CVS $Revision: 1.00 $';
var $author = 'Astonishe Me';
var $help_url = 'http://www.astonishme.co.uk/';
When it's finished and a fluffy write up is done by an unamed yank it'll be released on our new site Astonish Me.
¥