Changeset 225256
- Timestamp:
- 04/04/2010 03:51:44 PM (16 years ago)
- Location:
- wp-dojox-syntax-highlighter
- Files:
-
- 6 added
- 2 edited
-
tags/0.3 (added)
-
tags/0.3/dh.css (added)
-
tags/0.3/dh.js (added)
-
tags/0.3/license.txt (added)
-
tags/0.3/readme.txt (added)
-
tags/0.3/wp-dojox-highlight.php (added)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/wp-dojox-highlight.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-dojox-syntax-highlighter/trunk/readme.txt
r94729 r225256 1 1 === Dojox Wordpress Syntax Highlighter === 2 Contributors: OsExpert.net2 Contributors: saquery.com 3 3 Donate link: 4 4 Tags: Syntax,Highlighter,Code,Highlight 5 5 Requires at least: 2.0.2 6 6 Tested up to: 2.7.1 7 Stable tag: 0. 27 Stable tag: 0.3 8 8 9 9 Free syntax highlighter written in Java Script as Wordpress Plugin. -
wp-dojox-syntax-highlighter/trunk/wp-dojox-highlight.php
r94722 r225256 2 2 /* 3 3 Plugin Name: WP Dojox Syntax Highlighter 4 Plugin URI: http:// osexpert.net/wordpress-syntax-highlighter4 Plugin URI: http://saquery.com/worpdress 5 5 Description: Wordpress Syntax Highlighter Plugin. 6 Version: 0. 16 Version: 0.3 7 7 Author: Stephan Ahlf 8 Author URI: http:// osexpert.net8 Author URI: http://saquery.com 9 9 */ 10 10 11 11 /* Please use this Variable to point to special style sheet. */ 12 $wp_dojox_highlight_theme = "http://ajax.googleapis.com/ajax/libs/dojo/1. 2/dojox/highlight/resources/pygments/native.css";12 $wp_dojox_highlight_theme = "http://ajax.googleapis.com/ajax/libs/dojo/1.4.1/dojox/highlight/resources/pygments/native.css"; 13 13 14 14 /* Please do NOT change code below! */ 15 15 function wpDojoxHighlight_wp_head(){ 16 16 global $wp_dojox_highlight_theme; 17 echo "<!-- wp-dojox-highlight plugin start - http:// osexpert.net/wordpress-syntax-highlighter-->";18 echo "\n<link href=\"http://ajax.googleapis.com/ajax/libs/dojo/1. 2/dojox/highlight/resources/highlight.css\" rel=\"stylesheet\"/>";17 echo "<!-- wp-dojox-highlight plugin start - http://saquery.com/wordpress -->"; 18 echo "\n<link href=\"http://ajax.googleapis.com/ajax/libs/dojo/1.4.1/dojox/highlight/resources/highlight.css\" rel=\"stylesheet\"/>"; 19 19 echo "\n<link id=\"syntaxSheet\" href=\"".$wp_dojox_highlight_theme."\" rel=\"stylesheet\"/>"; 20 echo "\n<script djConfig=\"parseOnLoad: true\" src=\"http://ajax.googleapis.com/ajax/libs/dojo/1. 2/dojo/dojo.xd.js\"></script>";20 echo "\n<script djConfig=\"parseOnLoad: true\" src=\"http://ajax.googleapis.com/ajax/libs/dojo/1.4.1/dojo/dojo.xd.js\"></script>"; 21 21 echo "\n<link href=\"".get_bloginfo('home')."/wp-content/plugins/wp-dojox-syntax-highlighter/dh.css\" rel=\"stylesheet\"/>"; 22 22 echo "\n<script src=\"".get_bloginfo('home')."/wp-content/plugins/wp-dojox-syntax-highlighter/dh.js\"></script>";
Note: See TracChangeset
for help on using the changeset viewer.