本文整理汇总了PHP中nxs_doShowHint函数的典型用法代码示例。如果您正苦于以下问题:PHP nxs_doShowHint函数的具体用法?PHP nxs_doShowHint怎么用?PHP nxs_doShowHint使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了nxs_doShowHint函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: showEdPostNTSettings
//.........这里部分代码省略.........
_e('publish to', 'nxs_snap');
?>
(<i style="color: #005800;"><?php
echo $options['nName'];
?>
</i>)</div></th> <td style="min-width: 180px; width: 350px;" ><?php
//## Only show RePost button if the post is "published"
if ($post->post_status == "publish" && $isAvailBG) {
?>
<input alt="<?php
echo $ii;
?>
" style="float: right;" onmouseout="hidePopShAtt('SV');" onmouseover="showPopShAtt('SV', event);" onclick="return false;" type="button" class="button" name="rePostToBG_repostButton" id="rePostToBG_button" value="<?php
_e('Repost to Blogger', 'nxs_snap');
?>
" />
<?php
wp_nonce_field('rePostToBG', 'rePostToBG_wpnonce');
}
?>
<?php
if (is_array($pMeta) && is_array($pMeta[$ii]) && isset($pMeta[$ii]['pgID'])) {
?>
<span id="pstdBG<?php
echo $ii;
?>
" style="float: right; padding-top: 4px; padding-right: 10px;">
<a style="font-size: 10px;" href="<?php
echo $pMeta[$ii]['pgID'];
?>
" target="_blank"><?php
$nType = "Blogger";
printf(__('Posted on', 'nxs_snap'), $nType);
echo isset($pMeta[$ii]['pDate']) && $pMeta[$ii]['pDate'] != '' ? " (" . $pMeta[$ii]['pDate'] . ")" : "";
?>
</a>
</span><?php
}
?>
</td></tr>
<?php
if (!$isAvailBG) {
?>
<tr><th scope="row" style="text-align:right; width:150px; padding-top: 5px; padding-right:10px;"></th> <td><b><?php
_e('Setup your Blogger Account to AutoPost to Blogger', 'nxs_snap');
?>
</b>
<?php
} elseif ($post->post_status != "puZblish") {
?>
<tr id="altFormat1" style=""><th scope="row" style="vertical-align:top; padding-top: 6px; text-align:right; width:60px; padding-right:10px;"><?php
_e('Title Format:', 'NS_SPAP');
?>
</th>
<td><input value="<?php
echo $bgMsgTFormat;
?>
" type="text" name="bg[<?php
echo $ii;
?>
][SNAPTformat]" style="width:60%;max-width: 610px;" onfocus="jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apBGTMsgFrmt<?php
echo $ii;
?>
');"/><?php
nxs_doShowHint("apBGTMsgFrmt" . $ii, '', '58');
?>
</td></tr>
<tr id="altFormat1" style=""><th scope="row" style="vertical-align:top; padding-top: 6px; text-align:right; width:60px; padding-right:10px;"><?php
_e('Message Format:', 'NS_SPAP');
?>
</th>
<td>
<textarea cols="150" rows="1" id="bg<?php
echo $ii;
?>
SNAPformat" name="bg[<?php
echo $ii;
?>
][SNAPformat]" style="width:60%;max-width: 610px;" onfocus="jQuery('#bg<?php
echo $ii;
?>
SNAPformat').attr('rows', 4); jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apBGMsgFrmt<?php
echo $ii;
?>
');"><?php
echo $bgMsgFormat;
?>
</textarea>
<?php
nxs_doShowHint("apBGMsgFrmt" . $ii, '', '58');
?>
</td></tr>
<?php
}
}
}
示例2: showEdPostNTSettings
//.........这里部分代码省略.........
(<i style="color: #005800;"><?php
echo $ntOpt['nName'];
?>
</i>)</div></th><td><?php
//## Only show RePost button if the post is "published"
if ($post->post_status == "publish" && $isAvailTW) {
?>
<input alt="<?php
echo $ii;
?>
" style="float: right;" onmouseout="hidePopShAtt('SV');" onmouseover="showPopShAtt('SV', event);" onclick="return false;" type="button" class="button" name="rePostToTW_repostButton" id="rePostToTW_button" value="<?php
_e('Repost to Twitter', 'nxs_snap');
?>
" />
<?php
if ($ntOpt['riComments'] == '1' && (is_array($pMeta) && is_array($pMeta[$ii]) && isset($pMeta[$ii]['pgID']) && $pMeta[$ii]['pgID'] != '')) {
?>
<input alt="<?php
echo $ii;
?>
" style="float: right; " onclick="return false;" type="button" class="button" name="riToTW_repostButton" id="riToTW_button" value="<?php
_e('Import Replies/Mentions from Twitter', 'nxs_snap');
?>
" />
<?php
}
?>
<?php
wp_nonce_field('rePostToTW', 'rePostToTW_wpnonce');
}
?>
<?php
if (is_array($pMeta) && is_array($pMeta[$ii]) && isset($pMeta[$ii]['pgID'])) {
?>
<span style="float: right;padding-top: 4px; padding-right: 10px;">
<a id="pstdTW<?php
echo $ii;
?>
" style="font-size: 10px;" href="<?php
echo $ntOpt['twURL'] . '/status/' . $pMeta[$ii]['pgID'];
?>
" target="_blank"><?php
$nType = "Twitter";
printf(__('Posted on', 'nxs_snap'), $nType);
?>
<?php
echo isset($pMeta[$ii]['pDate']) && $pMeta[$ii]['pDate'] != '' ? " (" . $pMeta[$ii]['pDate'] . ")" : "";
?>
</a>
</span><?php
}
?>
</td></tr>
<?php
if (!$isAvailTW) {
?>
<tr><th scope="row" style="text-align:right; width:150px; padding-top: 5px; padding-right:10px;"></th> <td><b>Setup your Twitter Account to AutoPost to Twitter</b>
<?php
} elseif ($post->post_status != "puZblish") {
?>
<tr id="altFormat1" style=""><th scope="row" style="vertical-align:top; padding-top:6px; text-align:right; width:60px; padding-right:10px;"><?php
_e('Message Format:', 'nxs_snap');
?>
</th>
<td><input value="<?php
echo $twMsgFormat;
?>
" type="text" name="tw[<?php
echo $ii;
?>
][SNAPformat]" style="width:60%;max-width: 610px;" onfocus="jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apTWMsgFrmt<?php
echo $ii;
?>
');"/><?php
nxs_doShowHint("apTWMsgFrmt" . $ii);
?>
</td></tr>
<tr><th scope="row" style="text-align:right; width:150px; vertical-align:top; padding-top: 5px; padding-right:10px;">
<input value="0" type="hidden" name="tw[<?php
echo $ii;
?>
][attchImg]"/>
<input value="1" type="checkbox" name="tw[<?php
echo $ii;
?>
][attchImg]" <?php
if ((int) $isAttchImg == 1) {
echo "checked";
}
?>
/> </th><td><strong>Attach Image to Twitter Post</strong></td> </tr>
<?php
}
}
}
示例3: showEdPostNTSettings
//.........这里部分代码省略.........
</td></tr>
<?php
if (!$isAvailBG) {
?>
<tr><th scope="row" style="text-align:right; width:150px; padding-top: 5px; padding-right:10px;"></th> <td><b><?php
_e('Setup your Blogger Account to AutoPost to Blogger', 'social-networks-auto-poster-facebook-twitter-g');
?>
</b>
<?php
} else {
if ($post->post_status != "publish" && function_exists('nxs_doSMAS5')) {
$ntOpt['postTime'] = get_post_time('U', false, $post_id);
nxs_doSMAS5($nt, $ii, $ntOpt);
}
?>
<?php
if ($ntOpt['rpstOn'] == '1') {
?>
<tr id="altFormat1" style=""><th scope="row" class="nxsTHRow">
<input value="0" type="hidden" name="<?php
echo $nt;
?>
[<?php
echo $ii;
?>
][rpstPostIncl]"/><input value="nxsi<?php
echo $ii;
?>
bg" type="checkbox" name="<?php
echo $nt;
?>
[<?php
echo $ii;
?>
][rpstPostIncl]" <?php
if (!empty($ntOpt['rpstPostIncl'])) {
echo "checked";
}
?>
/>
</th>
<td> <?php
_e('Include in "Auto-Reposting" to this network.', 'social-networks-auto-poster-facebook-twitter-g');
?>
</td></tr> <?php
}
?>
<tr id="altFormat1" style=""><th scope="row" style="vertical-align:top; padding-top: 6px; text-align:right; width:60px; padding-right:10px;"><?php
_e('Title Format:', 'NS_SPAP');
?>
</th>
<td><input class="nxs_postEditCtrl" value="<?php
echo $bgMsgTFormat;
?>
" type="text" name="bg[<?php
echo $ii;
?>
][SNAPTformat]" style="width:60%;max-width: 610px;" onfocus="jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apBGTMsgFrmt<?php
echo $ii;
?>
');" onchange="nxs_svPostStAjax(this)"/><?php
nxs_doShowHint("apBGTMsgFrmt" . $ii, '', '58');
?>
</td></tr>
<tr id="altFormat1" style=""><th scope="row" style="vertical-align:top; padding-top: 6px; text-align:right; width:60px; padding-right:10px;"><?php
_e('Message Format:', 'NS_SPAP');
?>
</th>
<td>
<textarea class="nxs_postEditCtrl" cols="150" rows="1" id="bg<?php
echo $ii;
?>
SNAPformat" name="bg[<?php
echo $ii;
?>
][SNAPformat]" style="width:60%;max-width: 610px;" onfocus="jQuery('#bg<?php
echo $ii;
?>
SNAPformat').attr('rows', 4); jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apBGMsgFrmt<?php
echo $ii;
?>
');"><?php
echo $bgMsgFormat;
?>
</textarea>
<?php
nxs_doShowHint("apBGMsgFrmt" . $ii, '', '58');
?>
</td></tr>
<?php
}
}
}
示例4: showEdPostNTSettings
//.........这里部分代码省略.........
?>
<input alt="<?php
echo $ii;
?>
" style="float: right;" onmouseout="hidePopShAtt('SV');" onmouseover="showPopShAtt('SV', event);" onclick="return false;" type="button" class="button" name="rePostToPN_repostButton" id="rePostToPN_button" value="<?php
_e('Repost to Pinterest', 'nxs_snap');
?>
" />
<?php
wp_nonce_field('rePostToPN', 'rePostToPN_wpnonce');
}
?>
<?php
if (is_array($pMeta) && is_array($pMeta[$ii]) && isset($pMeta[$ii]['pgID'])) {
?>
<span id="pstdPN<?php
echo $ii;
?>
" style="float: right;padding-top: 4px; padding-right: 10px;">
<a style="font-size: 10px;" href="http://pinterest.com<?php
echo $pMeta[$ii]['pgID'];
?>
" target="_blank"><?php
$nType = "Pinterest";
printf(__('Posted on', 'nxs_snap'), $nType);
?>
<?php
echo isset($pMeta[$ii]['pDate']) && $pMeta[$ii]['pDate'] != '' ? " (" . $pMeta[$ii]['pDate'] . ")" : "";
?>
</a>
</span><?php
}
?>
</td></tr>
<?php
if (!$isAvailPN) {
?>
<tr><th scope="row" style="text-align:right; width:150px; padding-top: 5px; padding-right:10px;"></th> <td><b>Setup your Pinterest Account to AutoPost to Pinterest</b>
<?php
} elseif ($post->post_status != "puZblish") {
?>
<tr><th scope="row" style="text-align:right; width:150px; padding-top: 5px; padding-right:10px;">Select Board</th>
<td><select name="pn[<?php
echo $ii;
?>
][apPNBoard]" id="apPNBoard">
<?php
if ($ntOpt['pnBoardsList'] != '') {
$gPNBoards = $ntOpt['pnBoardsList'];
if (base64_encode(base64_decode($gPNBoards)) === $gPNBoards) {
$gPNBoards = base64_decode($gPNBoards);
}
if ($ntOpt['pnBoard'] != '') {
$gPNBoards = str_replace($ntOpt['pnBoard'] . '"', $ntOpt['pnBoard'] . '" selected="selected"', $gPNBoards);
}
echo $gPNBoards;
} else {
?>
<option value="0">None(Click above to retrieve your boards)</option>
<?php
}
?>
</select></td>
</tr>
<tr id="altFormat1" style=""><th scope="row" style="vertical-align:top; padding-top:6px; text-align:right; width:60px; padding-right:10px;"><?php
_e('Text Message Format:', 'nxs_snap');
?>
</th>
<td>
<textarea cols="150" rows="1" id="pn<?php
echo $ii;
?>
SNAPformat" name="pn[<?php
echo $ii;
?>
][SNAPformat]" style="width:60%;max-width: 610px;" onfocus="jQuery('#pn<?php
echo $ii;
?>
SNAPformat').attr('rows', 4); jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apPNMsgFrmt<?php
echo $ii;
?>
');"><?php
echo $pnMsgFormat;
?>
</textarea>
<?php
nxs_doShowHint("apPNMsgFrmt" . $ii);
?>
</td></tr>
<?php
}
}
}
示例5: showEdPostNTSettings
//.........这里部分代码省略.........
</td></tr>
<?php
if (!$isAvailPK) {
?>
<tr><th scope="row" style="text-align:right; width:150px; padding-top: 5px; padding-right:10px;"></th> <td><b>Setup and authorize your Plurk Account to AutoPost to Plurk</b>
<?php
} else {
if ($post->post_status != "publish" && function_exists('nxs_doSMAS5')) {
$ntOpt['postTime'] = get_post_time('U', false, $post_id);
nxs_doSMAS5($nt, $ii, $ntOpt);
}
?>
<?php
if ($ntOpt['rpstOn'] == '1') {
?>
<tr id="altFormat1" style=""><th scope="row" class="nxsTHRow">
<input value="0" type="hidden" name="<?php
echo $nt;
?>
[<?php
echo $ii;
?>
][rpstPostIncl]"/><input value="nxsi<?php
echo $ii;
?>
pk" type="checkbox" name="<?php
echo $nt;
?>
[<?php
echo $ii;
?>
][rpstPostIncl]" <?php
if (!empty($ntOpt['rpstPostIncl'])) {
echo "checked";
}
?>
/>
</th>
<td> <?php
_e('Include in "Auto-Reposting" to this network.', 'nxs_snap');
?>
</td></tr> <?php
}
?>
<tr id="altFormat1" style=""><th scope="row" style="text-align:right; width:60px; padding-right:10px;">
Prefix:
</th>
<td><select name="pk[<?php
echo $ii;
?>
][Cat]" id="apPKCat<?php
echo $ii;
?>
">
<?php
$pkCats = $this->pkCats();
if ($ntOpt['pkCat'] != '') {
$pkCats = str_replace($ntOpt['pkCat'] . '"', $ntOpt['pkCat'] . '" selected="selected"', $pkCats);
}
echo $pkCats;
?>
</select></td></tr>
<tr id="altFormat1" style=""><th scope="row" class="nxsTHRow"><?php
_e('Text Format:', 'nxs_snap');
?>
</th>
<td>
<textarea cols="150" rows="1" id="pk<?php
echo $ii;
?>
SNAPformat" name="pk[<?php
echo $ii;
?>
][SNAPformat]" style="width:60%;max-width: 610px;" onfocus="jQuery('#pk<?php
echo $ii;
?>
SNAPformat').attr('rows', 4); jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apPKMsgFrmt<?php
echo $ii;
?>
');"><?php
echo $pkMsgFormat;
?>
</textarea>
<?php
nxs_doShowHint("apPKMsgFrmt" . $ii);
?>
</td></tr>
<?php
}
}
}
示例6: showEdPostNTSettings
//.........这里部分代码省略.........
<td> <?php
_e('Include in "Auto-Reposting" to this network.', 'nxs_snap');
?>
</td></tr> <?php
}
?>
<tr id="altFormat1" style=""><th scope="row" style="text-align:right; width:60px; padding-right:10px;">
<input type="radio" name="tr[<?php
echo $ii;
?>
][apTRPostType]" value="T" <?php
if ($ntOpt['trPostType'] != 'I') {
echo 'checked="checked"';
}
?>
/> <br/>
</th>
<td><b><?php
_e('Text Post. Title Format:', 'nxs_snap');
?>
</b> <input value="<?php
echo $trMsgTFormat;
?>
" type="text" name="tr[<?php
echo $ii;
?>
][SNAPTformat]" style="width:270px;" onfocus="jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apTRTMsgFrmt<?php
echo $ii;
?>
');"/>
<?php
nxs_doShowHint("apTRTMsgFrmt" . $ii);
?>
</td></tr>
<tr id="altFormat1" style=""><th scope="row" style="text-align:right; width:60px; padding-right:10px;">
<input type="radio" name="tr[<?php
echo $ii;
?>
][apTRPostType]" value="I" <?php
if ($ntOpt['trPostType'] == 'I') {
echo 'checked="checked"';
}
?>
/> <br/>
</th>
<td><b>Image Post</b>
<input type="radio" name="tr[<?php
echo $ii;
?>
][apTRPostType]" value="V" <?php
if ($ntOpt['trPostType'] == 'V') {
echo 'checked="checked"';
}
?>
/> <b>Video Post</b> <?php
nxs_doShowHint("apTRTMsgFrmt" . $ii);
?>
<input type="radio" name="tr[<?php
echo $ii;
?>
][apTRPostType]" value="U" <?php
if ($ntOpt['trPostType'] == 'U') {
示例7: showEdPostNTSettings
//.........这里部分代码省略.........
echo 'checked="checked"';
}
?>
/> <?php
_e('Repost to Google+', 'nxs_snap');
?>
Text Post - <i><?php
_e('just text message', 'nxs_snap');
?>
</i><br/>
<input type="radio" name="gp[<?php
echo $ii;
?>
][postType]" value="I" <?php
if ($gpPostType == 'I') {
echo 'checked="checked"';
}
?>
/> <?php
_e('Post to Google+ as "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($gpPostType) || $gpPostType == '' || $gpPostType == 'A') {
echo 'checked="checked"';
}
?>
/><?php
_e('Text Post with "attached" blogpost', 'nxs_snap');
?>
<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>
</td></tr>
<tr id="altFormat1" style=""><th scope="row" style="vertical-align:top; padding-top: 6px; text-align:right; width:60px; padding-right:10px;"><?php
_e('Message Format:', 'nxs_snap');
?>
</th>
<td>
<?php
if (1 == 1) {
?>
<textarea cols="150" rows="1" id="gp<?php
echo $ii;
?>
SNAPformat" name="gp[<?php
echo $ii;
?>
][SNAPformat]" style="width:60%;max-width: 610px;" onfocus="jQuery('#gp<?php
echo $ii;
?>
SNAPformat').attr('rows', 4); jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apGPMsgFrmt<?php
echo $ii;
?>
');"><?php
echo $gpMsgFormat;
?>
</textarea>
<?php
} else {
?>
<input value="<?php
echo $gpMsgFormat;
?>
" type="text" name="gp[<?php
echo $ii;
?>
][SNAPformat]" style="width:60%;max-width: 610px;" onfocus="jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apGPMsgFrmt<?php
echo $ii;
?>
');"/><?php
nxs_doShowHint("apGPMsgFrmt" . $ii);
?>
<?php
}
?>
</td></tr>
<?php
}
}
}
示例8: showEdPostNTSettings
//.........这里部分代码省略.........
<?php
} else {
if ($post->post_status != "publish" && function_exists('nxs_doSMAS5')) {
$ntOpt['postTime'] = get_post_time('U', false, $post_id);
nxs_doSMAS5($nt, $ii, $ntOpt);
}
?>
<?php
if ($ntOpt['rpstOn'] == '1') {
?>
<tr id="altFormat1" style=""><th scope="row" class="nxsTHRow">
<input value="0" type="hidden" name="<?php
echo $nt;
?>
[<?php
echo $ii;
?>
][rpstPostIncl]"/><input value="nxsi<?php
echo $ii;
?>
ap" type="checkbox" name="<?php
echo $nt;
?>
[<?php
echo $ii;
?>
][rpstPostIncl]" <?php
if (!empty($ntOpt['rpstPostIncl'])) {
echo "checked";
}
?>
/>
</th>
<td> <?php
_e('Include in "Auto-Reposting" to this network.', 'nxs_snap');
?>
</td></tr> <?php
}
?>
<tr id="altFormat1" style=""><th scope="row" style="vertical-align:top; padding-top: 6px; text-align:right; width:60px; padding-right:10px;"><?php
_e('Title Format:', 'NS_SPAP');
?>
</th>
<td><input value="<?php
echo $msgFormatT;
?>
" type="text" name="<?php
echo $nt;
?>
[<?php
echo $ii;
?>
][msgTFrmt]" style="width:60%;max-width: 610px;" onfocus="jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('msgFrmtT<?php
echo $nt . $ii;
?>
');"/><?php
nxs_doShowHint("msgFrmtT" . $nt . $ii, '', '58');
?>
</td></tr>
<tr id="altFormat1" style=""><th scope="row" style="vertical-align:top; padding-top: 6px; text-align:right; width:60px; padding-right:10px;"><?php
_e('Text Format:', 'nxs_snap');
?>
</th><td>
<textarea cols="150" rows="1" id="<?php
echo $nt . $ii;
?>
msgFrmt" name="<?php
echo $nt;
?>
[<?php
echo $ii;
?>
][msgFrmt]" style="width:60%;max-width: 610px;" onfocus="jQuery('#<?php
echo $nt . $ii;
?>
msgFrmt').attr('rows', 4); jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('msgFrmt<?php
echo $nt . $ii;
?>
');"><?php
echo $msgFormat;
?>
</textarea> <?php
nxs_doShowHint("msgFrmt" . $nt . $ii, '', '58');
?>
</td></tr>
<?php
/* ## Select Image & URL ## */
nxs_showImgToUseDlg($nt, $ii, $imgToUse);
?>
<?php
}
}
}
示例9: showEdPostNTSettings
//.........这里部分代码省略.........
echo $ii;
?>
" style="float: right;" onmouseout="hidePopShAtt('SV');" onmouseover="showPopShAtt('SV', event);" onclick="return false;" type="button" class="button" name="rePostToWP_repostButton" id="rePostToWP_button" value="<?php
_e('Repost to WP Blog', 'nxs_snap');
?>
" />
<?php
wp_nonce_field('rePostToWP', 'rePostToWP_wpnonce');
}
?>
<?php
if (is_array($pMeta) && is_array($pMeta[$ii]) && isset($pMeta[$ii]['pgID'])) {
$wpURL = str_ireplace('/xmlrpc.php', '', $ntOpt['wpURL']);
if (substr($wpURL, -1) == '/') {
$wpURL = substr($wpURL, 0, -1);
}
$wpURL = $wpURL . "/";
?>
<span id="pstdWP<?php
echo $ii;
?>
" style="float: right;padding-top: 4px; padding-right: 10px;">
<a style="font-size: 10px;" href="<?php
echo $wpURL;
?>
?p=<?php
echo $pMeta[$ii]['pgID'];
?>
" target="_blank"><?php
$nType = "Wordpress Blog";
printf(__('Posted on', 'nxs_snap'), $nType);
?>
<?php
echo isset($pMeta[$ii]['pDate']) && $pMeta[$ii]['pDate'] != '' ? " (" . $pMeta[$ii]['pDate'] . ")" : "";
?>
</a>
</span><?php
}
?>
</td></tr>
<?php
if (!$isAvailWP) {
?>
<tr><th scope="row" style="text-align:right; width:150px; padding-top: 5px; padding-right:10px;"></th> <td><b>Setup your WP Blog Account to AutoPost to WP Blogs</b>
<?php
} elseif ($post->post_status != "puZblish") {
?>
<tr id="altFormat1" style=""><th scope="row" style="vertical-align:top; padding-top:6px; text-align:right; width:60px; padding-right:10px;"><?php
_e('Title Format:', 'nxs_snap');
?>
</th>
<td><input value="<?php
echo $wpMsgTFormat;
?>
" type="text" name="wp[<?php
echo $ii;
?>
][SNAPformatT]" style="width:60%;max-width: 610px;" onfocus="jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apWPTMsgFrmt<?php
echo $ii;
?>
');"/><?php
nxs_doShowHint("apWPTMsgFrmt" . $ii);
?>
</td></tr>
<tr id="altFormat1" style=""><th scope="row" style="vertical-align:top; padding-top:6px; text-align:right; width:60px; padding-right:10px;"><?php
_e('Text Format:', 'nxs_snap');
?>
</th>
<td>
<textarea cols="150" rows="1" id="wp<?php
echo $ii;
?>
SNAPformat" name="wp[<?php
echo $ii;
?>
][SNAPformat]" style="width:60%;max-width: 610px;" onfocus="jQuery('#wp<?php
echo $ii;
?>
SNAPformat').attr('rows', 4); jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apWPMsgFrmt<?php
echo $ii;
?>
');"><?php
echo $wpMsgFormat;
?>
</textarea>
<?php
nxs_doShowHint("apWPMsgFrmt" . $ii);
?>
</td></tr>
<?php
}
}
}
示例10: showNTSettings
//.........这里部分代码省略.........
echo $ii;
?>
][attchImg]" <?php
if ((int) $options['attchImg'] == 1) {
echo "checked";
}
?>
/> <strong><?php
_e('Attach Image to Twitter Post', 'nxs_snap');
?>
</strong></p>
<br/>
<strong id="altFormatText"><?php
_e('Message text Format', 'nxs_snap');
?>
:</strong><br/>
<textarea cols="150" rows="3" id="tw<?php
echo $ii;
?>
SNAPformat" name="tw[<?php
echo $ii;
?>
][apTWMsgFrmt]" style="width:51%;max-width: 610px;" onfocus="jQuery('#tw<?php
echo $ii;
?>
SNAPformat').attr('rows', 6); mxs_showFrmtInfo('apTWMsgFrmt<?php
echo $ii;
?>
');"><?php
_e(apply_filters('format_to_edit', htmlentities($options['twMsgFormat'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
?>
</textarea> <?php
nxs_doShowHint("apTWMsgFrmt" . $ii);
?>
<?php
nxs_doShowHint("apTWMsgFrmt" . $ii, '<br/><br/><b>%TAGS% and %CATS% will be posted as hashtags. <br/>Please remember that Twitter takes only 140 characters.</b>');
?>
<?php
if ($options['twAccTokenSec'] != '') {
?>
<br/><br/><b><?php
_e('Test your settings', 'nxs_snap');
?>
:</b> <?php
if (!isset($options['twOK']) || $options['twOK'] != '1') {
?>
<div class="blnkg">=== Submit Test Post to Complete ===></div> <?php
}
?>
<a href="#" class="NXSButton" onclick="testPost('TW', '<?php
echo $ii;
?>
'); return false;"><?php
printf(__('Submit Test Post to %s', 'nxs_snap'), $nType);
?>
</a> <br/>
<?php
}
示例11: showEdPostNTSettings
//.........这里部分代码省略.........
<?php
if (is_array($pMeta) && is_array($pMeta[$ii]) && isset($pMeta[$ii]['pgID'])) {
?>
<span id="pstdLI<?php
echo $ii;
?>
" style="float: right;padding-top: 4px; padding-right: 10px;">
<a style="font-size: 10px;" href="<?php
if ($options['uPage'] != '') {
echo $options['uPage'];
} else {
echo $pMeta[$ii]['pgID'];
}
?>
" target="_blank"><?php
$nType = "LinkedIn";
printf(__('Posted on', 'nxs_snap'), $nType);
?>
<?php
echo isset($pMeta[$ii]['pDate']) && $pMeta[$ii]['pDate'] != '' ? " (" . $pMeta[$ii]['pDate'] . ")" : "";
?>
</a>
</span><?php
}
?>
</td></tr>
<?php
if (!$isAvailLI) {
?>
<tr><th scope="row" style="text-align:right; width:150px; padding-top: 5px; padding-right:10px;"></th> <td><b>Setup your LinkedIn Account to AutoPost to LinkedIn</b>
<?php
} elseif ($post->post_status != "puZblish") {
?>
<tr><th scope="row" style="text-align:right; width:150px; vertical-align:top; padding-top: 5px; padding-right:10px;">
<input value="0" type="hidden" name="li[<?php
echo $ii;
?>
][AttachPost]"/>
<input value="1" id="SNAP_AttachLI" onchange="doShowHideAltFormatX();" type="checkbox" name="li[<?php
echo $ii;
?>
][AttachPost]" <?php
if ((int) $isAttachLI == 1) {
echo "checked";
}
?>
/> </th><td><strong>Publish Post to LinkedIn as Attachment</strong></td> </tr>
<tr id="altFormat1" style=""><th scope="row" style="vertical-align:top; padding-top: 6px; text-align:right; width:60px; padding-right:10px;"><?php
_e('Message Format:', 'nxs_snap');
?>
</th>
<td>
<textarea cols="150" rows="1" id="li<?php
echo $ii;
?>
SNAPformat" name="li[<?php
echo $ii;
?>
][SNAPformat]" style="width:60%;max-width: 610px;" onfocus="jQuery('#li<?php
echo $ii;
?>
SNAPformat').attr('rows', 4); jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apLIMsgFrmt<?php
echo $ii;
?>
');"><?php
echo $liMsgFormat;
?>
</textarea>
<?php
nxs_doShowHint("apLIMsgFrmt" . $ii);
?>
</td></tr>
<tr id="altFormat1" style=""><th scope="row" style="vertical-align:top; padding-top: 6px; text-align:right; width:60px; padding-right:10px;"><?php
_e('Title Format (Groups Only):', 'nxs_snap');
?>
</th>
<td><input value="<?php
echo $liMsgFormatT;
?>
" type="text" name="li[<?php
echo $ii;
?>
][SNAPformatT]" style="width:60%;max-width: 610px;" onfocus="jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apLIMsgFrmtT<?php
echo $ii;
?>
');"/><?php
nxs_doShowHint("apLIMsgFrmtT" . $ii, '', '58');
?>
</td></tr>
<?php
}
}
}
示例12: showNTSettings
//.........这里部分代码省略.........
echo $ii;
?>
HintInfo" onclick="mxs_showHideFrmtInfo('apTextFormat<?php
echo $ii;
?>
'); return false;"><?php
_e('Show format info', 'nxs_snap');
?>
</a>)
</div>
<textarea cols="150" rows="3" id="ap<?php
echo $ii;
?>
SNAPformat" name="ap[<?php
echo $ii;
?>
][apTextFormat]" style="width:51%;max-width: 650px;" onfocus="jQuery('#ap<?php
echo $ii;
?>
SNAPformat').attr('rows', 6); mxs_showFrmtInfo('apAPMsgFrmt<?php
echo $ii;
?>
');"><?php
if ($isNew) {
_e("New post (%TITLE%) has been published on %SITENAME% - %URL%", 'nxs_snap');
} else {
_e(apply_filters('format_to_edit', htmlentities($options['apTextFormat'], ENT_COMPAT, "UTF-8")), 'nxs_snap');
}
?>
</textarea>
<?php
nxs_doShowHint("apTextFormat" . $ii);
?>
</div>
<p style="margin: 0px;"><input value="1" id="apAPAttch" type="checkbox" name="ap[<?php
echo $ii;
?>
][attchImg]" <?php
if ((int) $options['attchImg'] == 1) {
echo "checked";
}
?>
/> <strong><?php
_e('Attach Image to App.net Post', 'nxs_snap');
?>
</strong></p>
<br/><br/>
<?php
if ($options['appID'] == '') {
?>
<b><?php
_e('Authorize Your App.Net Account', 'nxs_snap');
?>
</b> <?php
_e('Please click "Update Settings" to be able to Authorize your account.', 'nxs_snap');
?>
<?php
} else {
if (isset($options['appAppUserID']) && $options['appAppUserID'] > 0) {
?>
<?php
_e('Your App.Net Account has been authorized.', 'nxs_snap');
?>
示例13: showEdPostNTSettings
//.........这里部分代码省略.........
_e('Repost to StumbleUpon', 'nxs_snap');
?>
" />
<?php
wp_nonce_field('rePostToSU', 'rePostToSU_wpnonce');
}
?>
<?php
if (is_array($pMeta) && is_array($pMeta[$ii]) && isset($pMeta[$ii]['pgID'])) {
?>
<span id="pstdSU<?php
echo $ii;
?>
" style="float: right;padding-top: 4px; padding-right: 10px;">
<a style="font-size: 10px;" href="http://www.stumbleupon.com/content/<?php
echo $pMeta[$ii]['pgID'];
?>
" target="_blank"><?php
$nType = "Stumbleupon";
printf(__('Posted on', 'nxs_snap'), $nType);
?>
<?php
echo isset($pMeta[$ii]['pDate']) && $pMeta[$ii]['pDate'] != '' ? " (" . $pMeta[$ii]['pDate'] . ")" : "";
?>
</a>
</span><?php
}
?>
</td></tr>
<?php
if (!$isAvailSU) {
?>
<tr><th scope="row" style="text-align:right; width:150px; padding-top: 5px; padding-right:10px;"></th> <td><b>Setup your StumbleUpon Account to AutoPost to StumbleUpon</b>
<?php
} elseif ($post->post_status != "puZblish") {
?>
<tr id="altFormat1" style=""><th scope="row" style="text-align:right; width:60px; padding-right:10px;">Category:</th>
<td><div id="altFormat" style="">
<select name="su[<?php
echo $ii;
?>
][apSUCat]" id="apSUCat<?php
echo $ii;
?>
"><option value="error" selected="selected" disabled="">Select default StumbleUpon Category</option>
<?php
$suCats = $this->suCats();
if (isset($ntOpt['suCat']) && $ntOpt['suCat'] != '') {
$suCats = str_replace('"' . $ntOpt['suCat'] . '"', '"' . $ntOpt['suCat'] . '" selected="selected"', $suCats);
}
echo $suCats;
?>
</select> <input value="1" id="sunsfw<?php
echo $ii;
?>
" type="checkbox" name="su[<?php
echo $ii;
?>
][nsfw]" <?php
if ((int) $options['nsfw'] == 1) {
echo "checked";
}
?>
/> <strong>NSFW</strong>
</div> </td></tr>
<tr id="altFormat1" style=""><th scope="row" style="vertical-align:top; padding-top:6px; text-align:right; width:60px; padding-right:10px;"><?php
_e('Text Format:', 'nxs_snap');
?>
</th>
<td>
<textarea cols="150" rows="1" id="su<?php
echo $ii;
?>
SNAPformat" name="su[<?php
echo $ii;
?>
][SNAPformat]" style="width:60%;max-width: 610px;" onfocus="jQuery('#su<?php
echo $ii;
?>
SNAPformat').attr('rows', 4); jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apSUMsgFrmt<?php
echo $ii;
?>
');"><?php
echo $suMsgFormat;
?>
</textarea>
<?php
nxs_doShowHint("apSUMsgFrmt" . $ii);
?>
</td></tr>
<?php
}
}
}
示例14: showEdPostNTSettings
//.........这里部分代码省略.........
}
?>
/>
</th>
<td> <?php
_e('Include in "Auto-Reposting" to this network.', 'nxs_snap');
?>
</td></tr> <?php
}
?>
<tr id="altFormat1" style=""><th scope="row" valign="top" class="nxsTHRow"><?php
_e('Message Format:', 'nxs_snap');
?>
</th>
<td>
<textarea cols="150" rows="1" id="vk<?php
echo $ii;
?>
SNAPformat" name="vk[<?php
echo $ii;
?>
][SNAPformat]" style="width:60%;max-width: 610px;" onfocus="jQuery('#vk<?php
echo $ii;
?>
SNAPformat').attr('rows', 4); jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apVKTMsgFrmt<?php
echo $ii;
?>
');"><?php
echo $msgFrmt;
?>
</textarea>
<?php
nxs_doShowHint("apVKTMsgFrmt" . $ii);
?>
<br/><div ><input value="0" type="hidden" name="vk[<?php
echo $ii;
?>
][addBackLink]" />
<input value="1" type="checkbox" name="vk[<?php
echo $ii;
?>
][addBackLink]" <?php
if (isset($ntOpt['addBackLink']) && (int) $ntOpt['addBackLink'] == 1) {
echo "checked";
}
?>
/> <?php
_e('Add backlink to the post', 'nxs_snap');
?>
</div>
</td></tr>
<tr><th scope="row" style="text-align:right; width:150px; vertical-align:top; padding-top: 0px; padding-right:10px;"> <?php
_e('Post Type:', 'nxs_snap');
?>
<br/>
(<a id="showShAtt" style="font-weight: normal" onmouseout="hidePopShAtt('<?php
echo $ii;
?>
VKX');" onmouseover="showPopShAtt('<?php
echo $ii;
?>
VKX', event);" onclick="return false;" class="underdash" href="http://www.nextscripts.com/blog/"><?php
_e('What\'s the difference?', 'nxs_snap');
?>
</a>)</th><td>
示例15: showEdPostNTSettings
//.........这里部分代码省略.........
}
?>
</td></tr>
<?php
if (!$isAvailVB) {
?>
<tr><th scope="row" style="text-align:right; width:150px; padding-top: 5px; padding-right:10px;"></th> <td><b>Setup your vBulletin Account to AutoPost to vBulletin</b>
<?php
} else {
if ($post->post_status != "publish" && function_exists('nxs_doSMAS5')) {
$ntOpt['postTime'] = get_post_time('U', false, $post_id);
nxs_doSMAS5($nt, $ii, $ntOpt);
}
?>
<?php
if ($ntOpt['rpstOn'] == '1') {
?>
<tr id="altFormat1" style=""><th scope="row" class="nxsTHRow">
<input value="0" type="hidden" name="<?php
echo $nt;
?>
[<?php
echo $ii;
?>
][rpstPostIncl]"/><input value="nxsi<?php
echo $ii;
?>
vb" type="checkbox" name="<?php
echo $nt;
?>
[<?php
echo $ii;
?>
][rpstPostIncl]" <?php
if (!empty($ntOpt['rpstPostIncl'])) {
echo "checked";
}
?>
/>
</th>
<td> <?php
_e('Include in "Auto-Reposting" to this network.', 'social-networks-auto-poster-facebook-twitter-g');
?>
</td></tr> <?php
}
?>
<tr id="altFormat1" style=""><th scope="row" class="nxsTHRow"><?php
_e('Text Format:', 'social-networks-auto-poster-facebook-twitter-g');
?>
</th>
<td><input value="<?php
echo $vbMsgTFormat;
?>
" type="text" name="vb[<?php
echo $ii;
?>
][SNAPformatT]" style="width:60%;max-width: 610px;" onfocus="jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apVBMsgTFrmt<?php
echo $ii;
?>
');"/><?php
nxs_doShowHint("apVBMsgTFrmt" . $ii);
?>
</td></tr>
<tr id="altFormat1" style=""><th scope="row" class="nxsTHRow"><?php
_e('Text Format:', 'social-networks-auto-poster-facebook-twitter-g');
?>
</th>
<td>
<textarea cols="150" rows="1" id="vb<?php
echo $ii;
?>
SNAPformat" name="vb[<?php
echo $ii;
?>
][SNAPformat]" style="width:60%;max-width: 610px;" onfocus="jQuery('#vb<?php
echo $ii;
?>
SNAPformat').attr('rows', 4); jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apVBMsgFrmt<?php
echo $ii;
?>
');"><?php
echo $vbMsgFormat;
?>
</textarea>
<?php
nxs_doShowHint("apVBMsgFrmt" . $ii);
?>
</td></tr>
<?php
}
}
}