本文整理汇总了PHP中nxs_showRepostSettings函数的典型用法代码示例。如果您正苦于以下问题:PHP nxs_showRepostSettings函数的具体用法?PHP nxs_showRepostSettings怎么用?PHP nxs_showRepostSettings使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了nxs_showRepostSettings函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: showNTSettings
//.........这里部分代码省略.........
echo $ii;
?>
');"><?php
if ($options['bgMsgFormat'] != '') {
_e(apply_filters('format_to_edit', htmlentities($options['bgMsgFormat'], ENT_COMPAT, "UTF-8")), 'social-networks-auto-poster-facebook-twitter-g');
} else {
echo "%FULLTEXT% <br/><a href='%URL%'>%TITLE%</a>";
}
?>
</textarea>
<?php
nxs_doShowHint("apBGMsgFrmt" . $ii, __('HTML is allowed', 'social-networks-auto-poster-facebook-twitter-g'));
?>
</div>
<p style="margin-bottom: 20px;margin-top: 5px;"><input value="1" id="bgInclTags" type="checkbox" name="bg[<?php
echo $ii;
?>
][bgInclTags]" <?php
if ((int) $options['bgInclTags'] == 1) {
echo "checked";
}
?>
/>
<strong><?php
_e('Post with tags', 'social-networks-auto-poster-facebook-twitter-g');
?>
</strong> <?php
_e('Tags from the blogpost will be auto-posted to Blogger/Blogspot', 'social-networks-auto-poster-facebook-twitter-g');
?>
</p>
<?php
if (!empty($options['bgPass']) || !empty($options['AccessToken'])) {
?>
<b><?php
_e('Test your settings', 'social-networks-auto-poster-facebook-twitter-g');
?>
:</b> <?php
if (!isset($options['bgOK']) || $options['bgOK'] != '1') {
?>
<div class="blnkg">=== <?php
_e('Submit Test Post to Finish Configuration', 'social-networks-auto-poster-facebook-twitter-g');
?>
===></div> <?php
}
?>
<a href="#" class="NXSButton" onclick="testPost('BG', '<?php
echo $ii;
?>
'); return false;"><?php
printf(__('Submit Test Post to %s', 'social-networks-auto-poster-facebook-twitter-g'), $nType);
?>
</a>
<?php
}
?>
</div>
<?php
/* ######################## Advanced Tab ####################### */
?>
<?php
if (!$isNew) {
?>
<div id="nsx<?php
echo $nt . $ii;
?>
_tab2" class="nsx_tab_content">
<?php
nxs_showCatTagsCTFilters($nt, $ii, $options);
nxs_addPostingDelaySelV3($nt, $ii, $options['nHrs'], $options['nMin'], $options['nDays']);
nxs_showRepostSettings($nt, $ii, $options);
?>
</div> <?php
}
?>
<?php
/* #### End of Tab #### */
?>
</div><br/> <?php
/* #### End of Tabs #### */
?>
<div class="submitX nxclear" style="padding-bottom: 0px;"><input type="submit" class="button-primary" name="update_NS_SNAutoPoster_settings" value="<?php
_e('Update Settings', 'social-networks-auto-poster-facebook-twitter-g');
?>
" /></div>
</div>
</div>
<?php
}
示例2: showNTSettings
//.........这里部分代码省略.........
][trInclCats]" <?php
if ((int) $options['trInclCats'] == 1) {
echo "checked";
}
?>
/>
<strong>Post categories as tags.</strong> Categories from the blogpost will be auto posted to Tumblr as tags
</p>
<?php
if ($options['trConsSec'] == '') {
?>
<b>Authorize Your Tumblr Account</b>. Please save your settings and come back here to Authorize your account.
<?php
} else {
if (isset($options['trAccessTocken']) && isset($options['trAccessTocken']['oauth_token_secret']) && $options['trAccessTocken']['oauth_token_secret'] !== '') {
?>
Your Tumblr Account has been authorized. Blog ID: <?php
_e(apply_filters('format_to_edit', htmlentities($options['trPgID'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
?>
.
You can Re- <?php
}
?>
<a href="<?php
echo $nxs_snapSetPgURL . (stripos($nxs_snapSetPgURL, '?') !== false ? '&' : '?');
?>
auth=tr&acc=<?php
echo $ii;
?>
">Authorize Your Tumblr Account</a>
<?php
if (!isset($options['trOAuthTokenSecret']) || $options['trOAuthTokenSecret'] == '') {
?>
<div class="blnkg"><=== Authorize your account ===</div> <?php
}
?>
<?php
}
?>
<?php
if (isset($options['trOAuthTokenSecret']) && $options['trOAuthTokenSecret'] != '') {
?>
<br/><br/><b><?php
_e('Test your settings', 'nxs_snap');
?>
:</b> <a href="#" class="NXSButton" onclick="testPost('TR', '<?php
echo $ii;
?>
'); return false;"><?php
printf(__('Submit Test Post to %s', 'nxs_snap'), $nType);
?>
</a> <br/><br/>
<?php
}
?>
</div>
<?php
/* ######################## Advanced Tab ####################### */
?>
<?php
if (!$isNew) {
?>
<div id="nsx<?php
echo $nt . $ii;
?>
_tab2" class="nsx_tab_content">
<?php
nxs_showCatTagsCTFilters($nt, $ii, $options);
nxs_addPostingDelaySelV3($nt, $ii, $options['nHrs'], $options['nMin'], $options['nDays']);
nxs_showRepostSettings($nt, $ii, $options);
?>
</div> <?php
}
?>
<?php
/* #### End of Tab #### */
?>
</div><br/> <?php
/* #### End of Tabs #### */
?>
<div class="submitX nxclear" style="padding-bottom: 0px;"><input type="submit" class="button-primary" name="update_NS_SNAutoPoster_settings" value="<?php
_e('Update Settings', 'nxs_snap');
?>
" /></div>
</div>
<?php
}
示例3: showNTSettings
//.........这里部分代码省略.........
?>
');" /><?php
nxs_doShowHint("apDLTMsgFrmt" . $ii);
?>
</div>
<div id="altFormat" style="">
<div style="width:100%;"><strong id="altFormatText"><?php
_e('Post Text Format', 'social-networks-auto-poster-facebook-twitter-g');
?>
</strong> (<a href="#" id="apDLMsgFrmt<?php
echo $ii;
?>
HintInfo" onclick="mxs_showHideFrmtInfo('apDLMsgFrmt<?php
echo $ii;
?>
'); return false;"><?php
_e('Show format info', 'social-networks-auto-poster-facebook-twitter-g');
?>
</a>)</div>
<textarea cols="150" rows="3" id="di<?php
echo $ii;
?>
SNAPformat" name="dl[<?php
echo $ii;
?>
][apDLMsgFrmt]" style="width:51%;max-width: 650px;" onfocus="jQuery('#dl<?php
echo $ii;
?>
SNAPformat').attr('rows', 6); mxs_showFrmtInfo('apDLMsgFrmt<?php
echo $ii;
?>
');"><?php
if ($isNew) {
echo "%EXCERPT%";
} else {
_e(apply_filters('format_to_edit', htmlentities($options['dlMsgFormat'], ENT_COMPAT, "UTF-8")), 'social-networks-auto-poster-facebook-twitter-g');
}
?>
</textarea>
<?php
nxs_doShowHint("apDLMsgFrmt" . $ii);
?>
</div><br/>
<?php
if ($options['dlPass'] != '') {
?>
<b><?php
_e('Test your settings', 'social-networks-auto-poster-facebook-twitter-g');
?>
:</b> <a href="#" class="NXSButton" onclick="testPost('DL', '<?php
echo $ii;
?>
'); return false;"><?php
printf(__('Submit Test Post to %s', 'social-networks-auto-poster-facebook-twitter-g'), $nType);
?>
</a>
<?php
}
?>
</div>
<?php
/* ######################## Advanced Tab ####################### */
?>
<?php
if (!$isNew) {
?>
<div id="nsx<?php
echo $nt . $ii;
?>
_tab2" class="nsx_tab_content">
<?php
nxs_showCatTagsCTFilters($nt, $ii, $options);
nxs_addPostingDelaySelV3($nt, $ii, $options['nHrs'], $options['nMin'], $options['nDays']);
nxs_showRepostSettings($nt, $ii, $options);
?>
</div> <?php
}
?>
<?php
/* #### End of Tab #### */
?>
</div><br/> <?php
/* #### End of Tabs #### */
?>
<div class="submitX nxclear" style="padding-bottom: 0px;"><input type="submit" class="button-primary" name="update_NS_SNAutoPoster_settings" value="<?php
_e('Update Settings', 'social-networks-auto-poster-facebook-twitter-g');
?>
" /></div></div><?php
}
示例4: showNTSettings
//.........这里部分代码省略.........
echo $nxs_snapSetPgURL . (stripos($nxs_snapSetPgURL, '?') !== false ? '&' : '?');
?>
auth=<?php
echo $nt;
?>
&acc=<?php
echo $ii;
?>
">Authorize Your <?php
echo $ntInfo['name'];
?>
Account</a>
<?php
if (!isset($options['appAppUserID']) || $options['appAppUserID'] < 1) {
?>
<div class="blnkg"><=== <?php
_e('Authorize your account', 'nxs_snap');
?>
===</div> <?php
}
?>
<?php
}
?>
<br/><br/>
<?php
if ($isNew) {
?>
<input type="hidden" name="<?php
echo $nt;
?>
[<?php
echo $ii;
?>
][apDo<?php
echo $ntU;
?>
]" value="1" id="apDoNew<?php
echo $ntU;
echo $ii;
?>
" /> <?php
}
?>
<?php
if (isset($options['appAppUserID']) && $options['appAppUserID'] > 0) {
?>
<b><?php
_e('Test your settings', 'nxs_snap');
?>
:</b> <a href="#" class="NXSButton" onclick="testPost('<?php
echo $ntU;
?>
', '<?php
echo $ii;
?>
'); return false;"><?php
printf(__('Submit Test Post to %s', 'nxs_snap'), $nType);
?>
</a> <?php
}
?>
</div>
<?php
/* ######################## Tools Tab ####################### */
?>
<?php
if (!$isNew) {
?>
<div id="nsx<?php
echo $nt . $ii;
?>
_tab2" class="nsx_tab_content">
<?php
nxs_showCatTagsCTFilters($nt, $ii, $options);
nxs_addPostingDelaySelV3($nt, $ii, $options['nHrs'], $options['nMin'], $options['nDays']);
nxs_showRepostSettings($nt, $ii, $options);
?>
</div> <?php
}
?>
<?php
/* #### End of Tab #### */
?>
</div><br/> <?php
/* #### End of Tabs #### */
?>
<div class="submitX nxclear" style="padding-bottom: 0px;"><input type="submit" class="button-primary" name="update_NS_SNAutoPoster_settings" value="<?php
_e('Update Settings', 'nxs_snap');
?>
" /></div>
</div><?php
}
示例5: showNTSettings
//.........这里部分代码省略.........
?>
" /><br/></div>
</div>
<br/>
<div id="altFormat">
<div style="width:100%;"><strong id="altFormatText"><?php
_e('Message title Format (Groups Only)', 'nxs_snap');
?>
:</strong> </div>
<input name="li[<?php
echo $ii;
?>
][apLIMsgFrmtT]" id="li<?php
echo $ii;
?>
SNAPformatT" style="width: 50%;" value="<?php
if ($isNew) {
echo "New Post - %TITLE%";
} else {
_e(apply_filters('format_to_edit', htmlentities($options['liMsgFormatT'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
}
?>
" onfocus="mxs_showFrmtInfo('apLIMsgFrmtT<?php
echo $ii;
?>
');" /><?php
nxs_doShowHint("apIPMsgFrmt" . $ii);
?>
</div>
<br/>
<?php
if ($options['liAPIKey'] != '' || isset($options['uPass']) && $options['uPass'] != '') {
?>
<br/><b><?php
_e('Test your settings', 'nxs_snap');
?>
:</b> <a href="#" class="NXSButton" onclick="testPost('LI', '<?php
echo $ii;
?>
'); return false;"><?php
printf(__('Submit Test Post to %s', 'nxs_snap'), $nType);
?>
</a>
<?php
if (!isset($options['liOK']) || $options['liOK'] == '') {
?>
<div class="blnkg"><=== Click "Test" to finish setup ===</div> <?php
}
?>
<br/><?php
}
?>
</div>
<?php
/* ######################## Advanced Tab ####################### */
?>
<?php
if (!$isNew) {
?>
<div id="nsx<?php
echo $nt . $ii;
?>
_tab2" class="nsx_tab_content">
<?php
nxs_showCatTagsCTFilters($nt, $ii, $options);
nxs_addPostingDelaySelV3($nt, $ii, $options['nHrs'], $options['nMin'], $options['nDays']);
nxs_showRepostSettings($nt, $ii, $options);
?>
</div> <?php
}
?>
<?php
/* #### End of Tab #### */
?>
</div><br/> <?php
/* #### End of Tabs #### */
?>
<div class="submitX nxclear" style="padding-bottom: 0px;"><input type="submit" class="button-primary" name="update_NS_SNAutoPoster_settings" value="<?php
_e('Update Settings', 'nxs_snap');
?>
" /></div>
</div>
</div>
<?php
}
示例6: showNTSettings
//.........这里部分代码省略.........
echo $ii;
?>
" style="<?php
if ($options['msgAFormat'] == '') {
echo "display:none;";
}
?>
" > <?php
_e('Set your own format:', 'nxs_snap');
?>
<input name="vk[<?php
echo $ii;
?>
][msgAFormat]" id="apVKMsgAFrmt<?php
echo $ii;
?>
" style="width: 30%;" value="<?php
_e(apply_filters('format_to_edit', htmlentities($options['msgAFormat'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
?>
" /><br/></div>
</div><br/>
<?php
}
?>
</div><br/>
<div class="popShAtt" style="z-index: 9999" id="popShAtt<?php
echo $ii;
?>
VKX"><h3>vKontakte(VK) Post Types</h3><img src="<?php
echo $nxs_plurl;
?>
img/vkPostTypesDiff6.png" width="600" height="257" alt="vKontakte(VK) Post Types"/></div>
<?php
if ($options['vkPgID'] != '') {
?>
<div style="width:100%;"><strong>Your vKontakte(VK) Page ID:</strong> <?php
_e(apply_filters('format_to_edit', htmlentities($options['vkPgID'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
?>
</div><?php
}
?>
<?php
if (isset($options['vkAppAuthUser']) && $options['vkAppAuthUser'] > 0) {
?>
<br/><br/><b><?php
_e('Test your settings', 'nxs_snap');
?>
:</b> <a href="#" class="NXSButton" onclick="testPost('VK','<?php
echo $ii;
?>
'); return false;"><?php
printf(__('Submit Test Post to %s', 'nxs_snap'), $nType);
?>
</a>
<?php
}
?>
</div>
<?php
/* ######################## Advanced Tab ####################### */
?>
<?php
if (!$isNew) {
?>
<div id="nsx<?php
echo $nt . $ii;
?>
_tab2" class="nsx_tab_content">
<?php
nxs_showCatTagsCTFilters($nt, $ii, $options);
nxs_addPostingDelaySelV3($nt, $ii, $options['nHrs'], $options['nMin'], $options['nDays']);
nxs_showRepostSettings($nt, $ii, $options);
?>
</div> <?php
}
?>
<?php
/* #### End of Tab #### */
?>
</div><br/> <?php
/* #### End of Tabs #### */
?>
<div class="submitX nxclear" style="padding-bottom: 0px;"><input type="submit" class="button-primary" name="update_NS_SNAutoPoster_settings" value="<?php
_e('Update Settings', 'nxs_snap');
?>
" /></div>
</div>
<?php
}
示例7: showNTSettings
//.........这里部分代码省略.........
<div id="altFormat" style="margin-left: 0px;">
<div style="width:100%;"><strong id="altFormatText"><?php
_e('Text Format', 'social-networks-auto-poster-facebook-twitter-g');
?>
:</strong> (<a href="#" id="msgFrmt<?php
echo $ntU;
echo $ii;
?>
HintInfo" onclick="mxs_showHideFrmtInfo('msgFrmt<?php
echo $ntU;
echo $ii;
?>
'); return false;"><?php
_e('Show format info', 'social-networks-auto-poster-facebook-twitter-g');
?>
</a>)
</div>
<textarea cols="150" rows="3" id="<?php
echo $nt;
echo $ii;
?>
msgFrmt" name="<?php
echo $nt;
?>
[<?php
echo $ii;
?>
][msgFrmt]" style="width:51%;max-width: 650px;" onfocus="jQuery('#<?php
echo $nt;
echo $ii;
?>
msgFrmt').attr('rows', 6); mxs_showFrmtInfo('msgFrmt<?php
echo $ntU . $ii;
?>
');"><?php
if ($isNew) {
_e("%EXCERPT%", 'social-networks-auto-poster-facebook-twitter-g');
} else {
_e(apply_filters('format_to_edit', htmlentities($options['msgFrmt'], ENT_COMPAT, "UTF-8")), 'social-networks-auto-poster-facebook-twitter-g');
}
?>
</textarea><?php
nxs_doShowHint("msgFrmt" . $ntU . $ii);
?>
</div>
<?php
if ($options['uPass'] != '') {
?>
<b><?php
_e('Test your settings', 'social-networks-auto-poster-facebook-twitter-g');
?>
:</b> <a href="#" class="NXSButton" onclick="testPost('<?php
echo $ntU;
?>
', '<?php
echo $ii;
?>
'); return false;"><?php
printf(__('Submit Test Post to %s', 'social-networks-auto-poster-facebook-twitter-g'), $nType);
?>
</a> <?php
}
?>
</div>
<?php
/* ######################## Advanced Tab ####################### */
?>
<?php
if (!$isNew) {
?>
<div id="nsx<?php
echo $nt . $ii;
?>
_tab2" class="nsx_tab_content">
<?php
nxs_showCatTagsCTFilters($nt, $ii, $options);
nxs_addPostingDelaySelV3($nt, $ii, $options['nHrs'], $options['nMin'], $options['nDays']);
nxs_showRepostSettings($nt, $ii, $options);
?>
</div> <?php
}
?>
<?php
/* #### End of Tab #### */
?>
</div><br/> <?php
/* #### End of Tabs #### */
?>
<div class="submit nxclear" style="padding-bottom: 0px;"><input type="submit" class="button-primary" name="update_NS_SNAutoPoster_settings" value="<?php
_e('Update Settings', 'social-networks-auto-poster-facebook-twitter-g');
?>
" /></div>
</div><?php
}
示例8: showNTSettings
//.........这里部分代码省略.........
<?php
_e('You can', 'nxs_snap');
?>
Re- <?php
}
?>
<a href="https://account.app.net/oauth/authenticate?client_id=<?php
echo trim($options['appID']);
?>
&response_type=code&redirect_uri=<?php
echo trim(urlencode($nxs_snapSetPgURL) . '&state=ap-' . $ii . '&scope=stream+write_post+follow+messages+update_profile+files');
?>
">Authorize Your App.Net Account</a>
<?php
if (!isset($options['appAppUserID']) || $options['appAppUserID'] < 1) {
?>
<div class="blnkg"><=== <?php
_e('Authorize your account', 'nxs_snap');
?>
===</div>
<br/><br/><i> <?php
_e('If you get App.Net message:', 'nxs_snap');
?>
<b>"Error. An error occurred. Please try again later."</b> or <b>"Error 191"</b> <?php
_e('please make sure that domain name in your App.Net App matches your website domain exactly. Please note that www. and non www. versions are different domains.', 'nxs_snap');
?>
</i> <?php
}
?>
<?php
}
?>
<br/>
<?php
if ($isNew) {
?>
<input type="hidden" name="ap[<?php
echo $ii;
?>
][apDoAP]" value="1" id="apDoNewAP<?php
echo $ii;
?>
" /> <?php
}
?>
<?php
if (isset($options['appAppUserID']) && $options['appAppUserID'] > 0) {
?>
<b><?php
_e('Test your settings', 'nxs_snap');
?>
:</b> <a href="#" class="NXSButton" onclick="testPost('AP', '<?php
echo $ii;
?>
'); return false;"><?php
printf(__('Submit Test Post to %s', 'nxs_snap'), $nType);
?>
</a> <?php
}
?>
</div>
<?php
/* ######################## Tools Tab ####################### */
?>
<?php
if (!$isNew) {
?>
<div id="nsx<?php
echo $nt . $ii;
?>
_tab2" class="nsx_tab_content">
<?php
nxs_showCatTagsCTFilters($nt, $ii, $options);
nxs_addPostingDelaySelV3($nt, $ii, $options['nHrs'], $options['nMin'], $options['nDays']);
nxs_showRepostSettings($nt, $ii, $options);
?>
</div> <?php
}
?>
<?php
/* #### End of Tab #### */
?>
</div><br/> <?php
/* #### End of Tabs #### */
?>
<div class="submitX nxclear" style="padding-bottom: 0px;"><input type="submit" class="button-primary" name="update_NS_SNAutoPoster_settings" value="<?php
_e('Update Settings', 'nxs_snap');
?>
" /></div>
</div><?php
}
示例9: showNTSettings
//.........这里部分代码省略.........
nxs_doShowHint("apWPMsgTFrmt" . $ii);
?>
</div>
<div id="altFormat" style="">
<div style="width:100%;"><strong id="altFormatText"><?php
_e('Post Text Format', 'social-networks-auto-poster-facebook-twitter-g');
?>
</strong>
(<a href="#" id="apWPMsgFrmt<?php
echo $ii;
?>
HintInfo" onclick="mxs_showHideFrmtInfo('apWPMsgFrmt<?php
echo $ii;
?>
'); return false;"><?php
_e('Show format info', 'social-networks-auto-poster-facebook-twitter-g');
?>
</a>)
</div>
<textarea cols="150" rows="3" id="wp<?php
echo $ii;
?>
SNAPformat" name="wp[<?php
echo $ii;
?>
][apWPMsgFrmt]" style="width:51%;max-width: 650px;" onfocus="jQuery('#wp<?php
echo $ii;
?>
SNAPformat').attr('rows', 6); mxs_showFrmtInfo('apWPMsgFrmt<?php
echo $ii;
?>
');"><?php
if ($isNew) {
echo "%EXCERPT%";
} else {
_e(apply_filters('format_to_edit', htmlentities($options['wpMsgFormat'], ENT_COMPAT, "UTF-8")), 'social-networks-auto-poster-facebook-twitter-g');
}
?>
</textarea>
<?php
nxs_doShowHint("apWPMsgFrmt" . $ii);
?>
</div><br/>
<?php
if ($options['wpPass'] != '') {
?>
<b><?php
_e('Test your settings', 'social-networks-auto-poster-facebook-twitter-g');
?>
:</b> <a href="#" class="NXSButton" onclick="testPost('WP', '<?php
echo $ii;
?>
'); return false;"><?php
printf(__('Submit Test Post to %s', 'social-networks-auto-poster-facebook-twitter-g'), $nType);
?>
</a>
<?php
}
?>
</div>
<?php
/* ######################## Advanced Tab ####################### */
?>
<?php
if (!$isNew) {
?>
<div id="nsx<?php
echo $nt . $ii;
?>
_tab2" class="nsx_tab_content">
<?php
nxs_showCatTagsCTFilters($nt, $ii, $options);
nxs_addPostingDelaySelV3($nt, $ii, $options['nHrs'], $options['nMin'], $options['nDays']);
nxs_showRepostSettings($nt, $ii, $options);
?>
</div> <?php
}
?>
<?php
/* #### End of Tab #### */
?>
</div><br/> <?php
/* #### End of Tabs #### */
?>
<div class="submitX nxclear" style="padding-bottom: 0px;"><input type="submit" class="button-primary" name="update_NS_SNAutoPoster_settings" value="<?php
_e('Update Settings', 'social-networks-auto-poster-facebook-twitter-g');
?>
" /></div></div><?php
}
示例10: showNTSettings
//.........这里部分代码省略.........
msgFrmt" name="<?php
echo $nt;
?>
[<?php
echo $ii;
?>
][msgFrmt]" style="width:51%;max-width: 650px;" onfocus="jQuery('#<?php
echo $nt;
echo $ii;
?>
msgFrmt').attr('rows', 6); mxs_showFrmtInfo('msgFrmt<?php
echo $ntU . $ii;
?>
');"><?php
if ($isNew) {
_e("%EXCERPT% \r\n\r\n%URL%", 'nxs_snap');
} else {
_e(apply_filters('format_to_edit', htmlentities($options['msgFrmt'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
}
?>
</textarea><?php
nxs_doShowHint("msgFrmt" . $ntU . $ii);
?>
</div>
<br/>
<?php
if ($isNew) {
?>
<input type="hidden" name="<?php
echo $nt;
?>
[<?php
echo $ii;
?>
][apDo<?php
echo $ntU;
?>
]" value="1" id="apDoNew<?php
echo $ntU;
echo $ii;
?>
" /> <?php
}
?>
<?php
if (!empty($options['uPass'])) {
?>
<b><?php
_e('Test your settings', 'nxs_snap');
?>
:</b> <a href="#" class="NXSButton" onclick="testPost('<?php
echo $ntU;
?>
', '<?php
echo $ii;
?>
'); return false;"><?php
printf(__('Submit Test Post to %s', 'nxs_snap'), $nType);
?>
</a> <?php
}
?>
</div>
<?php
/* ######################## Tools Tab ####################### */
?>
<?php
if (!$isNew) {
?>
<div id="nsx<?php
echo $nt . $ii;
?>
_tab2" class="nsx_tab_content">
<?php
nxs_showCatTagsCTFilters($nt, $ii, $options);
nxs_addPostingDelaySelV3($nt, $ii, $options['nHrs'], $options['nMin'], $options['nDays']);
nxs_showRepostSettings($nt, $ii, $options);
?>
</div> <?php
}
?>
<?php
/* #### End of Tab #### */
?>
</div><br/> <?php
/* #### End of Tabs #### */
?>
<div class="submitX nxclear" style="padding-bottom: 0px;"><input type="submit" class="button-primary" name="update_NS_SNAutoPoster_settings" value="<?php
_e('Update Settings', 'nxs_snap');
?>
" /></div>
</div><?php
}
示例11: showNTSettings
//.........这里部分代码省略.........
_e(apply_filters('format_to_edit', htmlentities($options['pkMsgFormat'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
} else {
echo htmlentities("%TITLE% - %URL%");
}
?>
</textarea>
<br/>
<?php
nxs_doShowHint("apPKMsgFrmt" . $ii);
?>
<br/>
<?php
if ($options['pkConsSec'] == '') {
?>
<b>Authorize Your Plurk Account</b>. Please save your settings and come back here to Authorize your account.
<?php
} else {
if (!empty($options['pkAccessTocken']) && $options['pkAccessTockenSec'] !== '') {
?>
Your Plurk Account has been authorized. Your display name: <?php
_e(apply_filters('format_to_edit', htmlentities($options['pkPgID'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
?>
.
You can Re- <?php
}
?>
<a href="<?php
echo $nxs_snapSetPgURL . (stripos($nxs_snapSetPgURL, '?') !== false ? '&' : '?');
?>
auth=pk&acc=<?php
echo $ii;
?>
">Authorize Your Plurk Account</a>
<?php
if (!isset($options['pkOAuthTokenSecret']) || $options['pkOAuthTokenSecret'] == '') {
?>
<div class="blnkg"><=== Authorize your account ===</div> <?php
}
?>
<?php
}
?>
<?php
if (isset($options['pkOAuthTokenSecret']) && $options['pkOAuthTokenSecret'] != '') {
?>
<br/><br/><b><?php
_e('Test your settings', 'nxs_snap');
?>
:</b> <a href="#" class="NXSButton" onclick="testPost('PK', '<?php
echo $ii;
?>
'); return false;"><?php
printf(__('Submit Test Post to %s', 'nxs_snap'), $nType);
?>
</a> <br/><br/>
<?php
}
?>
</div>
<?php
/* ######################## Advanced Tab ####################### */
?>
<?php
if (!$isNew) {
?>
<div id="nsx<?php
echo $nt . $ii;
?>
_tab2" class="nsx_tab_content">
<?php
nxs_showCatTagsCTFilters($nt, $ii, $options);
nxs_addPostingDelaySelV3($nt, $ii, $options['nHrs'], $options['nMin'], $options['nDays']);
nxs_showRepostSettings($nt, $ii, $options);
?>
</div> <?php
}
/* #### End of Tab #### */
?>
</div><br/> <?php
/* #### End of Tabs #### */
?>
<div class="submitX nxclear" style="padding-bottom: 0px;"><input type="submit" class="button-primary" name="update_NS_SNAutoPoster_settings" value="<?php
_e('Update Settings', 'nxs_snap');
?>
" /></div>
</div>
<?php
}
示例12: showNTSettings
//.........这里部分代码省略.........
?>
<br/> <br/>
<div id="altFormat" style="">
<div style="width:100%;"><strong id="altFormatText"><?php
_e('Post Text Format', 'nxs_snap');
?>
</strong> (<a href="#" id="apFFMsgFrmt<?php
echo $ii;
?>
HintInfo" onclick="mxs_showHideFrmtInfo('apFFMsgFrmt<?php
echo $ii;
?>
'); return false;"><?php
_e('Show format info', 'nxs_snap');
?>
</a>)</div>
<input name="ff[<?php
echo $ii;
?>
][apFFMsgFrmt]" id="apFFMsgFrmt" style="width: 50%;" value="<?php
if ($isNew) {
echo "%TITLE% - %URL% %EXCERPT%";
} else {
_e(apply_filters('format_to_edit', htmlentities($options['ffMsgFormat'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
}
?>
" onfocus="mxs_showFrmtInfo('apFFMsgFrmt<?php
echo $ii;
?>
');" /><?php
nxs_doShowHint("apFFMsgFrmt" . $ii);
?>
</div>
<p style="margin: 0px;"><input value="1" id="apLIAttch" type="checkbox" name="ff[<?php
echo $ii;
?>
][attchImg]" <?php
if ((int) $options['attchImg'] == 1) {
echo "checked";
}
?>
/> <strong><?php
_e('Attach Image to FriendFeed Post', 'nxs_snap');
?>
</strong></p>
<br/>
<?php
if ($options['ffPass'] != '') {
?>
<b><?php
_e('Test your settings', 'nxs_snap');
?>
:</b> <a href="#" class="NXSButton" onclick="testPost('FF', '<?php
echo $ii;
?>
'); return false;"><?php
printf(__('Submit Test Post to %s', 'nxs_snap'), $nType);
?>
</a>
<?php
}
?>
</div>
<?php
/* ######################## Advanced Tab ####################### */
?>
<?php
if (!$isNew) {
?>
<div id="nsx<?php
echo $nt . $ii;
?>
_tab2" class="nsx_tab_content">
<?php
nxs_showCatTagsCTFilters($nt, $ii, $options);
nxs_addPostingDelaySelV3($nt, $ii, $options['nHrs'], $options['nMin'], $options['nDays']);
nxs_showRepostSettings($nt, $ii, $options);
?>
</div> <?php
}
?>
<?php
/* #### End of Tab #### */
?>
</div><br/> <?php
/* #### End of Tabs #### */
?>
<div class="submitX nxclear" style="padding-bottom: 0px;"><input type="submit" class="button-primary" name="update_NS_SNAutoPoster_settings" value="<?php
_e('Update Settings', 'nxs_snap');
?>
" /></div></div><?php
}
示例13: showNTSettings
//.........这里部分代码省略.........
}
?>
/> <?php
_e('Google+ Image Post', 'nxs_snap');
?>
- <i><?php
_e('big image with text message', 'nxs_snap');
?>
</i><br/>
<input type="radio" name="gp[<?php
echo $ii;
?>
][postType]" value="A" <?php
if (!isset($options['postType']) || $options['postType'] == '' || $options['postType'] == 'A') {
echo 'checked="checked"';
}
?>
/> <?php
_e('Add blogpost to Google+ message as an attachment', 'nxs_snap');
?>
<br/>
<div class="popShAtt" id="popShAtt<?php
echo $ii;
?>
XG"><h3><?php
_e('Google+ Post Types', 'nxs_snap');
?>
</h3><img src="<?php
echo $nxs_plurl;
?>
img/gpPostTypesDiff6.png" width="600" height="285" alt="<?php
_e('Google+ Post Types', 'nxs_snap');
?>
"/></div>
</div><br/>
<?php
if ($isNew) {
?>
<input type="hidden" name="gp[<?php
echo $ii;
?>
][apDoGP]" value="1" id="apDoNewGP<?php
echo $ii;
?>
" /> <?php
}
?>
<?php
if ($options['gpPass'] != '') {
?>
<b><?php
_e('Test your settings', 'nxs_snap');
?>
:</b> <a href="#" class="NXSButton" onclick="testPost('GP', '<?php
echo $ii;
?>
'); return false;"><?php
printf(__('Submit Test Post to %s', 'nxs_snap'), $nType);
?>
</a> <?php
}
?>
</div>
<?php
/* ######################## Advanced Tab ####################### */
?>
<?php
if (!$isNew) {
?>
<div id="nsx<?php
echo $nt . $ii;
?>
_tab2" class="nsx_tab_content">
<?php
nxs_showCatTagsCTFilters($nt, $ii, $options);
nxs_addPostingDelaySelV3($nt, $ii, $options['nHrs'], $options['nMin'], $options['nDays']);
nxs_showRepostSettings($nt, $ii, $options);
?>
</div> <?php
}
?>
<?php
/* #### End of Tab #### */
?>
</div><br/> <?php
/* #### End of Tabs #### */
?>
<div class="submitX nxclear" style="padding-bottom: 0px;"><input type="submit" class="button-primary" name="update_NS_SNAutoPoster_settings" value="<?php
_e('Update Settings', 'nxs_snap');
?>
" /></div> </div>
<?php
}
示例14: showNTSettings
//.........这里部分代码省略.........
_e('Show format info', 'nxs_snap');
?>
</a>)
</div>
<textarea cols="150" rows="3" id="lj<?php
echo $ii;
?>
SNAPformat" name="lj[<?php
echo $ii;
?>
][apLJMsgFrmt]" style="width:51%;max-width: 650px;" onfocus="jQuery('#lj<?php
echo $ii;
?>
SNAPformat').attr('rows', 6); mxs_showFrmtInfo('apLJMsgFrmt<?php
echo $ii;
?>
');"><?php
if ($isNew) {
echo "%FULLTEXT%";
} else {
_e(apply_filters('format_to_edit', htmlentities($options['ljMsgFormat'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
}
?>
</textarea>
<?php
nxs_doShowHint("apLJMsgFrmt" . $ii);
?>
</div>
<p style="margin-bottom: 20px;margin-top: 5px;"><input value="1" id="ljInclTags<?php
echo $ii;
?>
" type="checkbox" name="lj[<?php
echo $ii;
?>
][inclTags]" <?php
if ((int) $options['inclTags'] == 1) {
echo "checked";
}
?>
/>
<strong><?php
_e('Post with tags.', 'nxs_snap');
?>
</strong> <?php
_e('Tags from the blogpost will be auto posted to LiveJournal', 'nxs_snap');
?>
</p><br/>
<?php
if ($options['ljPass'] != '') {
?>
<b><?php
_e('Test your settings', 'nxs_snap');
?>
:</b> <a href="#" class="NXSButton" onclick="testPost('LJ', '<?php
echo $ii;
?>
'); return false;"><?php
printf(__('Submit Test Post to %s', 'nxs_snap'), $nType);
?>
</a> <?php
}
?>
</div>
<?php
/* ######################## Advanced Tab ####################### */
?>
<?php
if (!$isNew) {
?>
<div id="nsx<?php
echo $nt . $ii;
?>
_tab2" class="nsx_tab_content">
<?php
nxs_showCatTagsCTFilters($nt, $ii, $options);
nxs_addPostingDelaySelV3($nt, $ii, $options['nHrs'], $options['nMin'], $options['nDays']);
nxs_showRepostSettings($nt, $ii, $options);
?>
</div> <?php
}
?>
<?php
/* #### End of Tab #### */
?>
</div><br/> <?php
/* #### End of Tabs #### */
?>
<div class="submitX nxclear" style="padding-bottom: 0px;"><input type="submit" class="button-primary" name="update_NS_SNAutoPoster_settings" value="<?php
_e('Update Settings', 'nxs_snap');
?>
" /></div></div><?php
}
示例15: showNTSettings
//.........这里部分代码省略.........
echo $ii;
?>
');"><?php
if ($isNew) {
echo "%TITLE%";
} else {
_e(apply_filters('format_to_edit', htmlentities($options['vbMsgTFormat'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
}
?>
</textarea>
<?php
nxs_doShowHint("apVBMsgTFrmt" . $ii);
?>
</div><br/>
<div id="altFormat" style="">
<div style="width:100%;"><strong id="altFormatText"><?php
_e('Post Text Format', 'nxs_snap');
?>
</strong> (<a href="#" id="apVBMsgFrmt<?php
echo $ii;
?>
HintInfo" onclick="mxs_showHideFrmtInfo('apVBMsgFrmt<?php
echo $ii;
?>
'); return false;"><?php
_e('Show format info', 'nxs_snap');
?>
</a>)</div>
<input name="vb[<?php
echo $ii;
?>
][apVBMsgFrmt]" id="apVBMsgFrmt" style="width: 50%;" value="<?php
if ($isNew) {
echo "%EXCERPT%";
} else {
_e(apply_filters('format_to_edit', htmlentities($options['vbMsgFormat'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
}
?>
" onfocus="mxs_showFrmtInfo('apVBMsgFrmt<?php
echo $ii;
?>
');" /><?php
nxs_doShowHint("apVBMsgFrmt" . $ii);
?>
</div><br/>
<?php
if ($options['vbPass'] != '') {
?>
<b><?php
_e('Test your settings', 'nxs_snap');
?>
:</b> <a href="#" class="NXSButton" onclick="testPost('VB', '<?php
echo $ii;
?>
'); return false;"><?php
printf(__('Submit Test Post to %s', 'nxs_snap'), $nType);
?>
</a>
<?php
}
?>
</div>
<?php
/* ######################## Advanced Tab ####################### */
?>
<?php
if (!$isNew) {
?>
<div id="nsx<?php
echo $nt . $ii;
?>
_tab2" class="nsx_tab_content">
<?php
nxs_showCatTagsCTFilters($nt, $ii, $options);
nxs_addPostingDelaySelV3($nt, $ii, $options['nHrs'], $options['nMin'], $options['nDays']);
nxs_showRepostSettings($nt, $ii, $options);
?>
</div> <?php
}
?>
<?php
/* #### End of Tab #### */
?>
</div><br/> <?php
/* #### End of Tabs #### */
?>
<div class="submitX nxclear" style="padding-bottom: 0px;"><input type="submit" class="button-primary" name="update_NS_SNAutoPoster_settings" value="<?php
_e('Update Settings', 'nxs_snap');
?>
" /></div></div><?php
}