Changeset 96
- Timestamp:
- 04/16/07 14:38:11 (2 years ago)
- Files:
-
- contenttoolbar/contenttoolbar_text_processing.php (modified) (1 diff)
- contenttoolbar/js/edit.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
contenttoolbar/contenttoolbar_text_processing.php
r81 r96 18 18 \$height = 200; 19 19 \$url = str_replace("&","&",\$matches[1]); 20 preg_match("/(.*)\ ?(\d+)x(\d+)/i",\$url,\$size);20 preg_match("/(.*)\@\@(\d+)x(\d+)/i",\$url,\$size); 21 21 if(count(\$size)==4){ 22 22 \$url = \$size[1]; contenttoolbar/js/edit.js
r82 r96 359 359 w = w.value; 360 360 h = h.value; 361 size = (w!="" && h!="")?' ?'+w+'x'+h:'';361 size = (w!="" && h!="")?'@@'+w+'x'+h:''; 362 362 363 363 text = '{{video:'+value+size+'}}';
