Categories

Bluetrait
        Bluetrait
            Videos
            Solar
            Coding
            Geek
            General
            Coding
                PHP
                Bluetrait
                WordPress
                    Plugins
                PHP
                Bluetrait (Program)
            Geek
                Juniper
                Cisco
                IBM N2200 8363
                PCs
                Spam
                IPv6
                Apple
                NetScreen
                Internet
            General
                Uni

Wed, 02 Jan 2008 11:42 AM

Syntax Highlighting

Michael Dale

I wrote a small plugin for Bluetrait 2 that allows some basic WordPress plugin compatibility. The first plugin that works is WP-Syntax the only change that was required to this plugin was to rename the main plugin file.

Let's give it a test:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
span style="color: #808080; font-style: italic;">/*
	Bluetrait 2.0 Cron Support
	Michael Dale Copyright 2007
*/
 
//stop from running over and over again :)
'BT_RUNNING_CRON''bt-common.php''cron_intervals''next_run''next_run''frequency''cron_''name']);
		//too noisy
		//trigger_error('Cron ('.$cron_interval['description'].') Successful', E_USER_NOTICE);
'cron_intervals'
Looks like I need to make a few changes to the CSS. But it doesn't look too bad.

Comments

On Thu, 03 Jan 2008 at 9:26 AM, ucosty (of michaeldale.com.au) wrote Nice (both the syntax highlighting and the beginnings of wordpress plugin support). 1: Comment Link

Comments?

HTML allowed: <a href="" title="" rel=""></a> <b></b> <blockquote cite=""></blockquote> <em></em> <i></i> <strike></strike> <strong></strong> <li></li> <ol></ol> <ul></ul>
ie: <b>bold</b>

Your comment may need to be reviewed before it is published.

Message

Name

Email (not shown)

WWW (optional)

Allow contact form email

Remember details