Changeset 1111798
- Timestamp:
- 03/13/2015 10:03:14 AM (11 years ago)
- Location:
- this-page-needs-files
- Files:
-
- 15 added
- 4 edited
-
tags/1.0.2 (added)
-
tags/1.0.2/binder (added)
-
tags/1.0.2/binder/main2urls.php (added)
-
tags/1.0.2/css (added)
-
tags/1.0.2/css/main.css (added)
-
tags/1.0.2/js (added)
-
tags/1.0.2/js/frontend.js (added)
-
tags/1.0.2/js/main.js (added)
-
tags/1.0.2/model (added)
-
tags/1.0.2/model/urls.php (added)
-
tags/1.0.2/readme.txt (added)
-
tags/1.0.2/requirements.php (added)
-
tags/1.0.2/templates (added)
-
tags/1.0.2/templates/main.php (added)
-
tags/1.0.2/this-page-needs-files.php (added)
-
trunk/binder/main2urls.php (modified) (1 diff)
-
trunk/js/main.js (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/this-page-needs-files.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
this-page-needs-files/trunk/binder/main2urls.php
r1106746 r1111798 17 17 } 18 18 19 $fileExtension = '/^(?:.*\/)? \w+\.(\w+)[^\/]*$/';19 $fileExtension = '/^(?:.*\/)?(?:\w+\.)+(\w+)[^\/]*$/'; 20 20 21 21 $returnValue = new TPNF_Model_Urls(); -
this-page-needs-files/trunk/js/main.js
r1106746 r1111798 5 5 var relativeError = "http://..., https://..., ftp://..., etc."; 6 6 7 var fileExtension = /^(?:.*\/)? \w+\.(\w+)[^\/]*$/;7 var fileExtension = /^(?:.*\/)?(?:\w+\.)+(\w+)[^\/]*$/; 8 8 9 9 var indices = {}; -
this-page-needs-files/trunk/readme.txt
r1108852 r1111798 2 2 Contributors: Jacquemin Serge 3 3 Tags: Stylesheet, CSS, Javascript, JS, Specific, External, File, Page, Post 4 Requires at least: 4. 15 Tested up to: 4. 1.16 Stable tag: 1.0. 14 Requires at least: 4.0.1 5 Tested up to: 4.2 6 Stable tag: 1.0.2 7 7 License: Apache License, Version 2.0 8 8 License URI: http://www.apache.org/licenses/LICENSE-2.0 … … 193 193 == Changelog == 194 194 195 v1.0.1 195 1.0.2 196 197 - Slightly better Regular Expression Pattern for auto detection of files' types 198 199 1.0.1 196 200 197 201 - SPL Types (PECL) not required anymore 198 202 199 v1.0.0203 1.0.0 200 204 201 205 - Initial release. -
this-page-needs-files/trunk/this-page-needs-files.php
r1109268 r1111798 3 3 * Plugin Name: This page needs file 4 4 * Description: Allow to include urls to javascript and css files inside the HTML header on a page/post specifc basis. 5 * Version: 1.0. 16 * Date: 09/03/20155 * Version: 1.0.2 6 * Date: 13/03/2015 7 7 * Author: Jacquemin Serge 8 8 * Author URI: http://www.mch.be … … 16 16 } 17 17 18 if (!include( 'requirements.php')) {18 if (!include(dirname(__FILE__) . '/requirements.php')) { 19 19 // requirements not met 20 20 return;
Note: See TracChangeset
for help on using the changeset viewer.