This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Change your upload directory ID here. | |
| $upload_dir_id = 2; | |
| $this->EE =& get_instance(); | |
| $this->EE->load->library('filemanager'); | |
| $files = $this->EE->filemanager->fetch_files($upload_dir_id); | |
| foreach($files->files[$upload_dir_id] as $data) | |
| { | |
| $dir = array('server_path' => $data['relative_path']); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* modernizr-test.js | |
| * Daniel Ott | |
| * 3 March 2011 | |
| * Custom Tests using Modernizr's addTest API | |
| */ | |
| /* iOS | |
| * There may be times when we need a quick way to reference whether iOS is in play or not. | |
| * While a primative means, will be helpful for that. | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // $('img.photo',this).imagesLoaded(myFunction) | |
| // execute a callback when all images have loaded. | |
| // needed because .load() doesn't work on cached images | |
| // Modified with a two-pass approach to changing image | |
| // src. First, the proxy imagedata is set, which leads | |
| // to the first callback being triggered, which resets | |
| // imagedata to the original src, which fires the final, | |
| // user defined callback. |
NewerOlder