author-dashboard.php
5 years ago
basic.php
5 months ago
buddypress.php
5 years ago
cloud-storage.php
5 years ago
crons.php
1 year ago
frontend.php
2 years ago
privacy.php
8 months ago
profile-dashboard.php
5 years ago
social-connects.php
5 years ago
user-interface.php
4 months ago
frontend.php
53 lines
| 1 | |
| 2 | |
| 3 | <div class="panel panel-default"> |
| 4 | <div class="panel-heading"><?php echo __( "Front-end Settings" , "download-manager" ); ?></div> |
| 5 | <div class="panel-body"> |
| 6 | |
| 7 | |
| 8 | <div class="form-group"> |
| 9 | <label for="__wpdm_login_url"><?php echo __( "Login Page" , "download-manager" ); ?></label><br/> |
| 10 | <?php wp_dropdown_pages(array('name' => '__wpdm_login_url', 'id' => '__wpdm_login_url', 'show_option_none' => __( "None Selected" , "download-manager" ), 'option_none_value' => '' , 'selected' => get_option('__wpdm_login_url'))) ?> |
| 11 | <label class="ttip" style="margin-top: 2px" title="Only available with the pro version"><input disabled="disabled" style="margin: 0 3px 0 5px" value="1" type="checkbox" /> <?php _e("Clean login page", "download-manager"); ?></label><br/> |
| 12 | <em class="note"><?php printf(__( "The page where you used short-code %s" , "download-manager" ),'<input style="width: 145px" readonly="readonly" type="text" value="[wpdm_login_form]" class="txtsc">'); ?></em><br/> |
| 13 | <label style="margin-top: 2px"><input type="hidden" name="__wpdm_modal_login" value="0"><input <?php checked(1, get_option('__wpdm_modal_login', 0)); ?> style="margin: 0 3px 0 5px" value="1" name="__wpdm_modal_login" type="checkbox" /> <?php _e("Enable modal login form", "download-manager"); ?></label> |
| 14 | <hr/> |
| 15 | </div> |
| 16 | |
| 17 | <div class="form-group"> |
| 18 | <label for="__wpdm_register_url"><?php echo __( "Register Page" , "download-manager" ); ?></label><br/> |
| 19 | <?php wp_dropdown_pages(array('name' => '__wpdm_register_url', 'id' => '__wpdm_register_url', 'show_option_none' => __( "None Selected" , "download-manager" ), 'option_none_value' => '' , 'selected' => get_option('__wpdm_register_url'))) ?> |
| 20 | <label class="ttip" style="margin-top: 2px" title="Only available with the pro version"><input disabled="disabled" style="margin: 0 3px 0 5px" value="1" type="checkbox" /> <?php _e("Clean signup page", "download-manager"); ?></label><br/> |
| 21 | <em class="note"><?php printf(__( "The page where you used the short-code %s" , "download-manager" ),'<input style="width: 135px" readonly="readonly" type="text" value="[wpdm_reg_form]" class="txtsc">'); ?></em> |
| 22 | <label style="margin-top: 2px;display: block"><input type="hidden" name="__wpdm_signup_email_verify" value="0"><input <?php checked(1, get_option('__wpdm_signup_email_verify', 0)); ?> style="margin: 0 3px 0 5px" value="1" name="__wpdm_signup_email_verify" type="checkbox" /> <?php _e("Enable email verification on signup", "download-manager"); ?></label> |
| 23 | <label style="margin-top: 2px;display: block"><input type="hidden" name="__wpdm_pwsc" value="0"><input <?php checked(1, get_option('__wpdm_pwsc', 0)); ?> style="margin: 0 3px 0 5px" value="1" name="__wpdm_pwsc" type="checkbox" /> <?php _e("Enable password strength check on signup", "download-manager"); ?></label> |
| 24 | <label style="margin-top: 2px;display: block"><input type="hidden" name="__wpdm_signup_autologin" value="0"><input <?php checked(1, get_option('__wpdm_signup_autologin', 0)); ?> style="margin: 0 3px 0 5px" value="1" name="__wpdm_signup_autologin" type="checkbox" /> <?php _e("Login automatically after signup is completed", "download-manager"); ?></label> |
| 25 | </div> |
| 26 | <hr/> |
| 27 | |
| 28 | |
| 29 | <div class="form-group"><hr/> |
| 30 | <input type="hidden" value="0" name="__wpdm_rss_feed_main" /> |
| 31 | <label><input style="margin: 0 10px 0 0" type="checkbox" <?php checked(get_option('__wpdm_rss_feed_main'),1); ?> value="1" name="__wpdm_rss_feed_main"><?php _e( "Include Packages in Main RSS Feed" , "download-manager" ); ?></label><br/> |
| 32 | <em><?php printf(__( "Check this option if you want to show wpdm packages in your main <a target=\"_blank\" href=\"%s\">RSS Feed</a>" , "download-manager" ), get_bloginfo('rss_url')); ?></em> |
| 33 | <br/> |
| 34 | |
| 35 | </div> |
| 36 | |
| 37 | <?php do_action("wpdm_settings_frontend_general"); ?> |
| 38 | |
| 39 | |
| 40 | </div> |
| 41 | </div> |
| 42 | |
| 43 | <?php |
| 44 | |
| 45 | include dirname(__FILE__).'/profile-dashboard.php'; |
| 46 | |
| 47 | ?> |
| 48 | |
| 49 | <?php do_action("wpdm_settings_frontend"); ?> |
| 50 | |
| 51 | |
| 52 | <style> legend{ font-weight: 800; } fieldset#cpi legend input { margin: 0 !important; }</style> |
| 53 |