function liq_spp_term_callback() { if (isset($_POST['liq_spp_term'])) { liq_spp_insertdb(); } ?> <div class="wrap"> <div id="icon-options-general" class="icon32"> <br></div> <h2>Add Term to SPP</h2> <table class="widefat" id="icl_languages_selection_table"> <thead> <tr> <th>Add Term to SPP</th> </tr> </thead> <tbody> <tr><td> <form method="post" action=""> <table class="form-table"> <tbody> <tr valign="top"> <td><input type="checkbox" id="" name="spp_linebreak" /> I m using line break </td> </tr> <tr valign="top"> <td> <textarea id="" rows="10" cols="120" name="liq_spp_term"></textarea></td> </tr> <tr><td> Note: make sure each term separated by comma ",". example:<br> <span style="font-size:12px;font-family:arial;color:blue;"> spp oke banget gitu loh, masbuchin gianteng, gerakan anti galau indonesia </span> </td> </tr> </tbody> </table> <p class="submit"> <input type="submit" class="button-primary" value="<?php _e('Insert'); ?> " /> </p> </form> </td></tr> </tbody> </table> </div> <?php }
function liq_spp_term_callback(){ if(isset($_POST['liq_spp_term'])){liq_spp_insertdb();} ?> <div class="wrap"> <div id="icon-options-general" class="icon32"> <br></div> <h2>Add Term to SPP</h2> <table class="widefat" id="icl_languages_selection_table"> <thead> <tr> <th>Add Term to SPP</th> </tr> </thead> <tbody> <tr><td> <form method="post" action=""> <table class="form-table"> <tbody> <tr valign="top"> <td><input checked="checked" type="checkbox" id="" name="spp_linebreak" /> I m using line break </td> </tr> <tr valign="top"> <td> <textarea id="" rows="10" cols="120" name="liq_spp_term"></textarea></td> </tr> <tr><td> Note: make sure each term separated by comma ",". example:<br> <span style="font-size:12px;font-family:arial;color:blue;"> spp oke banget gitu loh, masbuchin gianteng, gerakan anti galau indonesia </span> </td> </tr> </tbody> </table> <p class="submit"> <input type="submit" class="button-primary" value="<?php _e('Insert') ?>" /> </p> </form> </td></tr> </tbody> </table> <h2>SPP RSS</h2> <table class="widefat" id="icl_languages_selection_table"> <thead> <tr> <th>Enable SPP RSS</th> </tr> </thead> <tbody> <form method="post" action="options.php"> <?php settings_fields( 'liq-spp-setting' ); $opt = get_option('liq_spp'); ?> <tr valign="top"> <td><input type="checkbox" id="" name="liq_spp[liq_spp_rss]" value="1" <?php checked($opt['liq_spp_rss'],1); ?>/> Enable RSS. <?php if( $opt['liq_spp_rss'] == 1) echo 'Your RSS link: <strong><a target="_blank" href="'.get_bloginfo('home').'/feed/spp">'.get_bloginfo('home').'/feed/spp</a></strong>';?> </td> </tr> <tr valign="top"> <td><input type="text" id="" name="liq_spp[liq_spp_rss_num]" value="<?php echo $opt['liq_spp_rss_num']; ?>" size="5"/> Term to show in RSS </td> </tr> <tr valign="top"> <td> <input type="submit" class="button-primary" name="liq_spp_submit" value="<?php _e('Update') ?>" /> </td> </tr> </form> </tbody> </table> <h2>RSS to Term</h2> <table class="widefat" id="icl_languages_selection_table"> <thead> <tr> <th>Auto Term Injector</th> </tr> <tr> <td> <p> Use in TEXT widget as shortcode <strong>[spp_feedkw x=10 url=http://mytargetdomain.tld/feed]</strong><br /> s = 1 or 0, save term or not. default 1<br /> x = number of term to show<br /> url = feed URL</p> </td> <tr> </thead> <tbody> </div> <?php }