Changeset 1194056
- Timestamp:
- 07/07/2015 12:29:05 PM (11 years ago)
- Location:
- cloudwok-file-upload/trunk
- Files:
-
- 2 edited
-
cloudwok.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cloudwok-file-upload/trunk/cloudwok.php
r1193926 r1194056 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 6 Version: 0.3.1 7 7 Author: CloudWok 8 8 Author Email: [email protected] … … 39 39 'show_downloads' => False, 40 40 'show_form' => True, 41 'show_powered_by_link' => False ,41 'show_powered_by_link' => False 42 42 ), $atts ) 43 43 ); … … 46 46 $show_downloads = ''; 47 47 $show_form = ''; 48 $show_powered_by_link = ' data-pby="y"';48 $show_powered_by_link = ''; 49 49 50 if( $atts['show_uploads']) {50 if(array_key_exists('show_uploads', $atts) && $atts['show_uploads']) { 51 51 $show_uploads = '<div class="cloudwok-upload-files"></div>'; 52 52 } 53 if( $atts['show_downloads']) {53 if(array_key_exists('show_downloads', $atts) && $atts['show_downloads']) { 54 54 $show_downloads = '<div class="cloudwok-download-files"></div>'; 55 55 } 56 if( $atts['show_form']) {56 if(array_key_exists('show_form', $atts) && $atts['show_form']) { 57 57 $show_form = '<div class="cloudwok-upload-message"></div>'; 58 58 } 59 if( !$atts['show_powered_by_link']) {60 $show_powered_by_link = 'data-pby=" n"';59 if(array_key_exists('show_powered_by_link', $atts) && $atts['show_powered_by_link']) { 60 $show_powered_by_link = 'data-pby="y"'; 61 61 } 62 62 -
cloudwok-file-upload/trunk/readme.txt
r1193951 r1194056 5 5 Requires at least: 3.0.0 6 6 Tested up to: 4.2.2 7 Stable tag: 0.3 7 Stable tag: 0.3.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 71 71 == Changelog == 72 72 73 No changes, yet. 73 = 0.3.1 = 74 Minor bugfixes. 74 75 75 76 == Upgrade Notice ==
Note: See TracChangeset
for help on using the changeset viewer.