Fix a PHP 5.4 warning
WIP multi-value file input support
Also rearrange WOL fields in forum edit
Don't trim the multiple value delimiter
Remove duplicate xtattachment check
Add button to clear a filled file field (since browsers, oddly enough, don't provide an easy way to do this?!)
HTML5 accept attribute for image-only file inputs
Support JS rearranging attachments in a multi-valued file input
Incorporate <setvar> fix in Template Conditionals v1.6
Allow file Clear button to work on Opera (and possibly other browsers)
Seems like some sorting JS code didn't go through before
For multi-file inputs, order URL-fetched files after those uploaded by default
Makes more sense considering positioning of the two inputs
Remove default input HTML functions as duplication sucks. Chuck slightly less efficient versions into the evalcache.
Allow us (developers) to define custom strings for {VALUE} type variables
...because Prototype and jQuery have to use different .each(...) implementations...
Add new __DIR__ define to restricted list
Custom HTML input: HTML5 {REQUIRED_PROP} for required textboxes + allow {MULTIPLE/_PROP} on all fields
Looks like I broke variable parsing with safe conditional checking. Whoops
Multi-file input Javascript IE6 fixes:
- input seems to be a reserved object
- fix attribute copying (limit to defined attributes)
- probably better to define changeFunc outside
IE6 (7?) HTML hacks for file list display on newthread/editpost
Proper multi-file JS works on IE8's IE7 mode, so assume that IE7 works fine.
Fix a "fatal error" if the remove box wasn't sent as an array with multi-files (thanks to RateU for pointing out!)