当前位置: 首页>>代码示例>>PHP>>正文


PHP nxs_showImgToUseDlg函数代码示例

本文整理汇总了PHP中nxs_showImgToUseDlg函数的典型用法代码示例。如果您正苦于以下问题:PHP nxs_showImgToUseDlg函数的具体用法?PHP nxs_showImgToUseDlg怎么用?PHP nxs_showImgToUseDlg使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了nxs_showImgToUseDlg函数的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: 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 
                }
            }
        }
开发者ID:jguzmanf88,项目名称:social-networks-auto-poster-facebook-twitter-g,代码行数:101,代码来源:fl.php

示例2: showEdPostNTSettings


//.........这里部分代码省略.........
                    ?>
  - <i><?php 
                    _e('just text message', 'social-networks-auto-poster-facebook-twitter-g');
                    ?>
</i><br/>       
        <span class="nxs_li_nxapi_<?php 
                    echo $ii;
                    ?>
" style="display: <?php 
                    echo !empty($ntOpt['apiToUse']) && $ntOpt['apiToUse'] == 'nx' ? "block" : "none";
                    ?>
;">
        <input type="radio" name="li[<?php 
                    echo $ii;
                    ?>
][postType]" value="I" <?php 
                    if ($ntOpt['postType'] == 'I') {
                        echo 'checked="checked"';
                    }
                    ?>
 onchange="jQuery('#altFormatIMG<?php 
                    echo $nt . $ii;
                    ?>
').show();" /> <?php 
                    _e('Post to LinkedIn as "Image post"', 'social-networks-auto-poster-facebook-twitter-g');
                    ?>
 - <i><?php 
                    _e('big image with text message', 'social-networks-auto-poster-facebook-twitter-g');
                    ?>
</i><br/> </span>            
        <input type="radio" name="li[<?php 
                    echo $ii;
                    ?>
][postType]" value="A" <?php 
                    if (!isset($ntOpt['postType']) || $ntOpt['postType'] == '' || $ntOpt['postType'] == 'A') {
                        echo 'checked="checked"';
                    }
                    ?>
 onchange="jQuery('#altFormatIMG<?php 
                    echo $nt . $ii;
                    ?>
').hide();" /><?php 
                    _e('Text Post with "attached" blogpost', 'social-networks-auto-poster-facebook-twitter-g');
                    ?>
        
     </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:', 'social-networks-auto-poster-facebook-twitter-g');
                    ?>
</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):', 'social-networks-auto-poster-facebook-twitter-g');
                    ?>
</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 
                    /* ## Select Image & URL ## */
                    nxs_showImgToUseDlg($nt, $ii, $imgToUse);
                    nxs_showURLToUseDlg($nt, $ii, $urlToUse);
                    ?>

                <?php 
                }
            }
        }
开发者ID:Florian-Eschenbacher,项目名称:schneeeule,代码行数:101,代码来源:li.php

示例3: showEdPostNTSettings


//.........这里部分代码省略.........
][apTRPostType]" value="T" <?php 
                    if ($ntOpt['trPostType'] != 'I') {
                        echo 'checked="checked"';
                    }
                    ?>
  /> <br/>                
                </th>
                <td><b><?php 
                    _e('Text Post. Title Format:', 'nxs_snap');
                    ?>
</b>&nbsp;<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>&nbsp;&nbsp;&nbsp;&nbsp;
                <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);
                    ?>
 &nbsp;&nbsp;&nbsp;&nbsp;
                <input type="radio" name="tr[<?php 
                    echo $ii;
                    ?>
][apTRPostType]" value="U" <?php 
                    if ($ntOpt['trPostType'] == 'U') {
                        echo 'checked="checked"';
                    }
                    ?>
  /> <b>Audio Post</b> <?php 
                    nxs_doShowHint("apTRTMsgFrmt" . $ii);
                    ?>
 
                </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="tr<?php 
                    echo $ii;
                    ?>
SNAPformat" name="tr[<?php 
                    echo $ii;
                    ?>
][SNAPformat]"  style="width:60%;max-width: 610px;" onfocus="jQuery('#tr<?php 
                    echo $ii;
                    ?>
SNAPformat').attr('rows', 4); jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apTRMsgFrmt<?php 
                    echo $ii;
                    ?>
');"><?php 
                    echo $trMsgFormat;
                    ?>
</textarea>
                <?php 
                    nxs_doShowHint("apTRMsgFrmt" . $ii);
                    ?>
</td></tr>
                
                <?php 
                    /* ## Select Image & URL ## */
                    nxs_showImgToUseDlg($nt, $ii, $imgToUse);
                    nxs_showURLToUseDlg($nt, $ii, $urlToUse);
                    ?>
  
                               
   <?php 
                }
            }
        }
