Changeset 3071385
- Timestamp:
- 04/16/2024 08:15:01 AM (3 months ago)
- Location:
- download-pdf-after-submit-form
- Files:
-
- 19 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
download-pdf-after-submit-form/trunk/css/admin.css
r2949510 r3071385 451 451 } 452 452 .upgratetopro { 453 background-color: # 00a32a!important;453 background-color: # !important; 454 454 color: #fff; 455 455 border-radius: 3px; -
download-pdf-after-submit-form/trunk/include/posttype.php
r2949510 r3071385 25 25 'publicly_queryable' => false, 26 26 'show_ui' => true, 27 'show_in_menu' => true,27 'show_in_menu' => e, 28 28 'query_var' => true, 29 29 'rewrite' => array( 'slug' => 'infomat' ), … … 82 82 } 83 83 add_filter('gettext', 'dpbsf_change_edit_text_to_view', 10, 3); 84 85 86 87 88 89 90 91 84 92 ?> -
download-pdf-after-submit-form/trunk/index.php
r2993941 r3071385 6 6 * Author: Md. Shahinur Islam 7 7 * Author URI: https://profiles.wordpress.org/shahinurislam 8 * Version: 2.2. 28 * Version: 2.2. 9 9 * Text Domain: dpbsf 10 10 * Domain Path: /lang … … 85 85 $emailTo = get_option('admin_email'); 86 86 } 87 87 88 $donloadurl = sanitize_url(trim($_POST['urlnameinput'])); //get input url 88 89 $subject = '[PHP Snippets] From '.$name; … … 97 98 } ?> 98 99 <!-- Trigger/Open The Modal <button id="myBtn">Download</button>--> 99 <?php 100 <?php 100 101 //session validation 101 if( $_SESSION['arrayImg']== "shahin"){ ?>102 if( == "shahin"){ ?> 102 103 <style> 103 104 /*display none when session true*/ … … 130 131 }) 131 132 }); 132 </script> 133 </script> 134 <?php $echos = "myModal".esc_html($atts['title']);?> 133 135 <?php }else{ ?> 134 136 <!-- session validation failed to start modal--> … … 183 185 // Create post object to save data 184 186 $my_post = array( 185 'post_title' => wp_strip_all_tags( $ dpbsf_name_title.$name ),187 'post_title' => wp_strip_all_tags( $name ), 186 188 'post_content' => $body, 187 189 'post_status' => 'draft', … … 300 302 add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), 'dpbsf_plugin_action_links' ); 301 303 function dpbsf_plugin_action_links( $actions ) { 302 $actions[] = '<a href="'. esc_url( get_admin_url(null, 'edit.php?post_type=infomat&page= settings') ) .'">Settings</a>';304 $actions[] = '<a href="'. esc_url( get_admin_url(null, 'edit.php?post_type=infomat&page=settings') ) .'">Settings</a>'; 303 305 $actions[] = '<a href="http://plugins.nasheed.xyz/" class="get_dpasf_pro" target="_blank">Get WP DPASF Pro</a>'; 304 306 return $actions; … … 306 308 add_action('admin_menu', 'dpbsf_register_my_custom_submenu_page'); 307 309 function dpbsf_register_my_custom_submenu_page() { 308 add_submenu_page( 309 'edit.php?post_type=infomat', 310 'Settings', 311 'Settings', 312 'manage_options', 313 'settings', 314 'dpbsf_my_custom_submenu_page_callback' ); 310 311 add_menu_page( 312 'Settings', 313 'Download PDF After Submit F.', 314 'read', 315 'dpbsf_settings', 316 'dpbsf_my_custom_submenu_page_callback', 317 'dashicons-format-aside' 318 ); 319 add_submenu_page( 320 'dpbsf_settings', 321 'View Entries', 322 'View Entries', 323 'manage_options', 324 'edit.php?post_type=infomat' 325 ); 315 326 } 316 327 function dpbsf_my_custom_submenu_page_callback() { … … 393 404 <button class="button-85" role="button" type="submit">Save Settings</button> 394 405 <input type="hidden" name="action" value="update" /> 395 <input type="hidden" name="page_options" value="formstyle , dpbsf_title, dpbsf_subtitle, dpbsf_name, dpbsf_email, dpbsf_phone, dpbsf_address, dpbsf_job_title, dpbsf_company, dpbsf_more_1, dpbsf_country, dpbsf_message, dpbsf_check, dpbsf_check_text, dpbsf_submit_button" />406 <input type="hidden" name="page_options" value="formstyle" /> 396 407 </form> 397 408 <?php -
download-pdf-after-submit-form/trunk/license.txt
r2853025 r3071385 1 Download PDF After Submit Form WordPress Plugin, 202 3Md Shahinur Islam1 Download PDF After Submit Form WordPress Plugin, 202 Md Shahinur Islam 2 2 Download PDF After Submit Form is distributed under the terms of the GNU GPL 3 3 -
download-pdf-after-submit-form/trunk/readme.md
r2993941 r3071385 4 4 Donate link: https://forms.gle/EAtaCDDDxhcU5fva7 5 5 Requires at least: 5.8 6 Tested up to: 6. 4.17 Stable tag: 2.2. 26 Tested up to: 6. 7 Stable tag: 2.2. 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html 11 11 12 Download any pdf after submit form shortcode for WordPress. Take full control over your WordPress site, build any shortcode paste you can imagine no programming knowledge required.12 Download any pdf after submit form shortcode for WordPress. Take full control over your WordPress site, build any shortcode paste you can imagine no programming knowledge required. 13 13 14 14 == Description == 15 15 16 Download any pdf after submit form shortcode for WordPress. Take full control over your WordPress site, build any shortcode paste you can imagine âno programming knowledge required. This plugin offers the premium feature of ready popup design & provides quick access to beautiful all fields that can be edit in your popup easily.16 Download any pdf after submit form shortcode for WordPress. Take full control over your WordPress site, build any shortcode paste you can imagine no programming knowledge required. This plugin offers the premium feature of ready popup design & provides quick access to beautiful all fields that can be edit in your popup easily. 17 17 18 ðOfficial Demo Link: [Download any pdf after submit form](http://plugins.nasheed.xyz/28-2/)19 ðBuy Pro Version: [DPASF Pro](http://plugins.nasheed.xyz/product/download-pdf-after-submit-form-pro/)20 ðVideo Guide: [Youtube Video](https://youtu.be/G-FYx8vDnDY)21 ðInstallation Guide: [Documentation](https://plugins.nasheed.xyz/documentation/)18 Official Demo Link: [Download any pdf after submit form](http://plugins.nasheed.xyz/28-2/) 19 Buy Pro Version: [DPASF Pro](http://plugins.nasheed.xyz/product/download-pdf-after-submit-form-pro/) 20 Video Guide: [Youtube Video](https://youtu.be/G-FYx8vDnDY) 21 Installation Guide: [Documentation](https://plugins.nasheed.xyz/documentation/) 22 22 23 23 = DPASF Free Version = … … 121 121 == Upgrade Notice == 122 122 123 This is new version 2.2. 2123 This is new version 2.2. 124 124 This is an important & critical release. Please make sure you BACKUP your website before updating. You need to update the plugin to get next-level updates & features of DPASF. 125 125 … … 137 137 138 138 == Changelog == 139 140 141 142 143 139 144 140 145 = 2.2.2 = -
download-pdf-after-submit-form/trunk/readme.txt
r2993941 r3071385 4 4 Donate link: https://forms.gle/EAtaCDDDxhcU5fva7 5 5 Requires at least: 5.8 6 Tested up to: 6. 4.17 Stable tag: 2.2. 26 Tested up to: 6. 7 Stable tag: 2.2. 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 121 121 == Upgrade Notice == 122 122 123 This is new version 2.2. 2123 This is new version 2.2. 124 124 This is an important & critical release. Please make sure you BACKUP your website before updating. You need to update the plugin to get next-level updates & features of DPASF. 125 125 … … 137 137 138 138 == Changelog == 139 140 141 142 143 139 144 140 145 = 2.2.2 =
Note: See TracChangeset
for help on using the changeset viewer.