Plugin Directory

Changeset 751646


Ignore:
Timestamp:
08/05/2013 01:37:47 PM (13 years ago)
Author:
mohsinrasool
Message:

Changes suggest by breynolds

Location:
full-screen-page-background-image-slideshow
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • full-screen-page-background-image-slideshow/tags/1.2/admin-settings.php

    r751603 r751646  
    5151    );
    5252    $fsi_display_on = get_option('fsi_display_on');
    53     if($fsi_display_on === false)
     53    if($fsi_display_on == false)
    5454        $fsi_display_on = array();
    5555    foreach ($display_on as $key => $value) {
     
    149149                                         </li>
    150150                                         <li style="padding-left: 30px; min-height:30px; min-height:30px;line-height: 30px;  background:transparent url(http://wpdevsnippets.com/plugin-images/icon_thumb_up.png) no-repeat scroll center left; text-decoration: none;">
    151                                              <iframe src="https://plugins.trac.wordpress.org//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwpdevsnippets.com%2Ffull-screen-page-background-image-slideshow-plugin%2F&amp;width=50&amp;height=21&amp;colorscheme=light&amp;layout=button_count&amp;action=recommend&amp;show_faces=false&amp;send=false&amp;appId=493527070687256" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:150px; height:21px;" allowTransparency="true"></iframe>
     151                                             <iframe src="https://plugins.trac.wordpress.org//www.facebook.com/plugins/like.php?href=http%3A%2F%2Ffacebook.com%2Fwpdevsnippets&amp;send=false&amp;layout=button_count&amp;width=150&amp;show_faces=false&amp;font&amp;colorscheme=light&amp;action=recommend&amp;height=21&amp;appId=493527070687256" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:150px; height:21px;" allowTransparency="true"></iframe>
    152152                                         </li>
    153153                                         <li style="padding-left: 30px; min-height:30px; min-height:30px;line-height: 30px;  background:transparent url(http://wpdevsnippets.com/plugin-images/icon_thumb_up.png) no-repeat scroll center left; text-decoration: none;">
     
    156156                                         <li style="padding-left: 30px; min-height:30px; min-height:30px;line-height: 30px;  background:transparent url(http://wpdevsnippets.com/plugin-images/icon_thumb_up.png) no-repeat scroll center left; text-decoration: none;">
    157157                                            <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
    158                                             <div class="g-plusone" data-size="medium" data-href="http://wpdevsnippets.com/full-screen-page-background-image-slideshow-plugin"></div>                                         
     158                                            <div class="g-plusone" data-size="medium" data-href="http://wpdevsnippets.com"></div>                                         
    159159                                         </li>
    160160                                    </ul>
     
    165165                                <div class="handlediv" title="Click to toggle"><br></div><h3 class="hndle"><span>Appreciate by Cash?</span></h3>
    166166                                <div class="inside">
    167                                     <p>This plug-in consumed several of our precious hours, if you like it, please donate a token of your appreciation!</p>
     167                                    <p>This plug-in consumed several of our precious hours, if you use and like it, please donate a token of your appreciation!</p>
    168168                                    <div class="social" style="text-align:center;margin:15px 0 10px 0;">
    169169                                        <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=DG2R3ZVH44FE4" target="_blank">
  • full-screen-page-background-image-slideshow/tags/1.2/full-screen-background-image-slideshow.php

    r751603 r751646  
    7070function wpdev_fsi_should_display(){
    7171   
    72     if(is_single()) {
     72    if(is_page()) {
    7373        global $post;
    7474        $images = array();
  • full-screen-page-background-image-slideshow/tags/1.2/inc/page-metabox.php

    r685324 r751646  
    1919   
    2020    echo '<table>
    21                 <tr><td colspan="2"><label><input id="fsi_fs_images" name="fsi_fs_images" type="checkbox" value="1" '.checked(get_post_meta($post->ID,'fsi_fs_images',true),'1',true).' /> Enable custom background image for this page</label></td>
    22                     <td colspan="2"><label><input id="fsi_fs_images_slideshow" name="fsi_fs_images_slideshow"  type="checkbox" value="1" '.checked(get_post_meta($post->ID,'fsi_fs_images_slideshow',true),'1',true).' /> Enable slideshow</label></td>
     21                <tr><td colspan="2"><label><input id="fsi_fs_images" name="fsi_fs_images" type="checkbox" value="1" '.checked(get_post_meta($post->ID,'fsi_fs_images',true),'1',false).' /> Enable custom background image for this page</label></td>
     22                    <td colspan="2"><label><input id="fsi_fs_images_slideshow" name="fsi_fs_images_slideshow"  type="checkbox" value="1" '.checked(get_post_meta($post->ID,'fsi_fs_images_slideshow',true),'1',false).' /> Enable slideshow</label></td>
    2323                </tr>
    2424        ';
  • full-screen-page-background-image-slideshow/trunk/admin-settings.php

    r751603 r751646  
    5151    );
    5252    $fsi_display_on = get_option('fsi_display_on');
    53     if($fsi_display_on === false)
     53    if($fsi_display_on == false)
    5454        $fsi_display_on = array();
    5555    foreach ($display_on as $key => $value) {
     
    149149                                         </li>
    150150                                         <li style="padding-left: 30px; min-height:30px; min-height:30px;line-height: 30px;  background:transparent url(http://wpdevsnippets.com/plugin-images/icon_thumb_up.png) no-repeat scroll center left; text-decoration: none;">
    151                                              <iframe src="https://plugins.trac.wordpress.org//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwpdevsnippets.com%2Ffull-screen-page-background-image-slideshow-plugin%2F&amp;width=50&amp;height=21&amp;colorscheme=light&amp;layout=button_count&amp;action=recommend&amp;show_faces=false&amp;send=false&amp;appId=493527070687256" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:150px; height:21px;" allowTransparency="true"></iframe>
     151                                             <iframe src="https://plugins.trac.wordpress.org//www.facebook.com/plugins/like.php?href=http%3A%2F%2Ffacebook.com%2Fwpdevsnippets&amp;send=false&amp;layout=button_count&amp;width=150&amp;show_faces=false&amp;font&amp;colorscheme=light&amp;action=recommend&amp;height=21&amp;appId=493527070687256" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:150px; height:21px;" allowTransparency="true"></iframe>
    152152                                         </li>
    153153                                         <li style="padding-left: 30px; min-height:30px; min-height:30px;line-height: 30px;  background:transparent url(http://wpdevsnippets.com/plugin-images/icon_thumb_up.png) no-repeat scroll center left; text-decoration: none;">
     
    156156                                         <li style="padding-left: 30px; min-height:30px; min-height:30px;line-height: 30px;  background:transparent url(http://wpdevsnippets.com/plugin-images/icon_thumb_up.png) no-repeat scroll center left; text-decoration: none;">
    157157                                            <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
    158                                             <div class="g-plusone" data-size="medium" data-href="http://wpdevsnippets.com/full-screen-page-background-image-slideshow-plugin"></div>                                         
     158                                            <div class="g-plusone" data-size="medium" data-href="http://wpdevsnippets.com"></div>                                         
    159159                                         </li>
    160160                                    </ul>
     
    165165                                <div class="handlediv" title="Click to toggle"><br></div><h3 class="hndle"><span>Appreciate by Cash?</span></h3>
    166166                                <div class="inside">
    167                                     <p>This plug-in consumed several of our precious hours, if you like it, please donate a token of your appreciation!</p>
     167                                    <p>This plug-in consumed several of our precious hours, if you use and like it, please donate a token of your appreciation!</p>
    168168                                    <div class="social" style="text-align:center;margin:15px 0 10px 0;">
    169169                                        <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=DG2R3ZVH44FE4" target="_blank">
  • full-screen-page-background-image-slideshow/trunk/full-screen-background-image-slideshow.php

    r751603 r751646  
    7070function wpdev_fsi_should_display(){
    7171   
    72     if(is_single()) {
     72    if(is_page()) {
    7373        global $post;
    7474        $images = array();
  • full-screen-page-background-image-slideshow/trunk/inc/page-metabox.php

    r665911 r751646  
    1919   
    2020    echo '<table>
    21                 <tr><td colspan="2"><label><input id="fsi_fs_images" name="fsi_fs_images" type="checkbox" value="1" '.checked(get_post_meta($post->ID,'fsi_fs_images',true),'1',true).' /> Enable custom background image for this page</label></td>
    22                     <td colspan="2"><label><input id="fsi_fs_images_slideshow" name="fsi_fs_images_slideshow"  type="checkbox" value="1" '.checked(get_post_meta($post->ID,'fsi_fs_images_slideshow',true),'1',true).' /> Enable slideshow</label></td>
     21                <tr><td colspan="2"><label><input id="fsi_fs_images" name="fsi_fs_images" type="checkbox" value="1" '.checked(get_post_meta($post->ID,'fsi_fs_images',true),'1',false).' /> Enable custom background image for this page</label></td>
     22                    <td colspan="2"><label><input id="fsi_fs_images_slideshow" name="fsi_fs_images_slideshow"  type="checkbox" value="1" '.checked(get_post_meta($post->ID,'fsi_fs_images_slideshow',true),'1',false).' /> Enable slideshow</label></td>
    2323                </tr>
    2424        ';
Note: See TracChangeset for help on using the changeset viewer.