Changeset 1255840
- Timestamp:
- 09/29/2015 02:13:37 PM (11 years ago)
- Location:
- cloudwok-file-upload/trunk
- Files:
-
- 2 edited
-
cloudwok.php (modified) (5 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cloudwok-file-upload/trunk/cloudwok.php
r1211874 r1255840 4 4 Plugin URI: http://www.cloudwok.com 5 5 Description: CloudWok enables you to let your website visitors upload files directly into a Dropbox, Google Drive, Amazon S3, Box.com, or other cloud storage folder that you own. 6 Version: 0.3. 46 Version: 0.3.5 7 7 Author: CloudWok 8 8 Author Email: [email protected] … … 42 42 'show_form_input_email' => True, 43 43 'show_powered_by_link' => False, 44 'simple_file_upload_button' => False, 44 45 'label_add_files_btn' => '', 45 46 'label_send_msg_btn' => '', … … 58 59 $show_form_input_email = ' data-show-email="n"'; 59 60 $show_powered_by_link = ' data-pby="n"'; 61 $file_upload_input = '<div class="cloudwok-dropzone"></div>'; 60 62 61 63 // customize labels and texts … … 77 79 if(array_key_exists('show_downloads', $atts) && $atts['show_downloads'] == "True") { 78 80 $show_downloads = '<div class="cloudwok-download-files"></div>'; 81 } 82 if(array_key_exists('simple_file_upload_button', $atts) && $atts['simple_file_upload_button'] == "True") { 83 $file_upload_input = '<input type="file" name="files[]" multiple>'; 79 84 } 80 85 if(array_key_exists('show_powered_by_link', $atts) && $atts['show_powered_by_link'] == "True") { … … 126 131 $to_return = '<div class="cloudwok-embed" data-wokid="' . $atts['wok_id'] . '" ' . $show_powered_by_link . $show_form_input_name . $show_form_input_email . '>' 127 132 . $show_uploads . 128 '<form class="cloudwok-upload"> 129 <div class="cloudwok-dropzone"></div> 130 </form>' 133 '<form class="cloudwok-upload">' 134 . $file_upload_input 135 . 136 '</form>' 131 137 . $show_form 132 138 . $show_downloads . -
cloudwok-file-upload/trunk/readme.txt
r1211874 r1255840 5 5 Requires at least: 3.0.0 6 6 Tested up to: 4.2.3 7 Stable tag: 0.3. 47 Stable tag: 0.3.5 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 78 78 Thereby, you gain the ability to more easily correlate files that are uploaded to your Dropbox, Google Drive, etc. with the name and/or e-mail of the person who uploaded these files. 79 79 80 Since version 0.3.5 of this plugin, you can disable the dropzone and show a simple file-upload button instead: 81 82 `[cloudwok wok_id="YOUR_WOK_ID" simple_file_upload_button="True" show_powered_by_link="True"]` 83 80 84 By default, a small "powered by" text-link to www.cloudwok.com is disabled. If you like our plug-in, we would appreciate it if you would enable the link via `[cloudwok wok_id="YOUR_WOK_ID" show_powered_by_link="True"]`. Send me a link to your WordPress site with enabled "powered by" link, and I'd be happy to send you a small coupon code gift back: [email protected]. Thanks! 81 85 82 86 == Frequently Asked Questions == 83 87 84 So far no questions. Send us an e-mail if you have an issue: [email protected] or a tweet @cloudwok. 88 * Is it possible to change the default texts and labels? 89 90 You can customize texts and labels. Please take a look at this thread: https://wordpress.org/support/topic/custom-text-translation 91 92 Send us an e-mail if you have an issue: [email protected] or a tweet @cloudwok. Or open a thread in the WordPress support forum for this plugin. 85 93 86 94 == Screenshots == … … 92 100 == Changelog == 93 101 102 = 0.3.5 = 103 Added option to show only simple file-upload button in lieu of dropzone via simple_file_upload_button="True" shortcode attribute. 94 104 = 0.3.4 = 95 105 Added feature to customize labels and texts (see here: https://wordpress.org/support/topic/custom-text-translation). This will likely be replaced in future versions by a central customization admin page.
Note: See TracChangeset
for help on using the changeset viewer.