Plugin Directory

Changeset 1253438


Ignore:
Timestamp:
09/25/2015 02:32:55 PM (9 years ago)
Author:
sudiptomahato
Message:

Support for language translation added

Location:
only-tweet-like-share-and-google-1
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • only-tweet-like-share-and-google-1/trunk/readme.txt

    r968232 r1253438  
    44Tags: Simple social share, social share, Facebook, Like, google, google +1, google plusone, twitter, tweet, facebook share, plusone, linkedin
    55Requires at least: 3.0
    6 Tested up to: 3.9.2
    7 Stable tag: 1.7.6
     6Tested up to: 4.3.1
     7Stable tag: 1.7.7
    88
    99A very simple yet one of the most extensively used social share plugin with vertical scrolling sharebar support.
  • only-tweet-like-share-and-google-1/trunk/tweet-like-plusone.php

    r968232 r1253438  
    44Plugin URI: http://techxt.com/tweet-like-google-1-and-share-plugin-wordpress/
    55Author: Sudipto Pratap Mahato
    6 Version: 1.7.6
     6Version: 1.7.7
    77Description: Most simple social share icons. 99% of your blog post will be shared by these Social share icons.
     8Text Domain: only-tweet-like-share-and-google-1
    89Requires at least: 3.0
    9 Tested up to: 3.9.2
     10Tested up to: 4.3.1
    1011*/
    1112
     
    1314global $btnarrver;
    1415$s4mainloop =FALSE;
    15 
     16load_plugin_textdomain( 'only-tweet-like-share-and-google-1' );
    1617function disp_social($content) {
    1718    global $post,$s4pexcerpt;
     
    3839        if (in_array($post->ID, $pids)) {
    3940                return $content;
    40         }
     41    }
    4142        $psttype=get_post_type($post->ID);
    4243        if (in_array($psttype, $pids)&&$psttype!==flase) {
     
    361362    <?php disp_social_on_optionpage(); ?>
    362363   
    363     <h3 style="color: #cc0000;">Increase Page Load Speed</h3>
    364     <p>Note: After using this option if the buttons do not get displayed properly then uncheck it</p>
    365     <p><input type="checkbox" name="s4optimize" id="s4optimize" value="true"<?php if (get_option( 's4optimize', true ) == true) echo ' checked'; ?>>Optimize the script for faster loading</p>
    366    
    367     &nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="s4scripthead" value="head" id="s4scripthead1"<?php if (get_option( 's4scripthead', 'head' ) == "head" ) echo ' checked'; ?>></input><label for="s4scripthead">Place Script in the Header&nbsp;&nbsp;&nbsp;&nbsp;</label>
    368     <input type="radio" name="s4scripthead" value="foot" id="s4scripthead2"<?php if (get_option( 's4scripthead', 'head' ) == "foot" ) echo ' checked'; ?>></input><label for="s4scripthead">Place Script in the Footer</label>
    369    
    370     <p>Keep this option checked if you are using Shortcode or PHP function to display the buttons<br/><input type="checkbox" name="s4allscripts" id="s4allscripts" value="true"<?php if (get_option( 's4allscripts', true ) == true) echo ' checked'; ?>>Load all scripts</p>
    371    
    372     <h3 style="color: #cc0000;">Select Icons to display</h3>
    373     <p><b>1 </b><input type="checkbox" name="s4_twitter" id="s4-twitter" value="true"<?php if (get_option( 's4_twitter', true ) == true) echo ' checked'; ?>> Display Twitter&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;via @<input type="text" name="s4twtvia" style="width: 150px;" value="<?php echo get_option('s4twtvia',''); ?>" /></p>
    374     <p><b>2 </b><input type="checkbox" name="s4_fblike" id="s4-fblike" value="true"<?php if (get_option( 's4_fblike', true ) == true) echo ' checked'; ?>> Display Facebook Like&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" name="s4_fbsend" id="s4-fbsend" value="true"<?php if (get_option( 's4_fbsend', false ) == true) echo ' checked'; ?>> Display Facebook Send </p>
    375     <p>&nbsp;&nbsp;&nbsp;&nbsp;Select Facebook Like Language <?php s4_lang_disp(); ?> </p>
    376     <p><b>3 </b><input type="checkbox" name="s4_plusone" id="s4-plusone" value="true"<?php if (get_option( 's4_plusone', true ) == true) echo ' checked'; ?>> Display Google +1 </p>
    377     <p><b>4 </b><input type="checkbox" name="s4_fbshare" id="s4-fbshare" value="true"<?php if (get_option( 's4_fbshare', true ) == true) echo ' checked'; ?>> Display Facebook Share </p>
    378     <p><b>5 </b><input type="checkbox" name="s4_linkedin" id="s4_linkedin" value="true"<?php if (get_option( 's4_linkedin', false ) == true) echo ' checked'; ?>> Display Linkedin </p>
    379     <p><b>6 </b><input type="checkbox" name="s4_cbtn" id="s4_cbtn" value="true"<?php if (get_option( 's4_cbtn', false ) == true) echo ' checked'; ?>> Display Custom Buttons </p>
    380     <p><b>Display order</b> <input type="text" name="s4dispord" style="width: 300px;" value="<?php echo s4_order_check(get_option('s4dispord','1,2,3,4,5,6')); ?>" /> <br/>To arrange icons reorder the ID associated with the buttons here separated with comma</p>
    381     <p><b>Default Thumbnail URL</b> <input type="text" name="s4defthumb" style="width: 300px;" value="<?php echo get_option('s4defthumb',''); ?>" /></p>
    382    
    383     <h3 style="color: #cc0000;">Size of Icons</h3>
    384     <input type="radio" name="s4iconsize" value="large" id="s4iconsize1"<?php if (get_option( 's4iconsize', 'large' ) == "large" ) echo ' checked'; ?>></input><label for="s4iconsize">Large&nbsp;&nbsp;&nbsp;&nbsp;</label>
    385     <input type="radio" name="s4iconsize" value="small" id="s4iconsize2"<?php if (get_option( 's4iconsize', 'large' ) == "small" ) echo ' checked'; ?>></input><label for="s4iconsize">Small</label>
    386    
    387     <h3 style="color: #cc0000;">Alignment</h3>
    388     <input type="radio" name="s4iconalign" value="left" id="s4iconalign1"<?php if (get_option( 's4iconalign', 'left' ) == "left" ) echo ' checked'; ?>></input><label for="s4iconsize">Left Aligned&nbsp;&nbsp;&nbsp;&nbsp;</label>
    389     <input type="radio" name="s4iconalign" value="right" id="s4iconalign2"<?php if (get_option( 's4iconalign', 'left' ) == "right" ) echo ' checked'; ?>></input><label for="s4iconsize">Right Aligned&nbsp;&nbsp;&nbsp;&nbsp;</label>
    390     <input type="radio" name="s4iconalign" value="floatl" id="s4iconalign3"<?php if (get_option( 's4iconalign', 'left' ) == "floatl" ) echo ' checked'; ?>></input><label for="s4iconsize">Float Left&nbsp;&nbsp;&nbsp;&nbsp;</label>
    391     <input type="radio" name="s4iconalign" value="floatr" id="s4iconalign3"<?php if (get_option( 's4iconalign', 'left' ) == "floatr" ) echo ' checked'; ?>></input><label for="s4iconsize">Float Right&nbsp;&nbsp;&nbsp;&nbsp;</label>
     364    <h3 style="color: #cc0000;"><?php _e('Increase Page Load Speed','only-tweet-like-share-and-google-1'); ?></h3>
     365    <p><?php _e('Note: After using this option if the buttons do not get displayed properly then uncheck it','only-tweet-like-share-and-google-1'); ?></p>
     366    <p><input type="checkbox" name="s4optimize" id="s4optimize" value="true"<?php if (get_option( 's4optimize', true ) == true) echo ' checked'; ?>><?php _e('Optimize the script for faster loading','only-tweet-like-share-and-google-1'); ?></p>
     367   
     368    &nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="s4scripthead" value="head" id="s4scripthead1"<?php if (get_option( 's4scripthead', 'head' ) == "head" ) echo ' checked'; ?>></input><label for="s4scripthead"><?php _e('Place Script in the Header&nbsp;&nbsp;&nbsp;&nbsp;','only-tweet-like-share-and-google-1'); ?></label>
     369    <input type="radio" name="s4scripthead" value="foot" id="s4scripthead2"<?php if (get_option( 's4scripthead', 'head' ) == "foot" ) echo ' checked'; ?>></input><label for="s4scripthead"><?php _e('Place Script in the Footer','only-tweet-like-share-and-google-1'); ?></label>
     370   
     371    <p><?php _e('Keep this option checked if you are using Shortcode or PHP function to display the buttons','only-tweet-like-share-and-google-1'); ?><br/><input type="checkbox" name="s4allscripts" id="s4allscripts" value="true"<?php if (get_option( 's4allscripts', true ) == true) echo ' checked'; ?>><?php _e('Load all scripts','only-tweet-like-share-and-google-1'); ?></p>
     372   
     373    <h3 style="color: #cc0000;"><?php _e('Select Icons to display','only-tweet-like-share-and-google-1'); ?></h3>
     374    <p><b>1 </b><input type="checkbox" name="s4_twitter" id="s4-twitter" value="true"<?php if (get_option( 's4_twitter', true ) == true) echo ' checked'; ?>> <?php _e('Display Twitter','only-tweet-like-share-and-google-1'); ?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;via @<input type="text" name="s4twtvia" style="width: 150px;" value="<?php echo get_option('s4twtvia',''); ?>" /></p>
     375    <p><b>2 </b><input type="checkbox" name="s4_fblike" id="s4-fblike" value="true"<?php if (get_option( 's4_fblike', true ) == true) echo ' checked'; ?>> <?php _e('Display Facebook Like','only-tweet-like-share-and-google-1'); ?>&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" name="s4_fbsend" id="s4-fbsend" value="true"<?php if (get_option( 's4_fbsend', false ) == true) echo ' checked'; ?>> <?php _e('Display Facebook Send','only-tweet-like-share-and-google-1'); ?> </p>
     376    <p>&nbsp;&nbsp;&nbsp;&nbsp;<?php _e('Select Facebook Like Language','only-tweet-like-share-and-google-1'); ?> <?php s4_lang_disp(); ?> </p>
     377    <p><b>3 </b><input type="checkbox" name="s4_plusone" id="s4-plusone" value="true"<?php if (get_option( 's4_plusone', true ) == true) echo ' checked'; ?>> <?php _e('Display Google +1','only-tweet-like-share-and-google-1'); ?> </p>
     378    <p><b>4 </b><input type="checkbox" name="s4_fbshare" id="s4-fbshare" value="true"<?php if (get_option( 's4_fbshare', true ) == true) echo ' checked'; ?>> <?php _e('Display Facebook Share','only-tweet-like-share-and-google-1'); ?> </p>
     379    <p><b>5 </b><input type="checkbox" name="s4_linkedin" id="s4_linkedin" value="true"<?php if (get_option( 's4_linkedin', false ) == true) echo ' checked'; ?>> <?php _e('Display Linkedin','only-tweet-like-share-and-google-1'); ?> </p>
     380    <p><b>6 </b><input type="checkbox" name="s4_cbtn" id="s4_cbtn" value="true"<?php if (get_option( 's4_cbtn', false ) == true) echo ' checked'; ?>> <?php _e('Display Custom Buttons','only-tweet-like-share-and-google-1'); ?> </p>
     381    <p><b><?php _e('Display order','only-tweet-like-share-and-google-1'); ?></b> <input type="text" name="s4dispord" style="width: 300px;" value="<?php echo s4_order_check(get_option('s4dispord','1,2,3,4,5,6')); ?>" /> <br/><?php _e('To arrange icons reorder the ID associated with the buttons here separated with comma','only-tweet-like-share-and-google-1'); ?></p>
     382    <p><b><?php _e('Default Thumbnail URL','only-tweet-like-share-and-google-1'); ?></b> <input type="text" name="s4defthumb" style="width: 300px;" value="<?php echo get_option('s4defthumb',''); ?>" /></p>
     383   
     384    <h3 style="color: #cc0000;"><?php _e('Size of Icons','only-tweet-like-share-and-google-1'); ?></h3>
     385    <input type="radio" name="s4iconsize" value="large" id="s4iconsize1"<?php if (get_option( 's4iconsize', 'large' ) == "large" ) echo ' checked'; ?>></input><label for="s4iconsize"><?php _e('Large','only-tweet-like-share-and-google-1'); ?>&nbsp;&nbsp;&nbsp;&nbsp;</label>
     386    <input type="radio" name="s4iconsize" value="small" id="s4iconsize2"<?php if (get_option( 's4iconsize', 'large' ) == "small" ) echo ' checked'; ?>></input><label for="s4iconsize"><?php _e('Small','only-tweet-like-share-and-google-1'); ?></label>
     387   
     388    <h3 style="color: #cc0000;"><?php _e('Alignment','only-tweet-like-share-and-google-1'); ?></h3>
     389    <input type="radio" name="s4iconalign" value="left" id="s4iconalign1"<?php if (get_option( 's4iconalign', 'left' ) == "left" ) echo ' checked'; ?>></input><label for="s4iconsize"><?php _e('Left Aligned','only-tweet-like-share-and-google-1'); ?>&nbsp;&nbsp;&nbsp;&nbsp;</label>
     390    <input type="radio" name="s4iconalign" value="right" id="s4iconalign2"<?php if (get_option( 's4iconalign', 'left' ) == "right" ) echo ' checked'; ?>></input><label for="s4iconsize"><?php _e('Right Aligned','only-tweet-like-share-and-google-1'); ?>&nbsp;&nbsp;&nbsp;&nbsp;</label>
     391    <input type="radio" name="s4iconalign" value="floatl" id="s4iconalign3"<?php if (get_option( 's4iconalign', 'left' ) == "floatl" ) echo ' checked'; ?>></input><label for="s4iconsize"><?php _e('Float Left','only-tweet-like-share-and-google-1'); ?>&nbsp;&nbsp;&nbsp;&nbsp;</label>
     392    <input type="radio" name="s4iconalign" value="floatr" id="s4iconalign3"<?php if (get_option( 's4iconalign', 'left' ) == "floatr" ) echo ' checked'; ?>></input><label for="s4iconsize"><?php _e('Float Right','only-tweet-like-share-and-google-1'); ?>&nbsp;&nbsp;&nbsp;&nbsp;</label>
    392393   
    393394    <div style="padding-right: 10px; padding-bottom: 10px; padding-left: 10px; background: none repeat scroll 0% 0% rgb(219, 234, 249);">   
    394     <h3 style="color: #cc0000;">Vertical Scrolling sidebar</h3>
    395     <p><input type="checkbox" name="s4dispvb" id="s4dispvb" value="true"<?php if (get_option( 's4dispvb', false ) == true) echo ' checked'; ?>> <b>Display Vertical sidebar</b> </p>
    396     <p><b>Margin Left </b><input type="text" name="s4vbmargin" style="width: 50px;" value="<?php echo get_option('s4vbmargin',100); ?>" /> (Default 100)</p>
    397     <p><b>Margin Top </b><input type="text" name="s4vbmargintop" style="width: 50px;" value="<?php echo get_option('s4vbmargintop',20); ?>" /> (Default 20)</p>
    398     <p><input type="radio" name="s4vbavis" value="true" <?php if (get_option( 's4vbavis', 'true' ) == "true" ) echo ' checked'; ?>></input><label for="s4vbavis">Always Visible&nbsp;&nbsp;&nbsp;&nbsp;</label>
    399     <input type="radio" name="s4vbavis" value="false" <?php if (get_option( 's4vbavis', 'true' ) == "false" ) echo ' checked'; ?>></input><label for="s4vbavis">Visible on scroll</label></p>
    400     <p><input type="radio" name="s4vbhide" value="vbhide" <?php if (get_option( 's4vbhide', 'vbhide' ) == "vbhide" ) echo ' checked'; ?>></input><label for="s4vbhide">Hide before comments block&nbsp;&nbsp;&nbsp;&nbsp;</label>
    401     <input type="radio" name="s4vbhide" value="vbnohide" <?php if (get_option( 's4vbhide', 'vbhide' ) == "vbnohide" ) echo ' checked'; ?>></input><label for="s4vbhide">Display until end of the page</label></p><p>Note: Other customization such as <i>background-color, border-color, etc.</i> can be done using Custom CSS. Need help then post it in the <a target="_blank" href="http://techxt.com/plugin-support-forum/tweet-like-plusone-and-share-plugin/">Forum</a></p>
     395    <h3 style="color: #cc0000;"><?php _e('Vertical Scrolling sidebar','only-tweet-like-share-and-google-1'); ?></h3>
     396    <p><input type="checkbox" name="s4dispvb" id="s4dispvb" value="true"<?php if (get_option( 's4dispvb', false ) == true) echo ' checked'; ?>> <b><?php _e('Display Vertical sidebar','only-tweet-like-share-and-google-1'); ?></b> </p>
     397    <p><b><?php _e('Margin Left','only-tweet-like-share-and-google-1'); ?> </b><input type="text" name="s4vbmargin" style="width: 50px;" value="<?php echo get_option('s4vbmargin',100); ?>" /> (Default 100)</p>
     398    <p><b><?php _e('Margin Top','only-tweet-like-share-and-google-1'); ?> </b><input type="text" name="s4vbmargintop" style="width: 50px;" value="<?php echo get_option('s4vbmargintop',20); ?>" /> (Default 20)</p>
     399    <p><input type="radio" name="s4vbavis" value="true" <?php if (get_option( 's4vbavis', 'true' ) == "true" ) echo ' checked'; ?>></input><label for="s4vbavis"><?php _e('Always Visible','only-tweet-like-share-and-google-1'); ?>&nbsp;&nbsp;&nbsp;&nbsp;</label>
     400    <input type="radio" name="s4vbavis" value="false" <?php if (get_option( 's4vbavis', 'true' ) == "false" ) echo ' checked'; ?>></input><label for="s4vbavis"><?php _e('Visible on scroll','only-tweet-like-share-and-google-1'); ?></label></p>
     401    <p><input type="radio" name="s4vbhide" value="vbhide" <?php if (get_option( 's4vbhide', 'vbhide' ) == "vbhide" ) echo ' checked'; ?>></input><label for="s4vbhide"><?php _e('Hide before comments block','only-tweet-like-share-and-google-1'); ?>&nbsp;&nbsp;&nbsp;&nbsp;</label>
     402    <input type="radio" name="s4vbhide" value="vbnohide" <?php if (get_option( 's4vbhide', 'vbhide' ) == "vbnohide" ) echo ' checked'; ?>></input><label for="s4vbhide"><?php _e('Display until end of the page','only-tweet-like-share-and-google-1'); ?></label></p><p><?php _e('Note: Other customization such as <i>background-color, border-color, etc.</i> can be done using Custom CSS. Need help then post it in the','only-tweet-like-share-and-google-1'); ?> <a target="_blank" href="http://techxt.com/plugin-support-forum/tweet-like-plusone-and-share-plugin/"><?php _e('Forum','only-tweet-like-share-and-google-1'); ?></a></p>
    402403    </div>
    403404   
    404     <h3 style="color: #cc0000;">Where to Display</h3>
    405     <p><input type="checkbox" name="s4onpost" id="s4onpost" value="true"<?php if (get_option( 's4onpost', true ) == true) echo ' checked'; ?>> <b>Display on Posts</b> </p>
     405    <h3 style="color: #cc0000;"><?php _e('Where to Display','only-tweet-like-share-and-google-1'); ?></h3>
     406    <p><input type="checkbox" name="s4onpost" id="s4onpost" value="true"<?php if (get_option( 's4onpost', true ) == true) echo ' checked'; ?>> <b><?php _e('Display on Posts','only-tweet-like-share-and-google-1'); ?></b> </p>
    406407    <div style="margin-left: 30px;">
    407     <p><input type="checkbox" name="s4pabovepost" id="s4abovepost" value="true"<?php if (get_option( 's4pabovepost', true ) == true) echo ' checked'; ?>> Display Above Content </p>
    408     <p><input type="checkbox" name="s4pbelowpost" id="s4belowpost" value="true"<?php if (get_option( 's4pbelowpost', false ) == true) echo ' checked'; ?>>Display Below Content</p>
     408    <p><input type="checkbox" name="s4pabovepost" id="s4abovepost" value="true"<?php if (get_option( 's4pabovepost', true ) == true) echo ' checked'; ?>> <?php _e('Display Above Content','only-tweet-like-share-and-google-1'); ?> </p>
     409    <p><input type="checkbox" name="s4pbelowpost" id="s4belowpost" value="true"<?php if (get_option( 's4pbelowpost', false ) == true) echo ' checked'; ?>><?php _e('Display Below Content','only-tweet-like-share-and-google-1'); ?></p>
    409410    </div>
    410     <p><input type="checkbox" name="s4onpage" id="s4onpage" value="true"<?php if (get_option( 's4onpage', true ) == true) echo ' checked'; ?>><b>Display on Pages</b></p>
     411    <p><input type="checkbox" name="s4onpage" id="s4onpage" value="true"<?php if (get_option( 's4onpage', true ) == true) echo ' checked'; ?>><b><?php _e('Display on Pages','only-tweet-like-share-and-google-1'); ?></b></p>
    411412    <div style="margin-left: 30px;">
    412     <p><input type="checkbox" name="s4pgabovepost" id="s4abovepost" value="true"<?php if (get_option( 's4pgabovepost', true ) == true) echo ' checked'; ?>> Display Above Content </p>
    413     <p><input type="checkbox" name="s4pgbelowpost" id="s4belowpost" value="true"<?php if (get_option( 's4pgbelowpost', false ) == true) echo ' checked'; ?>>Display Below Content</p>
     413    <p><input type="checkbox" name="s4pgabovepost" id="s4abovepost" value="true"<?php if (get_option( 's4pgabovepost', true ) == true) echo ' checked'; ?>> <?php _e('Display Above Content','only-tweet-like-share-and-google-1'); ?> </p>
     414    <p><input type="checkbox" name="s4pgbelowpost" id="s4belowpost" value="true"<?php if (get_option( 's4pgbelowpost', false ) == true) echo ' checked'; ?>><?php _e('Display Below Content','only-tweet-like-share-and-google-1'); ?></p>
    414415    </div>
    415     <p><input type="checkbox" name="s4onhome" id="s4onhome" value="true"<?php if (get_option( 's4onhome', false ) == true) echo ' checked'; ?>><b>Display on Home Page</b> </p>
     416    <p><input type="checkbox" name="s4onhome" id="s4onhome" value="true"<?php if (get_option( 's4onhome', false ) == true) echo ' checked'; ?>><b><?php _e('Display on Home Page','only-tweet-like-share-and-google-1'); ?></b> </p>
    416417    <div style="margin-left: 30px;">
    417     <p><input type="checkbox" name="s4habovepost" id="s4abovepost" value="true"<?php if (get_option( 's4habovepost', true ) == true) echo ' checked'; ?>> Display Above Content </p>
    418     <p><input type="checkbox" name="s4hbelowpost" id="s4belowpost" value="true"<?php if (get_option( 's4hbelowpost', false ) == true) echo ' checked'; ?>>Display Below Content</p>
     418    <p><input type="checkbox" name="s4habovepost" id="s4abovepost" value="true"<?php if (get_option( 's4habovepost', true ) == true) echo ' checked'; ?>> <?php _e('Display Above Content','only-tweet-like-share-and-google-1'); ?> </p>
     419    <p><input type="checkbox" name="s4hbelowpost" id="s4belowpost" value="true"<?php if (get_option( 's4hbelowpost', false ) == true) echo ' checked'; ?>><?php _e('Display Below Content','only-tweet-like-share-and-google-1'); ?></p>
    419420    </div>
    420     <p><input type="checkbox" name="s4onarchi" id="s4onarchi" value="true"<?php if (get_option( 's4onarchi', false ) == true) echo ' checked'; ?>><b>Display on Archive Pages(Categories, Tages, Author etc.)</b></p>
     421    <p><input type="checkbox" name="s4onarchi" id="s4onarchi" value="true"<?php if (get_option( 's4onarchi', false ) == true) echo ' checked'; ?>><b><?php _e('Display on Archive Pages(Categories, Tages, Author etc.)','only-tweet-like-share-and-google-1'); ?></b></p>
    421422    <div style="margin-left: 30px;">
    422     <p><input type="checkbox" name="s4aabovepost" id="s4abovepost" value="true"<?php if (get_option( 's4aabovepost', true ) == true) echo ' checked'; ?>> Display Above Content </p>
    423     <p><input type="checkbox" name="s4abelowpost" id="s4belowpost" value="true"<?php if (get_option( 's4abelowpost', false ) == true) echo ' checked'; ?>>Display Below Content</p>
     423    <p><input type="checkbox" name="s4aabovepost" id="s4abovepost" value="true"<?php if (get_option( 's4aabovepost', true ) == true) echo ' checked'; ?>> <?php _e('Display Above Content','only-tweet-like-share-and-google-1'); ?> </p>
     424    <p><input type="checkbox" name="s4abelowpost" id="s4belowpost" value="true"<?php if (get_option( 's4abelowpost', false ) == true) echo ' checked'; ?>><?php _e('Display Below Content','only-tweet-like-share-and-google-1'); ?></p>
    424425    </div>
    425     <p><input type="checkbox" name="s4onexcer" id="s4onexcer" value="true"<?php if (get_option( 's4onexcer', true ) == true) echo ' checked'; ?>><b>Display on Excerpts</b></p>
    426     <p><input type="checkbox" name="s4onexcererr" id="s4onexcererr" value="true"<?php if (get_option( 's4onexcererr', false ) == true) echo ' checked'; ?>><b>Rectify display error on Excerpts</b> (check this only if the buttons are not getting displayed properly on excerpts)</p>
     426    <p><input type="checkbox" name="s4onexcer" id="s4onexcer" value="true"<?php if (get_option( 's4onexcer', true ) == true) echo ' checked'; ?>><b><?php _e('Display on Excerpts','only-tweet-like-share-and-google-1'); ?></b></p>
     427    <p><input type="checkbox" name="s4onexcererr" id="s4onexcererr" value="true"<?php if (get_option( 's4onexcererr', false ) == true) echo ' checked'; ?>><b><?php _e('Rectify display error on Excerpts','only-tweet-like-share-and-google-1'); ?></b> <?php _e('(check this only if the buttons are not getting displayed properly on excerpts)','only-tweet-like-share-and-google-1'); ?></p>
    427428   
    428429    <h3 style="color: #cc0000;">Mobile browsers</h3>
    429     <p><input type="checkbox" name="s4dmob" id="s4dmob" value="true"<?php if (get_option( 's4dmob', false ) == true) echo ' checked'; ?>><b>Disable on Mobile Browser</b><br /> Check this option if you have installed a mobile theme plugin like Wptouch, WordPress Mobile Pack etc.</p>
    430    
    431     <h3 style="color: #cc0000;">Don't display on Posts/Pages</h3>
    432     <p>Enter the <b>ID's</b> of those Pages/Posts separated by comma. e.g 13,5,87<br/>You can also include a <b>custom post types</b> or <b>custom post format</b> (all separated by comma)<br />
     430    <p><input type="checkbox" name="s4dmob" id="s4dmob" value="true"<?php if (get_option( 's4dmob', false ) == true) echo ' checked'; ?>><b><?php _e('Disable on Mobile Browser','only-tweet-like-share-and-google-1'); ?></b><br /><?php _e('Check this option if you have installed a mobile theme plugin like Wptouch, WordPress Mobile Pack etc.','only-tweet-like-share-and-google-1'); ?></p>
     431   
     432    <h3 style="color: #cc0000;"><?php _e("Don't display on Posts/Pages",'only-tweet-like-share-and-google-1'); ?></h3>
     433    <p><?php _e('Enter the','only-tweet-like-share-and-google-1'); ?> <b>ID's</b> <?php _e('of those Pages/Posts separated by comma','only-tweet-like-share-and-google-1'); ?>. e.g 13,5,87<br/><?php _e('You can also include a','only-tweet-like-share-and-google-1'); ?> <b><?php _e('custom post types','only-tweet-like-share-and-google-1'); ?></b> or <b><?php _e('custom post format','only-tweet-like-share-and-google-1'); ?></b> <?php _e('(all separated by comma)','only-tweet-like-share-and-google-1'); ?><br />
    433434    <input type="text" name="s4excludeid" style="width: 300px;" value="<?php echo get_option('s4excludeid',''); ?>" /></p>
    434435   
    435     <h3 style="color: #cc0000;">Don't display on Category</h3>
    436     <p>Enter the ID's of those Categories separated by comma. e.g 131,45,817<br/>
     436    <h3 style="color: #cc0000;"><?php _e("Don't display on Category",'only-tweet-like-share-and-google-1'); ?></h3>
     437    <p><?php _e("Enter the ID's of those Categories separated by comma",'only-tweet-like-share-and-google-1'); ?>. e.g 131,45,817<br/>
    437438    <input type="text" name="s4excludecat" style="width: 300px;" value="<?php echo get_option('s4excludecat',''); ?>" /></p>
    438439   
    439     <h3 style="color: #cc0000;">Insert Custom CSS</h3>
    440     <small>Your theme should have Call to wp_head() function</small><br />
     440    <h3 style="color: #cc0000;"><?php _e('Insert Custom CSS','only-tweet-like-share-and-google-1'); ?></h3>
     441    <small><?php _e('Your theme should have Call to wp_head() function','only-tweet-like-share-and-google-1'); ?></small><br />
    441442    <p><textarea name="s4ccss" rows="10" cols="50" style="width:600px;"><?php echo stripslashes(htmlspecialchars(get_option('s4ccss',''))); ?></textarea></p>
    442443   
    443     <h3 style="color: #cc0000;">Insert Custom JavaScript</h3>
    444     <small>Your theme should have Call to wp_head() function</small><br />
    445     <small>Add opening and closing script tags (&lt;script>...&lt;/script>)</small><br />
     444    <h3 style="color: #cc0000;"><?php _e('Insert Custom JavaScript','only-tweet-like-share-and-google-1'); ?></h3>
     445    <small><?php _e('Your theme should have Call to wp_head() function','only-tweet-like-share-and-google-1'); ?></small><br />
     446    <small><?php _e('Add opening and closing script tags (&lt;script>...&lt;/script>)','only-tweet-like-share-and-google-1'); ?></small><br />
    446447    <p><textarea name="s4cjscript" rows="10" cols="50" style="width:600px;"><?php echo stripslashes(htmlspecialchars(get_option('s4cjscript',''))); ?></textarea></p>
    447448   
    448     <h3 style="color: #cc0000;">Add your own Custom Buttons</h3>
     449    <h3 style="color: #cc0000;"><?php _e('Add your own Custom Buttons','only-tweet-like-share-and-google-1'); ?></h3>
    449450    <table>
    450451    <tr><td>
    451452    <p>
    452     To add more than one custom button, separate the buttons codes with the word <b>[BUTTON]</b><br />
    453     e.g {code of first button} [BUTTON] {code of second button}
     453    <?php _e('To add more than one custom button, separate the buttons codes with the word','only-tweet-like-share-and-google-1'); ?> <b>[BUTTON]</b><br />
     454    e.g {<?php _e('code of first button','only-tweet-like-share-and-google-1'); ?>} [BUTTON] {<?php _e('code of second button','only-tweet-like-share-and-google-1'); ?>}
    454455    </p>
    455456    <p>
    456     Following <b>Tags</b> that will be replace by actual codes when the buttons are displayed<br/>
    457     <b>%%URL%%</b> - The URL of the Post/Page<br/>
    458     <b>%%EURL%%</b> - The HTML encoded URL of the Post/Page<br/>
    459     <b>%%TITLE%%</b> - The Title of the Post/Page<br/>
    460     <b>%%ETITLE%%</b> - URL encoded Title of the Post/Page<br/>
    461     <b>%%DESC%%</b> - Description or Post Excerpts<br/>
    462     <b>%%EDESC%%</b> - URL encoded Description or Post Excerpts<br/>
    463     <b>%%PIMAGE%%</b> - Link to the Featured Image of the post or the first image if featured image not set.<br/>
    464     <b>%%COMMENTCOUNT%%</b> - Number of comments for the Post.<br/>
     457    <?php _e('Following','only-tweet-like-share-and-google-1'); ?> <b><?php _e('Tags','only-tweet-like-share-and-google-1'); ?></b> <?php _e('that will be replace by actual codes when the buttons are displayed','only-tweet-like-share-and-google-1'); ?><br/>
     458    <b>%%URL%%</b> - <?php _e('The URL of the Post/Page','only-tweet-like-share-and-google-1'); ?><br/>
     459    <b>%%EURL%%</b> - <?php _e('The HTML encoded URL of the Post/Page','only-tweet-like-share-and-google-1'); ?><br/>
     460    <b>%%TITLE%%</b> - <?php _e('The Title of the Post/Page','only-tweet-like-share-and-google-1'); ?><br/>
     461    <b>%%ETITLE%%</b> - <?php _e('URL encoded Title of the Post/Page','only-tweet-like-share-and-google-1'); ?><br/>
     462    <b>%%DESC%%</b> - <?php _e('Description or Post Excerpts','only-tweet-like-share-and-google-1'); ?><br/>
     463    <b>%%EDESC%%</b> - <?php _e('URL encoded Description or Post Excerpts','only-tweet-like-share-and-google-1'); ?><br/>
     464    <b>%%PIMAGE%%</b> - <?php _e('Link to the Featured Image of the post or the first image if featured image not set.','only-tweet-like-share-and-google-1'); ?><br/>
     465    <b>%%COMMENTCOUNT%%</b> - <?php _e('Number of comments for the Post.','only-tweet-like-share-and-google-1'); ?><br/>
    465466    </p>
    466467    </td></tr>
    467468    <tr><td>
    468     Place <b>Large button Code</b> in this box
     469    <?php _e('Place','only-tweet-like-share-and-google-1'); ?> <b><?php _e('Large button Code','only-tweet-like-share-and-google-1'); ?></b> <?php _e('in this box','only-tweet-like-share-and-google-1'); ?>
    469470    </td><td>
    470     Place <b>Small button Code</b> in this box
     471    <?php _e('Place','only-tweet-like-share-and-google-1'); ?> <b><?php _e('Small button Code','only-tweet-like-share-and-google-1'); ?></b> <?php _e('in this box','only-tweet-like-share-and-google-1'); ?>
    471472    </td></tr>
    472473    <tr><td>
     
    476477    </td></tr>
    477478    <tr><td>
    478     If you have successfully added a custom button to your site then please help others by posting the custom code in the <a target="_blank" href="http://techxt.com/plugin-support-forum/tweet-like-plusone-and-share-plugin/">Plugin Forum</a>.
     479    <?php _e('If you have successfully added a custom button to your site then please help others by posting the custom code in the','only-tweet-like-share-and-google-1'); ?> <a target="_blank" href="http://techxt.com/plugin-support-forum/tweet-like-plusone-and-share-plugin/"><?php _e('Plugin Forum','only-tweet-like-share-and-google-1'); ?></a>.
    479480    </td></tr>
    480481    <tr><td>
    481     <h3 style="color: #cc0000;">Other options</h3>
    482     <p><input type="checkbox" name="s4vremove" id="s4vremove" value="true"<?php if (get_option( 's4vremove', false ) == true) echo ' checked'; ?>><b>Remove Share link</b><br/>Removes share link credit from Vertical sharebar</p>
    483     <p><input type="checkbox" name="s4nometa" id="s4nometa" value="true"<?php if (get_option( 's4nometa', false ) == true) echo ' checked'; ?>><b>Do not add Facebook OG META tags</b><br/>If some other plugin is adding the Facebook Meta tags</p>
    484     <p><input type="checkbox" name="s4nofbjava" id="s4nofbjava" value="true"<?php if (get_option( 's4nofbjava', false ) == true) echo ' checked'; ?>><b>Do not add Facebook Javascript</b><br/>If some other plugin is adding the javascript</p>
    485     <p><input type="checkbox" name="s4analytics" id="s4analytics" value="true"<?php if (get_option( 's4analytics', false ) == true) echo ' checked'; ?>><b>Add Google analytics button Tracking code</b><br/>Adds tracking code to track Facebook Like and Linkedin button clicks (under beta testing)</p>
     482    <h3 style="color: #cc0000;"><?php _e('Other options','only-tweet-like-share-and-google-1'); ?></h3>
     483    <p><input type="checkbox" name="s4vremove" id="s4vremove" value="true"<?php if (get_option( 's4vremove', false ) == true) echo ' checked'; ?>><b><?php _e('Remove Share link','only-tweet-like-share-and-google-1'); ?></b><br/><?php _e('Removes share link credit from Vertical sharebar','only-tweet-like-share-and-google-1'); ?></p>
     484    <p><input type="checkbox" name="s4nometa" id="s4nometa" value="true"<?php if (get_option( 's4nometa', false ) == true) echo ' checked'; ?>><b><?php _e('Do not add Facebook OG META tags','only-tweet-like-share-and-google-1'); ?></b><br/><?php _e('If some other plugin is adding the Facebook Meta tags','only-tweet-like-share-and-google-1'); ?></p>
     485    <p><input type="checkbox" name="s4nofbjava" id="s4nofbjava" value="true"<?php if (get_option( 's4nofbjava', false ) == true) echo ' checked'; ?>><b><?php _e('Do not add Facebook Javascript','only-tweet-like-share-and-google-1'); ?></b><br/><?php _e('If some other plugin is adding the javascript','only-tweet-like-share-and-google-1'); ?></p>
     486    <p><input type="checkbox" name="s4analytics" id="s4analytics" value="true"<?php if (get_option( 's4analytics', false ) == true) echo ' checked'; ?>><b><?php _e('Add Google analytics button Tracking code','only-tweet-like-share-and-google-1'); ?></b><br/><?php _e('Adds tracking code to track Facebook Like and Linkedin button clicks (under beta testing)','only-tweet-like-share-and-google-1'); ?></p>
    486487    </td></tr>
    487488    </table>
Note: See TracChangeset for help on using the changeset viewer.