本文整理汇总了PHP中nxs_addQTranslSel函数的典型用法代码示例。如果您正苦于以下问题:PHP nxs_addQTranslSel函数的具体用法?PHP nxs_addQTranslSel怎么用?PHP nxs_addQTranslSel使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了nxs_addQTranslSel函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: showNTSettings
function showNTSettings($ii, $options, $isNew = false)
{
global $nxs_plurl;
$nt = $options['ntInfo']['lcode'];
$ntU = strtoupper($nt);
if (!isset($options['nHrs'])) {
$options['nHrs'] = 0;
}
if (!isset($options['nMin'])) {
$options['nMin'] = 0;
}
if (!isset($options['catSel'])) {
$options['catSel'] = 0;
}
if (!isset($options['catSelEd'])) {
$options['catSelEd'] = '';
}
if (!isset($options['nDays'])) {
$options['nDays'] = 0;
}
if (!isset($options['qTLng'])) {
$options['qTLng'] = '';
}
if (!isset($options['grpID'])) {
$options['grpID'] = '';
}
if (!isset($options['attchImg'])) {
$options['attchImg'] = '';
}
if (!isset($options['attchImg'])) {
$options['attchImg'] = '';
}
?>
<div id="doFF<?php
echo $ii;
?>
Div" class="insOneDiv<?php
if ($isNew) {
echo " clNewNTSets";
}
?>
" style="max-width: 1000px; background-color: #EBF4FB; margin: 10px; border: 1px solid #808080; padding: 10px; display:none;"> <input type="hidden" name="apDoSFF<?php
echo $ii;
?>
" value="0" id="apDoSFF<?php
echo $ii;
?>
" />
<div class="nsx_iconedTitle" style="float: right; background-image: url(<?php
echo $nxs_plurl;
?>
img/ff16.png);"><a style="font-size: 12px;" target="_blank" href="http://www.nextscripts.com/setup-installation-FriendFeed-social-networks-auto-poster-wordpress/"><?php
$nType = "FriendFeed";
printf(__('Detailed %s Installation/Configuration Instructions', 'nxs_snap'), $nType);
?>
</a></div>
<div style="width:100%;"><strong><?php
_e('Account Nickname', 'nxs_snap');
?>
:</strong> <i><?php
_e('Just so you can easily identify it', 'nxs_snap');
?>
</i> </div><input name="ff[<?php
echo $ii;
?>
][nName]" id="ffnName<?php
echo $ii;
?>
" style="font-weight: bold; color: #005800; border: 1px solid #ACACAC; width: 40%;" value="<?php
_e(apply_filters('format_to_edit', htmlentities($options['nName'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
?>
" /><br/>
<?php
echo nxs_addQTranslSel('ff', $ii, $options['qTLng']);
?>
<br/>
<ul class="nsx_tabs">
<li><a href="#nsx<?php
echo $nt . $ii;
?>
_tab1"><?php
_e('Account Info', 'nxs_snap');
?>
</a></li>
<?php
if (!$isNew) {
?>
<li><a href="#nsx<?php
echo $nt . $ii;
?>
_tab2"><?php
_e('Advanced', 'nxs_snap');
?>
</a></li> <?php
}
?>
</ul>
//.........这里部分代码省略.........
示例2: showNTSettings
function showNTSettings($ii, $options, $isNew = false)
{
global $nxs_plurl;
$nt = $options['ntInfo']['lcode'];
$ntU = strtoupper($nt);
if (!isset($options['nHrs'])) {
$options['nHrs'] = 0;
}
if (!isset($options['nMin'])) {
$options['nMin'] = 0;
}
if (!isset($options['catSel'])) {
$options['catSel'] = 0;
}
if (!isset($options['catSelEd'])) {
$options['catSelEd'] = '';
}
if (!isset($options['nDays'])) {
$options['nDays'] = 0;
}
if (!isset($options['qTLng'])) {
$options['qTLng'] = '';
}
?>
<div id="doKT<?php
echo $ii;
?>
Div" class="insOneDiv<?php
if ($isNew) {
?>
clNewNTSets<?php
}
?>
"> <input type="hidden" name="apDoSKT<?php
echo $ii;
?>
" value="0" id="apDoSKT<?php
echo $ii;
?>
" />
<div class="nsx_iconedTitle" style="float: right; background-image: url(<?php
echo $nxs_plurl;
?>
img/<?php
echo $nt;
?>
16.png);"><a style="font-size: 12px;" target="_blank" href="http://www.nextscripts.com/instructions/kippt-social-networks-auto-poster-setup-installation/"><?php
$nType = "Kippt";
printf(__('Detailed %s Installation/Configuration Instructions', 'social-networks-auto-poster-facebook-twitter-g'), $nType);
?>
</a></div>
<div style="width:100%;"><strong><?php
_e('Account Nickname', 'social-networks-auto-poster-facebook-twitter-g');
?>
:</strong> <i><?php
_e('Just so you can easily identify it', 'social-networks-auto-poster-facebook-twitter-g');
?>
</i> </div><input name="<?php
echo $nt;
?>
[<?php
echo $ii;
?>
][nName]" id="nName<?php
echo $ii;
?>
" style="font-weight: bold; color: #005800; border: 1px solid #ACACAC; width: 40%;" value="<?php
_e(apply_filters('format_to_edit', htmlentities($options['nName'], ENT_COMPAT, "UTF-8")), 'social-networks-auto-poster-facebook-twitter-g');
?>
" /><br/>
<?php
echo nxs_addQTranslSel($nt, $ii, $options['qTLng']);
?>
<br/>
<ul class="nsx_tabs">
<li><a href="#nsx<?php
echo $nt . $ii;
?>
_tab1"><?php
_e('Account Info', 'social-networks-auto-poster-facebook-twitter-g');
?>
</a></li>
<?php
if (!$isNew) {
?>
<li><a href="#nsx<?php
echo $nt . $ii;
?>
_tab2"><?php
_e('Advanced', 'social-networks-auto-poster-facebook-twitter-g');
?>
</a></li> <?php
}
?>
</ul>
<div class="nsx_tab_container"><?php
/* ######################## Account Tab ####################### */
//.........这里部分代码省略.........
示例3: showNTSettings
function showNTSettings($ii, $options, $isNew = false)
{
global $nxs_plurl, $nxs_snapSetPgURL;
$ntInfo = $this->ntInfo;
$nt = $ntInfo['lcode'];
$ntU = $ntInfo['code'];
if (!isset($options['nHrs'])) {
$options['nHrs'] = 0;
}
if (!isset($options['nMin'])) {
$options['nMin'] = 0;
}
if (!isset($options['catSel'])) {
$options['catSel'] = 0;
}
if (!isset($options['catSelEd'])) {
$options['catSelEd'] = '';
}
if (!isset($options['nDays'])) {
$options['nDays'] = 0;
}
if (!isset($options['qTLng'])) {
$options['qTLng'] = '';
}
if (!isset($options['setID'])) {
$options['setID'] = '';
}
if (!isset($options['appKey'])) {
$options['appKey'] = '';
}
if (!isset($options['appSec'])) {
$options['appSec'] = '';
}
?>
<div id="do<?php
echo $ntU;
echo $ii;
?>
Div" class="insOneDiv<?php
if ($isNew) {
echo " clNewNTSets";
}
?>
">
<input type="hidden" value="0" id="apDoS<?php
echo $ntU . $ii;
?>
" />
<div class="nsx_iconedTitle" style="float: right; background-image: url(<?php
echo $nxs_plurl;
?>
img/<?php
echo $nt;
?>
16.png);"><a style="font-size: 12px;" target="_blank" href="http://www.nextscripts.com/instructions/flickr-social-networks-auto-poster-setup-installation/"><?php
$nType = $ntInfo['name'];
printf(__('Detailed %s Installation/Configuration Instructions', 'nxs_snap'), $nType);
?>
</a></div>
<div style="width:100%;"><strong><?php
_e('Account Nickname', 'nxs_snap');
?>
:</strong> <i><?php
_e('Just so you can easily identify it', 'nxs_snap');
?>
</i> </div><input name="<?php
echo $nt;
?>
[<?php
echo $ii;
?>
][nName]" id="apnName<?php
echo $ii;
?>
" style="font-weight: bold; color: #005800; border: 1px solid #ACACAC; width: 40%;" value="<?php
_e(apply_filters('format_to_edit', htmlentities($options['nName'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
?>
" /><br/>
<?php
echo nxs_addQTranslSel($nt, $ii, $options['qTLng']);
?>
<br/>
<ul class="nsx_tabs">
<li><a href="#nsx<?php
echo $nt . $ii;
?>
_tab1"><?php
_e('Account Info', 'nxs_snap');
?>
</a></li>
<?php
if (!$isNew) {
?>
<li><a href="#nsx<?php
echo $nt . $ii;
?>
_tab2"><?php
_e('Advanced', 'nxs_snap');
?>
//.........这里部分代码省略.........
示例4: showNTSettings
function showNTSettings($ii, $options, $isNew = false)
{
global $nxs_plurl;
$nt = $options['ntInfo']['lcode'];
$ntU = strtoupper($nt);
if (!isset($options['nHrs'])) {
$options['nHrs'] = 0;
}
if (!isset($options['nMin'])) {
$options['nMin'] = 0;
}
if (!isset($options['catSel'])) {
$options['catSel'] = 0;
}
if (!isset($options['catSelEd'])) {
$options['catSelEd'] = '';
}
if (!isset($options['nDays'])) {
$options['nDays'] = 0;
}
if (!isset($options['qTLng'])) {
$options['qTLng'] = '';
}
?>
<div id="doVB<?php
echo $ii;
?>
Div" class="insOneDiv<?php
if ($isNew) {
echo " clNewNTSets";
}
?>
"> <input type="hidden" name="apDoSVB<?php
echo $ii;
?>
" value="0" id="apDoSVB<?php
echo $ii;
?>
" />
<div class="nsx_iconedTitle" style="float: right; background-image: url(<?php
echo $nxs_plurl;
?>
img/vb16.png);"><a style="font-size: 12px;" target="_blank" href="http://www.nextscripts.com/setup-installation-vbulletin-social-networks-auto-poster-wordpress/"><?php
$nType = "vBulletin";
printf(__('Detailed %s Installation/Configuration Instructions', 'nxs_snap'), $nType);
?>
</a></div>
<div style="width:100%;"><strong><?php
_e('Account Nickname', 'nxs_snap');
?>
:</strong> <i><?php
_e('Just so you can easily identify it', 'nxs_snap');
?>
</i> </div><input name="vb[<?php
echo $ii;
?>
][nName]" id="vbnName<?php
echo $ii;
?>
" style="font-weight: bold; color: #005800; border: 1px solid #ACACAC; width: 40%;" value="<?php
_e(apply_filters('format_to_edit', htmlentities($options['nName'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
?>
" /><br/>
<?php
echo nxs_addQTranslSel('vb', $ii, $options['qTLng']);
?>
<br/>
<ul class="nsx_tabs">
<li><a href="#nsx<?php
echo $nt . $ii;
?>
_tab1"><?php
_e('Account Info', 'nxs_snap');
?>
</a></li>
<?php
if (!$isNew) {
?>
<li><a href="#nsx<?php
echo $nt . $ii;
?>
_tab2"><?php
_e('Advanced', 'nxs_snap');
?>
</a></li> <?php
}
?>
</ul>
<div class="nsx_tab_container"><?php
/* ######################## Account Tab ####################### */
?>
<div id="nsx<?php
echo $nt . $ii;
?>
_tab1" class="nsx_tab_content" style="background-image: url(<?php
echo $nxs_plurl;
?>
//.........这里部分代码省略.........
示例5: showNTSettings
//.........这里部分代码省略.........
?>
img/vk16.png);"><a style="font-size: 12px;" target="_blank" href="http://www.nextscripts.com/setup-installation-vkontakte-social-networks-auto-poster-wordpress/"><?php
$nType = "vKontakte";
printf(__('Detailed %s Installation/Configuration Instructions', 'nxs_snap'), $nType);
?>
</a><br/>
<span style="font-size: 10px;">Please use URL <em style="font-size: 10px; color:#CB4B16;">http://<?php
echo $_SERVER["SERVER_NAME"];
?>
</em> and domain <em style="font-size: 10px; color:#CB4B16;"><?php
echo $_SERVER["SERVER_NAME"];
?>
</em> in your vKontakte(VK) App</span>
</div>
<div style="width:100%;"><strong><?php
_e('Account Nickname', 'nxs_snap');
?>
:</strong> <i><?php
_e('Just so you can easily identify it', 'nxs_snap');
?>
</i> </div><input name="vk[<?php
echo $ii;
?>
][nName]" id="vknName<?php
echo $ii;
?>
" style="font-weight: bold; color: #005800; border: 1px solid #ACACAC; width: 40%;" value="<?php
_e(apply_filters('format_to_edit', htmlentities($options['nName'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
?>
" /><br/>
<?php
echo nxs_addQTranslSel('vk', $ii, $options['qTLng']);
?>
<br/>
<ul class="nsx_tabs">
<li><a href="#nsx<?php
echo $nt . $ii;
?>
_tab1"><?php
_e('Account Info', 'nxs_snap');
?>
</a></li>
<?php
if (!$isNew) {
?>
<li><a href="#nsx<?php
echo $nt . $ii;
?>
_tab2"><?php
_e('Advanced', 'nxs_snap');
?>
</a></li> <?php
}
?>
</ul>
<div class="nsx_tab_container"><?php
/* ######################## Account Tab ####################### */
?>
<div id="nsx<?php
echo $nt . $ii;
?>
_tab1" class="nsx_tab_content" style="background-image: url(<?php
echo $nxs_plurl;
示例6: showNTSettings
function showNTSettings($ii, $options, $isNew = false)
{
global $nxs_plurl, $nxs_snapSetPgURL;
$nt = $options['ntInfo']['lcode'];
$ntU = strtoupper($nt);
if (!isset($options['bgOK'])) {
$options['bgOK'] = '';
}
if (!isset($options['nHrs'])) {
$options['nHrs'] = 0;
}
if (!isset($options['nMin'])) {
$options['nMin'] = 0;
}
if (!isset($options['catSel'])) {
$options['catSel'] = 0;
}
if (!isset($options['catSelEd'])) {
$options['catSelEd'] = '';
}
if (!isset($options['nDays'])) {
$options['nDays'] = 0;
}
if (!isset($options['qTLng'])) {
$options['qTLng'] = '';
}
if (!isset($options['msgAFrmt'])) {
$options['msgAFrmt'] = '';
}
if (empty($options['apiToUse'])) {
if (!empty($options['APIKey'])) {
$options['apiToUse'] = 'bg';
}
if (!empty($options['bgUName']) && !empty($options['bgPass'])) {
$options['apiToUse'] = 'nx';
}
}
?>
<div id="doBG<?php
echo $ii;
?>
Div" class="insOneDiv<?php
if ($isNew) {
echo " clNewNTSets";
}
?>
"> <input type="hidden" name="apDoSBG<?php
echo $ii;
?>
" value="0" id="apDoSBG<?php
echo $ii;
?>
" />
<?php
if ($isNew) {
?>
<input type="hidden" name="bg[<?php
echo $ii;
?>
][apDoBG]" value="1" id="apDoNewBG<?php
echo $ii;
?>
" /> <?php
}
?>
<div id="doBG<?php
echo $ii;
?>
Div" style="margin-left: 10px;">
<div class="nsx_iconedTitle" style="float: right; background-image: url(<?php
echo $nxs_plurl;
?>
img/bg16.png);"><a style="font-size: 12px;" target="_blank" href="http://www.nextscripts.com/setup-installation-blogger-social-networks-auto-poster-wordpress/"><?php
$nType = "Blogger";
printf(__('Detailed %s Installation/Configuration Instructions', 'social-networks-auto-poster-facebook-twitter-g'), $nType);
?>
</a></div>
<div style="width:100%;"><strong><?php
_e('Account Nickname', 'social-networks-auto-poster-facebook-twitter-g');
?>
:</strong> <i><?php
_e('Just so you can easily identify it', 'social-networks-auto-poster-facebook-twitter-g');
?>
</i> </div><input name="bg[<?php
echo $ii;
?>
][nName]" id="bgnName<?php
echo $ii;
?>
" style="font-weight: bold; color: #005800; border: 1px solid #ACACAC; width: 40%;" value="<?php
_e(apply_filters('format_to_edit', htmlentities($options['nName'], ENT_COMPAT, "UTF-8")), 'social-networks-auto-poster-facebook-twitter-g');
?>
" /><br/>
<?php
echo nxs_addQTranslSel('bg', $ii, $options['qTLng']);
?>
<br/>
//.........这里部分代码省略.........
示例7: showNTSettings
function showNTSettings($ii, $options, $isNew = false)
{
global $nxs_plurl;
?>
<div id="doBG<?php
echo $ii;
?>
Div" class="insOneDiv<?php
if ($isNew) {
?>
clNewNTSets<?php
}
?>
" style="background-image: url(<?php
echo $nxs_plurl;
?>
img/bg-bg.png);background-position:90% 10%;"> <input type="hidden" name="apDoSBG<?php
echo $ii;
?>
" value="0" id="apDoSBG<?php
echo $ii;
?>
" />
<?php
if ($isNew) {
?>
<input type="hidden" name="bg[<?php
echo $ii;
?>
][apDoBG]" value="1" id="apDoNewBG<?php
echo $ii;
?>
" /> <?php
}
?>
<div style="display: none;"><input name="bg[<?php
echo $ii;
?>
][apBGPassChr]" id="apBGPassChr" type="password" value="" /></div>
<div id="doBG<?php
echo $ii;
?>
Div" style="margin-left: 10px;"> <div class="nsx_iconedTitle" style="float: right; background-image: url(<?php
echo $nxs_plurl;
?>
img/bg16.png);"><a style="font-size: 12px;" target="_blank" href="http://www.nextscripts.com/setup-installation-blogger-social-networks-auto-poster-wordpress/"><?php
$nType = "Blogger";
printf(__('Detailed %s Installation/Configuration Instructions', 'nxs_snap'), $nType);
?>
</a></div>
<div style="width:100%;"><strong><?php
_e('Account Nickname', 'nxs_snap');
?>
:</strong> <i><?php
_e('Just so you can easely identify it', 'nxs_snap');
?>
</i> </div><input name="bg[<?php
echo $ii;
?>
][nName]" id="bgnName<?php
echo $ii;
?>
" style="font-weight: bold; color: #005800; border: 1px solid #ACACAC; width: 40%;" value="<?php
_e(apply_filters('format_to_edit', htmlentities($options['nName'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
?>
" /><br/>
<?php
echo nxs_addQTranslSel('bg', $ii, $options['qTLng']);
?>
<?php
echo nxs_addPostingDelaySel('bg', $ii, $options['nHrs'], $options['nMin']);
?>
<?php
if (!$isNew) {
?>
<div style="width:100%;"><strong><?php
_e('Categories', 'nxs_snap');
?>
:</strong>
<input value="0" id="catSelA<?php
echo $ii;
?>
" type="radio" name="bg[<?php
echo $ii;
?>
][catSel]" <?php
if ((int) $options['catSel'] != 1) {
echo "checked";
}
?>
/> All
<input value="1" id="catSelSBG<?php
echo $ii;
?>
" type="radio" name="bg[<?php
echo $ii;
//.........这里部分代码省略.........
示例8: showNTSettings
function showNTSettings($ii, $gpo, $isNew = false)
{
global $nxs_plurl;
?>
<div id="doWP<?php
echo $ii;
?>
Div" class="insOneDiv<?php
if ($isNew) {
echo " clNewNTSets";
}
?>
" style="background-image: url(<?php
echo $nxs_plurl;
?>
img/wp-bg.png); background-position:90% 10%;"> <input type="hidden" name="apDoSWP<?php
echo $ii;
?>
" value="0" id="apDoSWP<?php
echo $ii;
?>
" />
<div class="nsx_iconedTitle" style="float: right; background-image: url(<?php
echo $nxs_plurl;
?>
img/wp16.png);"><a style="font-size: 12px;" target="_blank" href="http://www.nextscripts.com/setup-installation-wp-based-social-networks-auto-poster-wordpress/"><?php
$nType = "Wordpress";
printf(__('Detailed %s Installation/Configuration Instructions', 'nxs_snap'), $nType);
?>
</a></div>
<?php
if ($isNew) {
?>
<br/>You can setup any Wordpress based blog with activated XML-RPC support (WP Admin->Settimgs->Writing->Remote Publishing->Check XML-RPC). Wordpress.com and Blog.com supported as well.<br/><br/> <?php
}
?>
<div style="width:100%;"><strong><?php
_e('Account Nickname', 'nxs_snap');
?>
:</strong> <i><?php
_e('Just so you can easely identify it', 'nxs_snap');
?>
</i> </div><input name="wp[<?php
echo $ii;
?>
][nName]" id="wpnName<?php
echo $ii;
?>
" style="font-weight: bold; color: #005800; border: 1px solid #ACACAC; width: 40%;" value="<?php
_e(apply_filters('format_to_edit', htmlentities($gpo['nName'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
?>
" /><br/>
<?php
echo nxs_addQTranslSel('wp', $ii, $gpo['qTLng']);
echo nxs_addPostingDelaySel('wp', $ii, $gpo['nHrs'], $gpo['nMin']);
?>
<?php
if (!$isNew) {
?>
<div style="width:100%;"><strong><?php
_e('Categories', 'nxs_snap');
?>
:</strong>
<input value="0" id="catSelA<?php
echo $ii;
?>
" type="radio" name="wp[<?php
echo $ii;
?>
][catSel]" <?php
if ((int) $gpo['catSel'] != 1) {
echo "checked";
}
?>
/> All
<input value="1" id="catSelSWP<?php
echo $ii;
?>
" type="radio" name="wp[<?php
echo $ii;
?>
][catSel]" <?php
if ((int) $gpo['catSel'] == 1) {
echo "checked";
}
?>
/> <a href="#" style="text-decoration: none;" class="showCats" id="nxs_SCA_WP<?php
echo $ii;
?>
" onclick="jQuery('#catSelSWP<?php
echo $ii;
?>
').attr('checked', true); jQuery('#tmpCatSelNT').val('WP<?php
echo $ii;
?>
//.........这里部分代码省略.........
示例9: showNTSettings
function showNTSettings($ii, $options, $isNew = false)
{
global $nxs_plurl;
$nt = $options['ntInfo']['lcode'];
$ntU = strtoupper($nt);
if (!isset($options['nHrs'])) {
$options['nHrs'] = 0;
}
if (!isset($options['nMin'])) {
$options['nMin'] = 0;
}
if (!isset($options['catSel'])) {
$options['catSel'] = 0;
}
if (!isset($options['catSelEd'])) {
$options['catSelEd'] = '';
}
if (!isset($options['nDays'])) {
$options['nDays'] = 0;
}
if (!isset($options['qTLng'])) {
$options['qTLng'] = '';
}
?>
<div id="doWP<?php
echo $ii;
?>
Div" class="insOneDiv<?php
if ($isNew) {
echo " clNewNTSets";
}
?>
"> <input type="hidden" name="apDoSWP<?php
echo $ii;
?>
" value="0" id="apDoSWP<?php
echo $ii;
?>
" />
<div class="nsx_iconedTitle" style="float: right; background-image: url(<?php
echo $nxs_plurl;
?>
img/wp16.png);"><a style="font-size: 12px;" target="_blank" href="http://www.nextscripts.com/setup-installation-wp-based-social-networks-auto-poster-wordpress/"><?php
$nType = "Wordpress";
printf(__('Detailed %s Installation/Configuration Instructions', 'social-networks-auto-poster-facebook-twitter-g'), $nType);
?>
</a></div>
<?php
if ($isNew) {
?>
<br/>You can setup any Wordpress based blog with activated XML-RPC support (WP Admin->Settimgs->Writing->Remote Publishing->Check XML-RPC). Wordpress.com and Blog.com supported as well.<br/><br/> <?php
}
?>
<div style="width:100%;"><strong><?php
_e('Account Nickname', 'social-networks-auto-poster-facebook-twitter-g');
?>
:</strong> <i><?php
_e('Just so you can easily identify it', 'social-networks-auto-poster-facebook-twitter-g');
?>
</i> </div><input name="wp[<?php
echo $ii;
?>
][nName]" id="wpnName<?php
echo $ii;
?>
" style="font-weight: bold; color: #005800; border: 1px solid #ACACAC; width: 40%;" value="<?php
_e(apply_filters('format_to_edit', htmlentities($options['nName'], ENT_COMPAT, "UTF-8")), 'social-networks-auto-poster-facebook-twitter-g');
?>
" /><br/>
<?php
echo nxs_addQTranslSel('wp', $ii, $options['qTLng']);
?>
<br/>
<ul class="nsx_tabs">
<li><a href="#nsx<?php
echo $nt . $ii;
?>
_tab1"><?php
_e('Account Info', 'social-networks-auto-poster-facebook-twitter-g');
?>
</a></li>
<?php
if (!$isNew) {
?>
<li><a href="#nsx<?php
echo $nt . $ii;
?>
_tab2"><?php
_e('Advanced', 'social-networks-auto-poster-facebook-twitter-g');
?>
</a></li> <?php
}
?>
</ul>
//.........这里部分代码省略.........
示例10: showNTSettings
function showNTSettings($ii, $options, $isNew = false)
{
global $nxs_plurl, $nxs_snapSetPgURL;
$nt = $options['ntInfo']['lcode'];
$ntU = strtoupper($nt);
if (!isset($options['nHrs'])) {
$options['nHrs'] = 0;
}
if (!isset($options['nMin'])) {
$options['nMin'] = 0;
}
if (!isset($options['catSel'])) {
$options['catSel'] = 0;
}
if (!isset($options['catSelEd'])) {
$options['catSelEd'] = '';
}
if (!isset($options['nDays'])) {
$options['nDays'] = 0;
}
if (!isset($options['qTLng'])) {
$options['qTLng'] = '';
}
if (!isset($options['attchImg'])) {
$options['attchImg'] = '';
}
if (!isset($options['appID'])) {
$options['appID'] = '';
}
if (!isset($options['appSec'])) {
$options['appSec'] = '';
}
?>
<div id="doAP<?php
echo $ii;
?>
Div" class="insOneDiv<?php
if ($isNew) {
echo " clNewNTSets";
}
?>
">
<input type="hidden" value="0" id="apDoS<?php
echo $ntU . $ii;
?>
" />
<div class="nsx_iconedTitle" style="float: right; background-image: url(<?php
echo $nxs_plurl;
?>
img/ap16.png);"><a style="font-size: 12px;" target="_blank" href="http://www.nextscripts.com/setup-installation/app-net-social-networks-auto-poster-wordpress/"><?php
$nType = "App.Net";
printf(__('Detailed %s Installation/Configuration Instructions', 'nxs_snap'), $nType);
?>
</a></div>
<div style="width:100%;"><strong><?php
_e('Account Nickname', 'nxs_snap');
?>
:</strong> <i><?php
_e('Just so you can easily identify it', 'nxs_snap');
?>
</i> </div><input name="ap[<?php
echo $ii;
?>
][nName]" id="apnName<?php
echo $ii;
?>
" style="font-weight: bold; color: #005800; border: 1px solid #ACACAC; width: 40%;" value="<?php
_e(apply_filters('format_to_edit', htmlentities($options['nName'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
?>
" /><br/>
<?php
echo nxs_addQTranslSel('ap', $ii, $options['qTLng']);
?>
<br/>
<ul class="nsx_tabs">
<li><a href="#nsx<?php
echo $nt . $ii;
?>
_tab1"><?php
_e('Account Info', 'nxs_snap');
?>
</a></li>
<?php
if (!$isNew) {
?>
<li><a href="#nsx<?php
echo $nt . $ii;
?>
_tab2"><?php
_e('Advanced', 'nxs_snap');
?>
</a></li> <?php
}
?>
</ul>
<div class="nsx_tab_container"><?php
/* ######################## Account Tab ####################### */
?>
//.........这里部分代码省略.........
示例11: showNTSettings
function showNTSettings($ii, $options, $isNew = false)
{
global $nxs_plurl, $nxs_snapThisPageUrl;
if (!isset($options['liOK'])) {
$options['liOK'] = '';
}
?>
<div id="doLI<?php
echo $ii;
?>
Div" class="insOneDiv<?php
if ($isNew) {
echo " clNewNTSets";
}
?>
" style="background-image: url(<?php
echo $nxs_plurl;
?>
img/li-bg.png); background-position:90% 10%;"> <input type="hidden" name="apDoSLI<?php
echo $ii;
?>
" value="0" id="apDoSLI<?php
echo $ii;
?>
" />
<?php
if ($isNew) {
?>
<input type="hidden" name="li[<?php
echo $ii;
?>
][apDoLI]" value="1" id="apDoNewLI<?php
echo $ii;
?>
" /> <?php
}
?>
<div id="doLI<?php
echo $ii;
?>
Div" style="margin-left: 10px;">
<div class="nsx_iconedTitle" style="float: right; background-image: url(<?php
echo $nxs_plurl;
?>
img/li16.png);"><a style="font-size: 12px;" target="_blank" href="http://www.nextscripts.com/setup-installation-linkedin-social-networks-auto-poster-wordpress/"><?php
$nType = "LinkedIn";
printf(__('Detailed %s Installation/Configuration Instructions', 'nxs_snap'), $nType);
?>
</a></div>
<div style="width:100%;"><strong><?php
_e('Account Nickname', 'nxs_snap');
?>
:</strong> <i><?php
_e('Just so you can easely identify it', 'nxs_snap');
?>
</i> </div><input name="li[<?php
echo $ii;
?>
][nName]" id="linName<?php
echo $ii;
?>
" style="font-weight: bold; color: #005800; border: 1px solid #ACACAC; width: 40%;" value="<?php
_e(apply_filters('format_to_edit', htmlentities($options['nName'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
?>
" /><br/>
<?php
echo nxs_addQTranslSel('li', $ii, $options['qTLng']);
echo nxs_addPostingDelaySel('li', $ii, $options['nHrs'], $options['nMin']);
?>
<?php
if (!$isNew) {
?>
<div style="width:100%;"><strong><?php
_e('Categories', 'nxs_snap');
?>
:</strong>
<input value="0" id="catSelA<?php
echo $ii;
?>
" type="radio" name="li[<?php
echo $ii;
?>
][catSel]" <?php
if ((int) $options['catSel'] != 1) {
echo "checked";
}
?>
/> All
<input value="1" id="catSelSLI<?php
echo $ii;
?>
" type="radio" name="li[<?php
echo $ii;
?>
][catSel]" <?php
if ((int) $options['catSel'] == 1) {
echo "checked";
//.........这里部分代码省略.........
示例12: showNTSettings
function showNTSettings($ii, $options, $isNew = false)
{
global $nxs_plurl;
?>
<div id="doSU<?php
echo $ii;
?>
Div" class="insOneDiv<?php
if ($isNew) {
echo " clNewNTSets";
}
?>
" style="background-image: url(<?php
echo $nxs_plurl;
?>
img/su-bg.png); background-position:90% 10%;"> <input type="hidden" name="apDoSSU<?php
echo $ii;
?>
" value="0" id="apDoSSU<?php
echo $ii;
?>
" />
<div class="nsx_iconedTitle" style="float: right; background-image: url(<?php
echo $nxs_plurl;
?>
img/su16.png);"><a style="font-size: 12px;" target="_blank" href="http://www.nextscripts.com/setup-installation-stumbleupon-social-networks-auto-poster-wordpress/"><?php
$nType = "StumbleUpon";
printf(__('Detailed %s Installation/Configuration Instructions', 'nxs_snap'), $nType);
?>
</a></div>
<div style="width:100%;"><strong><?php
_e('Account Nickname', 'nxs_snap');
?>
:</strong> <i><?php
_e('Just so you can easely identify it', 'nxs_snap');
?>
</i> </div><input name="su[<?php
echo $ii;
?>
][nName]" id="sunName<?php
echo $ii;
?>
" style="font-weight: bold; color: #005800; border: 1px solid #ACACAC; width: 40%;" value="<?php
_e(apply_filters('format_to_edit', htmlentities($options['nName'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
?>
" /><br/>
<?php
echo nxs_addQTranslSel('su', $ii, $options['qTLng']);
echo nxs_addPostingDelaySel('su', $ii, $options['nHrs'], $options['nMin']);
?>
<?php
if (!$isNew) {
?>
<div style="width:100%;"><strong><?php
_e('Categories', 'nxs_snap');
?>
:</strong>
<input value="0" id="catSelA<?php
echo $ii;
?>
" type="radio" name="su[<?php
echo $ii;
?>
][catSel]" <?php
if ((int) $options['catSel'] != 1) {
echo "checked";
}
?>
/> All
<input value="1" id="catSelSSU<?php
echo $ii;
?>
" type="radio" name="su[<?php
echo $ii;
?>
][catSel]" <?php
if ((int) $options['catSel'] == 1) {
echo "checked";
}
?>
/> <a href="#" style="text-decoration: none;" class="showCats" id="nxs_SCA_SU<?php
echo $ii;
?>
" onclick="jQuery('#catSelSSU<?php
echo $ii;
?>
').attr('checked', true); jQuery('#tmpCatSelNT').val('SU<?php
echo $ii;
?>
'); nxs_markCats( jQuery('#nxs_SC_SU<?php
echo $ii;
?>
').val() ); jQuery('#showCatSel').bPopup({ modalClose: false, appendTo: '#nsStForm', opacity: 0.6, follow: [false, false], position: [75, 'auto']}); return false;">Selected<?php
if ($options['catSelEd'] != '') {
echo "[" . (substr_count($options['catSelEd'], ",") + 1) . "]";
}
?>
//.........这里部分代码省略.........
示例13: showNTSettings
function showNTSettings($ii, $options, $isNew = false)
{
global $nxs_plurl, $nxs_snapSetPgURL;
$nt = $options['ntInfo']['lcode'];
$ntU = strtoupper($nt);
if (!isset($options['nHrs'])) {
$options['nHrs'] = 0;
}
if (!isset($options['nMin'])) {
$options['nMin'] = 0;
}
if (!isset($options['catSel'])) {
$options['catSel'] = 0;
}
if (!isset($options['catSelEd'])) {
$options['catSelEd'] = '';
}
if (!isset($options['nDays'])) {
$options['nDays'] = 0;
}
if (!isset($options['qTLng'])) {
$options['qTLng'] = '';
}
if (!isset($options['attchImg'])) {
$options['attchImg'] = '';
}
?>
<div id="doPK<?php
echo $ii;
?>
Div" class="insOneDiv<?php
if ($isNew) {
echo " clNewNTSets";
}
?>
"> <input type="hidden" name="apDoSPK<?php
echo $ii;
?>
" value="0" id="apDoSPK<?php
echo $ii;
?>
" />
<?php
if ($isNew) {
?>
<input type="hidden" name="pk[<?php
echo $ii;
?>
][apDoPK]" value="1" id="apDoNewPK<?php
echo $ii;
?>
" /> <?php
}
?>
<div class="nsx_iconedTitle" style="float: right; background-image: url(<?php
echo $nxs_plurl;
?>
img/pk16.png);"><a style="font-size: 12px;" target="_blank" href="http://www.nextscripts.com/setup-installation-plurk-social-networks-auto-poster-wordpress/"><?php
$nType = "Plurk";
printf(__('Detailed %s Installation/Configuration Instructions', 'nxs_snap'), $nType);
?>
</a></div>
<div style="width:100%;"><strong><?php
_e('Account Nickname', 'nxs_snap');
?>
:</strong> <i><?php
_e('Just so you can easily identify it', 'nxs_snap');
?>
</i> </div><input name="pk[<?php
echo $ii;
?>
][nName]" id="pknName<?php
echo $ii;
?>
" style="font-weight: bold; color: #005800; border: 1px solid #ACACAC; width: 40%;" value="<?php
_e(apply_filters('format_to_edit', htmlentities($options['nName'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
?>
" /><br/>
<?php
echo nxs_addQTranslSel('pk', $ii, $options['qTLng']);
?>
<br/>
<ul class="nsx_tabs">
<li><a href="#nsx<?php
echo $nt . $ii;
?>
_tab1"><?php
_e('Account Info', 'nxs_snap');
?>
</a></li>
<?php
if (!$isNew) {
?>
<li><a href="#nsx<?php
echo $nt . $ii;
?>
_tab2"><?php
//.........这里部分代码省略.........
示例14: showNTSettings
function showNTSettings($ii, $options, $isNew = false)
{
global $nxs_plurl, $nxs_snapSetPgURL;
$ntInfo = $this->ntInfo;
$nt = $ntInfo['lcode'];
$ntU = $ntInfo['code'];
if (!isset($options['nHrs'])) {
$options['nHrs'] = 0;
}
if (!isset($options['nMin'])) {
$options['nMin'] = 0;
}
if (!isset($options['catSel'])) {
$options['catSel'] = 0;
}
if (!isset($options['catSelEd'])) {
$options['catSelEd'] = '';
}
if (!isset($options['nDays'])) {
$options['nDays'] = 0;
}
if (!isset($options['qTLng'])) {
$options['qTLng'] = '';
}
if (!isset($options['mgzURL'])) {
$options['mgzURL'] = '';
}
?>
<div id="do<?php
echo $ntU;
echo $ii;
?>
Div" class="insOneDiv<?php
if ($isNew) {
echo " clNewNTSets";
}
?>
">
<input type="hidden" value="0" id="apDoS<?php
echo $ntU . $ii;
?>
" />
<?php
if (!function_exists('doPostToFlipboard')) {
nxs_show_noLibWrn('Flipboard API Library module NOT found.<br/><br/><span style="color:black;">Flipboard does not have a free native API for automated posts yet.</span><br/><br/><span style="font-size: 12px;color:black;">You need to have a special API Library Module to be able to publish your content to Flipboard.</span>');
echo "</div>";
return;
}
?>
<div class="nsx_iconedTitle" style="float: right; background-image: url(<?php
echo $nxs_plurl;
?>
img/<?php
echo $nt;
?>
16.png);"><a style="font-size: 12px;" target="_blank" href="http://www.nextscripts.com/instructions/flipboard-social-networks-auto-poster-setup-installation/"><?php
$nType = $ntInfo['name'];
printf(__('Detailed %s Installation/Configuration Instructions', 'nxs_snap'), $nType);
?>
</a></div>
<div style="width:100%;"><strong><?php
_e('Account Nickname', 'nxs_snap');
?>
:</strong> <i><?php
_e('Just so you can easily identify it', 'nxs_snap');
?>
</i> </div><input name="<?php
echo $nt;
?>
[<?php
echo $ii;
?>
][nName]" id="apnName<?php
echo $ii;
?>
" style="font-weight: bold; color: #005800; border: 1px solid #ACACAC; width: 40%;" value="<?php
_e(apply_filters('format_to_edit', htmlentities($options['nName'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
?>
" /><br/>
<?php
echo nxs_addQTranslSel($nt, $ii, $options['qTLng']);
?>
<br/>
<ul class="nsx_tabs">
<li><a href="#nsx<?php
echo $nt . $ii;
?>
_tab1"><?php
_e('Account Info', 'nxs_snap');
?>
</a></li>
<?php
if (!$isNew) {
?>
<li><a href="#nsx<?php
echo $nt . $ii;
//.........这里部分代码省略.........
示例15: showNTSettings
function showNTSettings($ii, $options, $isNew = false)
{
global $nxs_plurl;
$nt = $options['ntInfo']['lcode'];
$ntU = strtoupper($nt);
if (!isset($options['nHrs'])) {
$options['nHrs'] = 0;
}
if (!isset($options['nMin'])) {
$options['nMin'] = 0;
}
if (!isset($options['catSel'])) {
$options['catSel'] = 0;
}
if (!isset($options['catSelEd'])) {
$options['catSelEd'] = '';
}
if (!isset($options['nDays'])) {
$options['nDays'] = 0;
}
if (!isset($options['qTLng'])) {
$options['qTLng'] = '';
}
?>
<div id="doDL<?php
echo $ii;
?>
Div" class="insOneDiv<?php
if ($isNew) {
echo " clNewNTSets";
}
?>
" style="max-width: 1000px; background-color: #EBF4FB; margin: 10px; border: 1px solid #808080; padding: 10px; display:none;"> <input type="hidden" name="apDoSDL<?php
echo $ii;
?>
" value="0" id="apDoSDL<?php
echo $ii;
?>
" />
<div class="nsx_iconedTitle" style="float: right; background-image: url(<?php
echo $nxs_plurl;
?>
img/dl16.png);"><a style="font-size: 12px;" target="_blank" href="http://www.nextscripts.com/setup-installation-delicious-social-networks-auto-poster-wordpress/"><?php
$nType = "Delicious";
printf(__('Detailed %s Installation/Configuration Instructions', 'social-networks-auto-poster-facebook-twitter-g'), $nType);
?>
</a></div>
<div style="width:100%;"><strong><?php
_e('Account Nickname', 'social-networks-auto-poster-facebook-twitter-g');
?>
:</strong> <i><?php
_e('Just so you can easily identify it', 'social-networks-auto-poster-facebook-twitter-g');
?>
</i> </div><input name="dl[<?php
echo $ii;
?>
][nName]" id="dlnName<?php
echo $ii;
?>
" style="font-weight: bold; color: #005800; border: 1px solid #ACACAC; width: 40%;" value="<?php
_e(apply_filters('format_to_edit', htmlentities($options['nName'], ENT_COMPAT, "UTF-8")), 'social-networks-auto-poster-facebook-twitter-g');
?>
" /><br/>
<?php
echo nxs_addQTranslSel('dl', $ii, $options['qTLng']);
?>
<br/>
<ul class="nsx_tabs">
<li><a href="#nsx<?php
echo $nt . $ii;
?>
_tab1"><?php
_e('Account Info', 'social-networks-auto-poster-facebook-twitter-g');
?>
</a></li>
<?php
if (!$isNew) {
?>
<li><a href="#nsx<?php
echo $nt . $ii;
?>
_tab2"><?php
_e('Advanced', 'social-networks-auto-poster-facebook-twitter-g');
?>
</a></li> <?php
}
?>
</ul>
<div class="nsx_tab_container"><?php
/* ######################## Account Tab ####################### */
?>
<div id="nsx<?php
echo $nt . $ii;
?>
_tab1" class="nsx_tab_content" style="background-image: url(<?php
echo $nxs_plurl;
//.........这里部分代码省略.........