开发者ID:brettex,项目名称:pspark,代码行数:101,代码来源:tr.php

示例4: showEdPostNTSettings


//.........这里部分代码省略.........
              <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>     
          <input type="radio" name="vk[<?php 
                    echo $ii;
                    ?>
][PostType]" value="T" <?php 
                    if ($postType == 'T') {
                        echo 'checked="checked"';
                    }
                    ?>
 /> <?php 
                    _e('Text Post', 'nxs_snap');
                    ?>
 - <i><?php 
                    _e('just text message', 'nxs_snap');
                    ?>
</i><br/>       
          <input type="radio" name="vk[<?php 
                    echo $ii;
                    ?>
][PostType]" value="I" <?php 
                    if ($postType == 'I') {
                        echo 'checked="checked"';
                    }
                    ?>
 /> <?php 
                    _e('Image Post', 'nxs_snap');
                    ?>
 - <i><?php 
                    _e('big image with text message', 'nxs_snap');
                    ?>
</i>       
          <?php 
                    if (function_exists("nxs_doPostToVK")) {
                        ?>
 <br/> 
            <input type="radio" name="vk[<?php 
                        echo $ii;
                        ?>
][PostType]" value="A" <?php 
                        if (!isset($postType) || $postType == '' || $postType == 'A') {
                            echo 'checked="checked"';
                        }
                        ?>
 /> <?php 
                        _e('Text Post with "attached" blogpost', 'nxs_snap');
                        ?>
          <?php 
                    }
                    ?>
<br/><div class="popShAtt" id="popShAtt<?php 
                    echo $ii;
                    ?>
VKX"><h3>vKontakte(VK) <?php 
                    _e('Post Types', 'nxs_snap');
                    ?>
</h3><img src="<?php 
                    echo $nxs_plurl;
                    ?>
img/vkPostTypesDiff6.png" width="600" height="257" alt="<?php 
                    _e('Post Types', 'nxs_snap');
                    ?>
"/></div>
        </td></tr>
        
        <?php 
                    /* ## Select Image & URL ## */
                    nxs_showImgToUseDlg($nt, $ii, $imgToUse);
                    nxs_showURLToUseDlg($nt, $ii, $urlToUse);
                    ?>
  
        <?php 
                }
            }
        }
开发者ID:brettex,项目名称:pspark,代码行数:101,代码来源:vk.php

示例5: showEdPostNTSettings


//.........这里部分代码省略.........
                        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;
                        ?>
pn" 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><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 (!empty($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" class="nxsTHRow"><?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 
                    /* ## Select Image & URL ## */
                    nxs_showImgToUseDlg($nt, $ii, $imgToUse);
                    nxs_showURLToUseDlg($nt, $ii, $urlToUse);
                    ?>
               
                <?php 
                }
            }
        }
开发者ID:voquanghoa,项目名称:WebPhim,代码行数:101,代码来源:pn.php

示例6: showEdPostNTSettings


//.........这里部分代码省略.........
 ..                                  
               <input value="1"  id="apFBAttch<?php 
                    echo $ii;
                    ?>
" onchange="doSwitchShAtt(1,<?php 
                    echo $ii;
                    ?>
);" type="radio" name="fb[<?php 
                    echo $ii;
                    ?>
][AttachPost]"  <?php 
                    if ((int) $isAttachFB == 1) {
                        echo "checked";
                    }
                    ?>
 /> 
              <?php 
                    _e('Attach your blogpost', 'nxs_snap');
                    ?>
          
</div> 
<div class="popShAtt" id="popShAtt<?php 
                    echo $ii;
                    ?>
"><h3><?php 
                    _e('Two ways of attaching post on Facebook', 'nxs_snap');
                    ?>
</h3> <img src="<?php 
                    echo $nxs_plurl;
                    ?>
img/fb2wops.png" width="600" height="257" alt="<?php 
                    _e('Two ways of attaching post on Facebook', 'nxs_snap');
                    ?>
"/></div>
<div class="popShAtt" id="popShAtt<?php 
                    echo $ii;
                    ?>
X"><h3><?php 
                    _e('Facebook Post Types', 'nxs_snap');
                    ?>
</h3><img src="<?php 
                    echo $nxs_plurl;
                    ?>
