Changeset 774214 for simple-dropbox-upload-form/trunk
- Timestamp:
- 09/17/2013 08:55:47 PM (12 years ago)
- Location:
- simple-dropbox-upload-form/trunk
- Files:
-
- 1 added
- 1 deleted
- 1 edited
-
.htaccess (added)
-
multi.php (deleted)
-
wp-dropbox.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-dropbox-upload-form/trunk/wp-dropbox.php
r748763 r774214 8 8 Description: Use the shortcode [simple-wp-dropbox] in any page to insert a Dropbox file upload form. 9 9 10 Version: 1.8.8 10 Version: 1.8.8.1 11 11 12 12 Author: Creative Design Solutions … … 329 329 //$adminEmail = get_bloginfo('admin_email'); 330 330 $adminEmail = $wpsdb_short_attr['notification']; 331 //$adminEmail = "hiphopsmurf@gmail.com"; 331 332 $headers = 'From: Simple Dropbox <simpledropbox@'.$_SERVER['HTTP_HOST'].'>' . "\r\n"; 332 333 wp_mail($adminEmail, 'New File Received', 'You have received a new file from the dropbox form on your website.', $headers);//, $attachments); … … 352 353 353 354 if($wpsshowform == "showit") { 354 if( $wpsdb_show_multi=="True"){355 if(false){//$wpsdb_show_multi=="True"){ 355 356 ?> 356 357 <p><a class="thickbox" href="<?php echo plugins_url('',__FILE__).'/multi.php?'; ?>&height=500&width=1000&TB_iframe=true"><?php echo get_option('wpsdb_multi_link_text');?></a></p> … … 859 860 <p style="text-align:center"><a href="https://www.dropbox.com/referrals/NTIyNjI4MTM5OQ" target="_blank"><?php _e('Need a Dropbox account? Please use this link so we both get some extra space.','simpleDbUpload');?></a></p><?php endif; ?> 860 861 <?php $wpssure = rand(10000,99999);?> 862 <p style="text-align:center;font-size:14px;color:#FF0000">Multiple File Upload has been disabled temporarily</p> 861 863 <form name="wpsdb_form" method="POST" action=""> 862 864 <input type="hidden" name="wpsdb_set_nonce" id="wpsdb_set_nonce" value="<?php echo wp_create_nonce (plugin_basename(__FILE__));?>"> … … 943 945 </td> 944 946 </tr> 947 <?php /* 945 948 <tr> 946 949 <th scope="row"><p><?php _e('Show multiple upload link?<br />(Experimental)','simpleDbUpload');?> <a href="javascript:void(0)" class="help"><img border="0" src="<?php echo plugins_url( '/images/help.png', __FILE__ );?>"><span>Allows users to drag n drop multiple files.</span></a></p></th> … … 966 969 </td> 967 970 </tr> 971 */?> 968 972 <tr id="showafter"> 969 973 <th scope="row"><p><?php _e('Show upload form again after upload?','simpleDbUpload');?> <a href="javascript:void(0)" class="help"><img border="0" src="<?php echo plugins_url( '/images/help.png', __FILE__ );?>"><span><strong>Single Upload:</strong> Doesn't apply to single uploads if progress indicators are enabled.<br /><strong>This feature will be removed in the future.</strong></span></a></p></th> … … 1274 1278 1275 1279 if ( $file == $base ) 1276 array_unshift( $links, $settings_link ); 1280 return; 1281 //array_unshift( $links, $settings_link ); 1277 1282 1278 1283 return $links; 1284 //return $settings_link; 1279 1285 } 1280 1286
Note: See TracChangeset
for help on using the changeset viewer.