26 lines
		
	
	
		
			487 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			487 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
| <?php
 | |
| /*
 | |
| Plugin Name: jsUtils
 | |
| Version: 1.0
 | |
| Plugin URI: http://flatpress.sf.net
 | |
| Description: jsUtils, provides <a href="http://mootools.net/">mootools</a>
 | |
| Author: NoWhereMan
 | |
| Author URI: http://flatpress.sf.net
 | |
| */
 | |
| 
 | |
| 
 | |
| add_action('wp_head', 'plugin_jsutils_head', 0);
 | |
| 
 | |
| 
 | |
| function plugin_jsutils_head() {
 | |
| 
 | |
| 	$pdir=plugin_geturl('jsutils');
 | |
| 	echo <<<JSUTILS
 | |
| 	<!-- start of jsUtils -->
 | |
| 	<script type="text/javascript" src="{$pdir}res/mootools.js"></script>
 | |
| 	<!-- end of jsUtils -->
 | |
| JSUTILS;
 | |
| }
 | |
| 
 | |
| ?>
 | 
