WordPress.org

Plugin Directory

Changeset 544332


Ignore:
Timestamp:
05/15/12 03:01:36 (2 years ago)
Author:
xhanch_studio
Message:
 
Location:
xhanch-my-advanced-settings/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • xhanch-my-advanced-settings/trunk/admin/setting.php

    r374006 r544332  
    275275        <div class="wrap"> 
    276276            <h2><?php echo __('Xhanch - My Advanced Settings - Configuration', 'xms'); ?></h2>       
    277             <div style="float:right;line-height:21px"> 
    278                 <b><?php echo __('Do you like this plugin? If yes, click this button -&gt;', 'xms'); ?></b> <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fxhanch.com%2Fwordpress-plugin-my-advanced-settings/%2F&amp;layout=button_count&amp;show_faces=false&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:1px solid #999; overflow:hidden; width:100px; height:21px; margin:0 0 0 10px; float:right" allowTransparency="true"></iframe>            
    279             </div> 
    280             <div class="clear"></div>    
    281             <div style="float:right;line-height:21px"> 
    282                 <b><?php echo __('Do you like our service and support? If yes, click this button -&gt;', 'xms'); ?></b> <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FXhanch-Studio%2F146245898739871&amp;layout=button_count&amp;show_faces=false&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:1px solid #999; overflow:hidden; width:100px; height:21px; margin:0 0 0 10px; float:right" allowTransparency="true"></iframe>            
    283             </div> 
     277 
     278            <iframe src="http://xhanch.com/ads" style="width:468px;height:60px; 
     279            float:left;border:1px solid #cacaca" allowscrolling="no" allowTransparency="true"></iframe>  
     280             
     281            <div style="float:right;width:400px"> 
     282                <div style="float:right;line-height:21px"> 
     283                    <b><?php echo __('Do you like this Xhanch - My Adv. Settings? ', 'xms'); ?></b> <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fxhanch.com%2Fwordpress-plugin-my-advanced-settings/%2F&amp;layout=button_count&amp;show_faces=false&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:1px solid #999; overflow:hidden; width:100px; height:21px; margin:0 0 0 10px; float:right" allowTransparency="true"></iframe>            
     284                </div> 
     285                <div class="clear"></div>    
     286                <div style="float:right;line-height:21px"> 
     287                    <b><?php echo __('Do you like our service and support? ', 'xms'); ?></b> <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FXhanch-Studio%2F146245898739871&amp;layout=button_count&amp;show_faces=false&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:1px solid #999; overflow:hidden; width:100px; height:21px; margin:0 0 0 10px; float:right" allowTransparency="true"></iframe>            
     288                </div> 
     289            </div> 
    284290            <div class="clear"></div> 
    285291            <br/> 
     
    390396                    </tr> 
    391397                </table><br/>  
    392                  
    393                 <table cellpadding="0" cellspacing="0">                 
    394                     <tr> 
    395                         <td width="22px"><input type="checkbox" id="chk_xms_show_credit" name="chk_xms_show_credit" value="1" <?php echo ($xms_conf['show_credit']?'checked="checked"':''); ?>/></td> 
    396                         <td width="775px"><?php echo __('Show Credit?', 'xms'); ?></td> 
    397                     </tr> 
    398                 </table> 
     398 
     399                <input type="checkbox" id="chk_xms_show_credit" name="chk_xms_show_credit" value="1" <?php echo ($xms_conf['show_credit']?'checked="checked"':''); ?>/> 
     400                <b><?php echo __('Show credit link ("Powered by"), I will <a href="http://xhanch.com/xhanch-donate" target="_blank">donate</a> later.', 'xmt'); ?></b> 
     401                <br/> 
    399402                 
    400403                <p class="submit"> 
  • xhanch-my-advanced-settings/trunk/installer.php

    r302698 r544332  
    1010    }else{           
    1111        $xms_conf = array_merge($xms_default, $xms_conf);    
    12         $xms_conf['show_credit'] = 1;    
     12        //$xms_conf['show_credit'] = 1;  
    1313        update_option('xms_conf', $xms_conf); 
    1414    } 
  • xhanch-my-advanced-settings/trunk/xhanch-my-advanced-settings.php

    r374006 r544332  
    3838        'favicon_url' => '', 
    3939        'ga_acc_id' => '', 
    40         'show_credit' => 1, 
     40        'show_credit' => 0, 
    4141        'show_sql_error' => 0, 
    4242    ); 
Note: See TracChangeset for help on using the changeset viewer.