Example #1
0
 function nxs_addPostingDelaySel($nt, $ii, $hrs = 0, $min = 0)
 {
     if (function_exists('nxs_doSMAS4')) {
         return nxs_doSMAS4($nt, $ii, $hrs, $min);
     } else {
         return '<br/>';
     }
 }
    function nxs_addPostingDelaySelV3($nt, $ii, $hrs = 0, $min = 0, $days = 0)
    {
        if (function_exists('nxs_doSMAS4')) {
            ?>
 <div class="nxs_tls_cpt"><?php 
            _e('Posting Delay', 'nxs_snap');
            ?>
</div>  
    <div class="nxs_tls_bd"><?php 
            global $plgn_NS_SNAutoPoster, $nxs_plurl;
            if (!isset($plgn_NS_SNAutoPoster)) {
                return;
            }
            $options = $plgn_NS_SNAutoPoster->nxs_options;
            if ($options['nxsHTDP'] == 'I') {
                _e('Not Compatible with "Publish Immediately"');
            } else {
                echo nxs_doSMAS4($nt, $ii, $hrs, $min, $days);
            }
            ?>
</div>      
  <?php 
        } else {
            echo '<br/>';
        }
    }