Plugin Directory

Changeset 451062


Ignore:
Timestamp:
10/14/2011 01:34:26 PM (14 years ago)
Author:
freerobby
Message:

Removeing settings from sextboonmark global variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sexybookmarks/trunk/includes/shrsb_topbar_page.php

    r451061 r451062  
    1818        'tb_bg_color' => '#000000',
    1919        'tb_button_color' => '#7777cc',
    20         'advert' => '1'
     20        'addv' => '1'
    2121    );
    2222   
     
    8888
    8989        foreach (array(
    90                 'topbar', 'useSbSettings' , 'tb_bg_color' ,'tb_button_color', 'advert'
     90                'topbar', 'useSbSettings' , 'tb_bg_color' ,'tb_button_color', 'addv'
    9191            )as $field) {
    9292                if(isset($_POST[$field])) { // this is to prevent warning if $_POST[$field] is not defined
     
    178178                                        <td><span class="shrsb_option"><?php _e('Show Message?', 'shrsb'); ?> <span style="color:red;">*</span></span>
    179179                                        </td>
    180                                         <td style="width:125px"><label><input <?php echo (($shrsb_tb_plugopts['advert'] == "1")? 'checked="checked"' : ""); ?> name="advert" id="advert-yes" type="radio" value="1" /> <?php _e('Yes', 'shrsb'); ?></label>
    181                                         </td><td><label><input <?php echo (($shrsb_tb_plugopts['advert'] == "0")? 'checked="checked"' : ""); ?> name="advert" id="advert-no" type="radio" value="0" /> <?php _e('No', 'shrsb'); ?></label>
     180                                        <td style="width:125px"><label><input <?php echo (($shrsb_tb_plugopts['addv'] == "1")? 'checked="checked"' : ""); ?> name="addv" id="addv-yes" type="radio" value="1" /> <?php _e('Yes', 'shrsb'); ?></label>
     181                                        </td><td><label><input <?php echo (($shrsb_tb_plugopts['addv'] == "0")? 'checked="checked"' : ""); ?> name="addv" id="addv-no" type="radio" value="0" /> <?php _e('No', 'shrsb'); ?></label>
    182182                                        </td>
    183183                                    </tr>
Note: See TracChangeset for help on using the changeset viewer.