Plugin Directory

Changeset 1459476


Ignore:
Timestamp:
07/23/2016 12:36:01 PM (10 years ago)
Author:
hqpeak
Message:

fixed checkboxes values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pike-firewall/trunk/pikefirewall.php

    r1458957 r1459476  
    544544                        <label><small>Default is free version of the proxy list service. During beta period is equal to premium!</small></label><br />
    545545                        <input type="text" name="pikefirewallsettings[default_proxy]" value="<?php echo esc_url($pike_firewall_options['default_proxy']); ?>" size="40" />&nbsp;&nbsp;&nbsp;&nbsp;
    546                         Enable/Disable <input type="checkbox" name="pikefirewallsettings[default_range_check][]" value="on" <?php echo (in_array('on', $default_proxy_check)) ? 'checked' : '' ?> />
     546                        Enable/Disable <input type="checkbox" name="pikefirewallsettings[default_proxy_check][]" value="on" <?php echo (in_array('on', $default_proxy_check)) ? 'checked' : '' ?> />
    547547                    </p>
    548548                    <p>     
     
    550550                        <label><small>Default is free version of the range list service. During beta period is equal to premium!</small></label><br />
    551551                        <input type="text" name="pikefirewallsettings[default_range]" value="<?php echo esc_url($pike_firewall_options['default_range']); ?>" size="40" />&nbsp;&nbsp;&nbsp;&nbsp;
    552                         Enable/Disable <input type="checkbox" name="pikefirewallsettings[default_proxy_check][]" value="on" <?php echo (in_array('on', $default_range_check)) ? 'checked' : '' ?> />
     552                        Enable/Disable <input type="checkbox" name="pikefirewallsettings[default_range_check][]" value="on" <?php echo (in_array('on', $default_range_check)) ? 'checked' : '' ?> />
    553553                    </p>
    554554                    <p>     
     
    18321832       
    18331833    add_action('hourly_update_event', 'cron_job_action');
    1834    
    18351834   
    18361835    // Check if there are cron jobs that needs to be activated
Note: See TracChangeset for help on using the changeset viewer.