예제 #1
0
                            <div>
                                <?php 
_e('Preview', 'postie');
?>
                            </div>
                            <div id='imageTemplatePreview'></div>
                            <textarea onchange='changeStyle("imageTemplatePreview", "postie-settings-imagetemplate", "imagetemplateselect",
                                                    "postie-settings-selected_imagetemplate", "smiling.jpg", true);' cols='70' rows='7' id='postie-settings-imagetemplate' name='postie-settings[imagetemplate]'>
                                      <?php 
echo esc_attr($imagetemplate);
?>
                            </textarea>
                        </td>
                    </tr> 
                    <?php 
echo BuildBooleanSelect("Use custom image field", "postie-settings[custom_image_field]", $custom_image_field, "When true, images will not appear in the post. Instead the url to the image will be input into a custom field named 'image'.");
?>
            
                </table> 
            </div> 

            <!-- 
            ##########   VIDEO AND AUDIO OPTIONS ###################
            -->

            <div id="simpleTabs-content-5" class="simpleTabs-content">
                <table class='form-table'>

                    <tr>
                        <th scope='row'><?php 
_e('Video template 1', 'postie');
예제 #2
0
			 </select>
	     &nbsp;&nbsp;
			 <?php 
_e('Preview', 'postie');
?>
			 <span id='imageTemplatePreview' alt='preview'></span>
   <textarea onchange='changeStyle("imageTemplatePreview", "IMAGETEMPLATE",
   "IMAGETEMPLATESELECT", "SELECTED_IMAGETEMPLATE", "smiling.jpg", true);' cols='70' rows='7' id="IMAGETEMPLATE"
   name="IMAGETEMPLATE"><?php 
echo attribute_escape($config['IMAGETEMPLATE']);
?>
</textarea>
			 </td>
            </tr> 
            <?php 
echo BuildBooleanSelect("Use custom image field", "CUSTOM_IMAGE_FIELD", $config["CUSTOM_IMAGE_FIELD"], "When true, images will not appear in the post. Instead the url to the image will be input into a custom field named 'image'.");
?>
            
            </table> 
   </div> 

<!-- 
##########   VIDEO AND AUDIO OPTIONS ###################
-->

	<div id="simpleTabs-content-5" class="simpleTabs-content">
<table class='form-table'>

            <tr><th scope='row'><?php 
_e('Video template 1', 'postie');
?>
예제 #3
0
                <?php 
_e("Recommended");
?>
: <code>Mobile</code>
                <br />
                </td> 
            </tr> 
    <tr><td colspan=2> 
        <fieldset class="options"> 
        <legend><?php 
_e('3GP');
?>
</legend> 
            <table width="100%" cellspacing="2" cellpadding="5" class="editform"> 
            <?php 
echo BuildBooleanSelect("Embed 3GP videos as QuickTime", "3GP_QT", $config["3GP_QT"], "This controls if the video is just a link or embeded in the page using QuickTime");
?>
                <tr>
                    <th scope="row"><?php 
_e('Location of ffmpeg:');
?>
 </th>
                    <td><input name="3GP_FFMPEG" type="text" id="3GP_FFMPEG" value="<?php 
echo $config['3GP_FFMPEG'];
?>
" size="30" />
                    <br /><?php 
_e("Recommended");
?>
: <code><?php 
_e("only needed if you are on a Linux server and use 3gp video,and don't embed the video. This allows postie to make thumbnail of the very first frame");
예제 #4
0
                                <?php 
_e('Preview', 'postie');
?>
                            </div>
                            <div id='generalTemplatePreview'></div>
                            <textarea onchange="changeStyle('generalTemplatePreview', 'postie-settings-generaltemplate', 'generaltemplateselect', 'postie-settings-selected_generaltemplate', 'interesting_document.doc', true);" 
                                      cols='70' rows='7' 
                                      id='postie-settings-generaltemplate'
                                      name='postie-settings[generaltemplate]'><?php 
echo esc_attr($generaltemplate);
?>
</textarea>
                        </td>
                    </tr>
                    <?php 
echo BuildBooleanSelect(__("Use custom image field for attachments", "postie"), "postie-settings[custom_image_field]", $custom_image_field, __("When set to 'Yes' no attachments will appear in the post (including images, video &amp; sound files). Instead the url to the attachment will be put into a custom field named 'image'. Your theme will need logic to display these attachments", "postie"));
?>
            
                </table> 
            </div>
            <div id="simpleTabs-content-7" class="simpleTabs-content">
                <div style="">
                    <h3>Postie Support</h3>
                    <p>Please use the Postie <a href="https://wordpress.org/support/plugin/postie" target="_blank">support forums</a></p>
                    <h3>More Postie info</h3>
                    <p>Visit <a href="http://postieplugin.com/" target="_blank">PostiePlugin.com</a> for lots of information and assistance 
                        including information for developers wanting to leverage/extend Postie.</p>
                </div>
                <div>
                    <h3>Postie AddOns</h3>
                    <p>There are a number of different AddOns available to extend Postie's functionality.