nxs_showURLToUseDlg

The NextScripts: Social Networks Auto-Poster nxs showURLToUseDlg function.

Description

nxs_showURLToUseDlg( $nt, $ii, $urlToUse ); 

Parameters (3)

0. $nt
The nt.
1. $ii
The ii.
2. $urltouse
The urltouse.

Usage

  1. if ( !function_exists( 'nxs_showURLToUseDlg' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'nextscripts-social-networks-auto-poster/nxs_functions.php'; 
  3.  
  4. // The nt. 
  5. $nt = null; 
  6.  
  7. // The ii. 
  8. $ii = null; 
  9.  
  10. // The urltouse. 
  11. $urltouse = null; 
  12.  
  13. // NOTICE! Understand what this does before running. 
  14. $result = nxs_showURLToUseDlg($nt, $ii, $urltouse); 
  15.  

Defined (1)

The function is defined in the following location(s).

/nxs_functions.php  
  1. if (!function_exists('nxs_showURLToUseDlg')) { function nxs_showURLToUseDlg($nt, $ii, $urlToUse) { ?> 
  2. <tr id="altFormat1" style=""><th scope="row" style="vertical-align:top; padding-top: 6px; text-align:right; width:60px; padding-right:10px;"><?php _e('URL to use:', 'social-networks-auto-poster-facebook-twitter-g') ?></th> 
  3. <td><input type="checkbox" class="isAutoURL" <?php if ($urlToUse=='') { ?>checked="checked"<?php } ?> id="isAutoURL-<?php echo $nt; ?><?php echo $ii; ?>" name="<?php echo $nt; ?>[<?php echo $ii; ?>][isAutoURL]" value="A"/> <?php _e('Auto', 'social-networks-auto-poster-facebook-twitter-g'); ?> - <i><?php _e('Post URL or globally defined URL will be used', 'social-networks-auto-poster-facebook-twitter-g'); ?></i> 
  4.  
  5. <div class="nxs_prevURLDiv" <?php if (trim($urlToUse)=='') { ?> style="display:none;"<?php } ?> id="isAutoURLFld-<?php echo $nt; ?><?php echo $ii; ?>"> 
  6.    <?php _e('URL:', 'social-networks-auto-poster-facebook-twitter-g') ?> <input size="90" type="text" name="<?php echo $nt; ?>[<?php echo $ii; ?>][urlToUse]" value="<?php echo $urlToUse ?>" id="URLToUse-<?php echo $nt; ?><?php echo $ii; ?>" />  
  7. <br/><span><?php _e('This will trigger "Network will decide attachment info". Image and other settings will be ignored.', 'social-networks-auto-poster-facebook-twitter-g') ?></span> 
  8. </div> 
  9.  
  10. </td></tr>  
  11. <?php }}