?> <input type="text" name="wso_obitly_login" value="{$wsoOpts['wsourlp'][0]}" /><br /> <?php _e('API Key:', 'wordsocial'); ?> <input type="text" name="wso_obitly_apikey" value="{$wsoOpts['wsourlp'][1]}" /> </div> <script type="text/javascript"> <?php echo $wsoOpts[$this->m_options['short_method']] != "yourls" ? "jQuery('#wso_yourls').hide();" : ''; ?> <?php echo $wsoOpts[$this->m_options['short_method']] != "obitly" ? "jQuery('#wso_obitly').hide();" : ''; ?> jQuery('#wsotwwsourl').change(function(){ var value = jQuery(this).val(); if(value == "yourls") { jQuery('#wso_yourls').show(); jQuery('#wso_obitly').hide(); } else if(value == "obitly") { jQuery('#wso_obitly').show(); jQuery('#wso_yourls').hide(); } else { jQuery('#wso_yourls').hide(); jQuery('#wso_obitly').hide(); } }); </script> </td> </tr> </tbody> </table> <?php } } } wso_add_service("Twitter", "tw", WSO_Twitter::get());
} ?> <tr> <th><?php _e('Show an image ?', 'wordsocial'); ?> </th> <td> <input type="radio" value="1" name="wsofb_showpicture" id="wsofb_show_picture"<?php echo (int) $opts[self::WSO_OPT_PICTURE] == 1 ? ' checked="checked"' : ''; ?> /> <label for="wsofb_show_picture"><?php _e('Yes', 'wordsocial'); ?> </label> <input type="radio" value="0" name="wsofb_showpicture" id="wsofb_hide_picture"<?php echo (int) $opts[self::WSO_OPT_PICTURE] == 0 ? ' checked="checked"' : ''; ?> /> <label for="wsofb_hide_picture"><?php _e('No', 'wordsocial'); ?> </label> </td> </tr> </tbody> </table> <?php } } } wso_add_service("Facebook", "fb", WSO_Facebook::get());
} ?> <tr> <th><?php _e('Show an image ?', 'wordsocial'); ?> </th> <td> <input type="radio" value="1" name="wsoli_showpicture" id="wsoli_show_picture"<?php echo (int) $opts[self::WSO_OPT_PICTURE] == 1 ? ' checked="checked"' : ''; ?> /> <label for="wsoli_show_picture"><?php _e('Yes', 'wordsocial'); ?> </label> <input type="radio" value="0" name="wsoli_showpicture" id="wsoli_hide_picture"<?php echo (int) $opts[self::WSO_OPT_PICTURE] == 0 ? ' checked="checked"' : ''; ?> /> <label for="wsoli_hide_picture"><?php _e('No', 'wordsocial'); ?> </label> </td> </tr> </tbody> </table> <?php } } } wso_add_service("LinkedIn", "li", WSO_LinkedIn::get());