img/fbPostTypesDiff6.png" width="600" height="398" alt="<?php 
                    _e('Facebook 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="2" id="fb<?php 
                        echo $ii;
                        ?>
SNAPformat" name="fb[<?php 
                        echo $ii;
                        ?>
][SNAPformat]"  style="width:60%;max-width: 610px;" onfocus="jQuery('#fb<?php 
                        echo $ii;
                        ?>
SNAPformat').attr('rows', 4); jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apFBTMsgFrmt<?php 
                        echo $ii;
                        ?>
');"><?php 
                        echo $fbMsgFormat;
                        ?>
</textarea>
                <?php 
                    } else {
                        ?>
                <input value="<?php 
                        echo $fbMsgFormat;
                        ?>
" type="text" name="fb[<?php 
                        echo $ii;
                        ?>
][SNAPformat]"  style="width:60%;max-width: 610px;" onfocus="jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apFBTMsgFrmt<?php 
                        echo $ii;
                        ?>
');"/><?php 
                        nxs_doShowHint("apFBTMsgFrmt" . $ii, '', '58');
                        ?>
                <?php 
                    }
                    ?>
                </td></tr>
                <?php 
                    /* ## Select Image & URL ## */
                    nxs_showImgToUseDlg($nt, $ii, $imgToUse);
                    nxs_showURLToUseDlg($nt, $ii, $urlToUse);
                }
            }
        }
开发者ID:voquanghoa,项目名称:WebPhim,代码行数:101,代码来源:fb.php

示例7: showEdPostNTSettings


//.........这里部分代码省略.........
" 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 
                } 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="tw[<?php 
                        echo $ii;
                        ?>
][rpstPostIncl]"/><input value="nxsi<?php 
                        echo $ii;
                        ?>
tw" type="checkbox" name="tw[<?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" class="nxsTHRow"><?php 
                    _e('Message Format:', 'nxs_snap');
                    ?>
</th>
                <td><textarea cols="150" rows="2" id="tw<?php 
                    echo $ii;
                    ?>
SNAPformat" name="tw[<?php 
                    echo $ii;
                    ?>
][SNAPformat]"  style="width:60%;max-width: 610px;" onfocus="jQuery('#tw<?php 
                    echo $ii;
                    ?>
SNAPformat').attr('rows', 4); jQuery('.nxs_FRMTHint').hide();mxs_showFrmtInfo('apTWMsgFrmt<?php 
                    echo $ii;
                    ?>
');"><?php 
                    echo $twMsgFormat;
                    ?>
</textarea>                
                </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 
                    /* ## Select Image & URL ## */
                    nxs_showImgToUseDlg($nt, $ii, $imgToUse);
                    ?>
                 
       <?php 
                }
            }
        }
开发者ID:jguzmanf88,项目名称:social-networks-auto-poster-facebook-twitter-g,代码行数:101,代码来源:tw.php

示例8: showEdPostNTSettings


//.........这里部分代码省略.........
                <?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 
                } 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;
                        ?>
wp" 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('Title Format:', 'social-networks-auto-poster-facebook-twitter-g');
                    ?>
</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" class="nxsTHRow"><?php 
                    _e('Text Format:', 'social-networks-auto-poster-facebook-twitter-g');
                    ?>
</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 
                    /* ## Select Image & URL ## */
                    nxs_showImgToUseDlg($nt, $ii, $imgToUse);
                    ?>
  
  <?php 
                }
            }
        }
开发者ID:Florian-Eschenbacher,项目名称:schneeeule,代码行数:101,代码来源:wp.php

示例9: showEdPostNTSettings


//.........这里部分代码省略.........
                    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>
         <?php 
                    if ($ntOpt['gpCommID'] != '') {
                        ?>
     <tr><th scope="row" style="text-align:right; width:150px; padding-top: 5px; padding-right:10px;">Community Category</th>
                <td><select name="gp[<?php 
                        echo $ii;
                        ?>
][apGPCCat]" id="apGPCCat">
            <?php 
                        if (!empty($ntOpt['gpCCatsList'])) {
                            $gCats = $ntOpt['gpCCatsList'];
                            if (base64_encode(base64_decode($gCats)) === $gCats) {
                                $gCats = base64_decode($gCats);
                            }
                            if ($ntOpt['gpCCat'] != '') {
                                $gCats = str_replace($ntOpt['gpCCat'] . '"', $ntOpt['gpCCat'] . '" selected="selected"', $gCats);
                            }
                            echo $gCats;
                        } else {
                            ?>
              <option value="0">None(Please go to settings and retreive)</option>
            <?php 
                        }
                        ?>
            </select></td>
                </tr> 
                       <?php 
                    }
                    ?>
                
               <?php 
                    /* ## Message Format ## */
                    ?>
         
                <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 
                    /* ## Select Image & URL ## */
                    nxs_showImgToUseDlg($nt, $ii, $imgToUse, !isset($gpPostType) || $gpPostType == '' || $gpPostType == 'A');
                    nxs_showURLToUseDlg($nt, $ii, $urlToUse);
                    ?>
           <?php 
                }
            }
        }
开发者ID:jguzmanf88,项目名称:social-networks-auto-poster-facebook-twitter-g,代码行数:101,代码来源:gp.php


注:本文中的nxs_showImgToUseDlg函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。