예제 #1
0
echo BuildBooleanSelect("Decode Quoted Printable Data", "postie-settings[message_dequote]", $message_dequote);
?>
                    <?php 
echo BuildTextArea("Supported MIME Types", "postie-settings[supported_file_types]", $supported_file_types, "Add just the type (not the subtype). Text, Video, Audio, Image and Multipart are always supported. Put each type on a single line.");
?>
                    <?php 
echo BuildTextArea("Banned File Names", "postie-settings[banned_files_list]", $banned_files_list, "Put each file name on a single line.Files matching this list will never be posted to your blog. You can use wildcards such as *.xls, or *.* for all files");
?>
                    <?php 
echo BuildBooleanSelect("Drop The Signature From Mail", "postie-settings[drop_signature]", $drop_signature);
?>
                    <?php 
echo BuildTextArea("Signature Patterns", "postie-settings[sig_pattern_list]", $sig_pattern_list, "Put each pattern on a separate line. Patterns are <a href='http://regex101.com/' target='_blank'>regular expressions</a>.");
?>
                    <?php 
echo BuildTextArea("Allowed SMTP servers", "postie-settings[smtp]", $smtp, "Only allow messages which have been sent throught the following smtp servers. Put each server on a separate line. Leave blank to not check smtp servers.");
?>
                </table> 
            </div>
            <div id="simpleTabs-content-4" class="simpleTabs-content">
                <table class='form-table'>

                    <?php 
echo BuildBooleanSelect("Use First Image as Featured Image", "postie-settings[featured_image]", $featured_image, "If any images are attached, the first one will be the featured image for the post");
echo BuildBooleanSelect("Automatically insert image gallery", "postie-settings[auto_gallery]", $auto_gallery, "If any images are attached, they will automatically be inserted as a gallery");
echo BuildBooleanSelect("Post Images At End", "postie-settings[images_append]", $images_append, "No means they will be put before the text of the message.");
echo BuildBooleanSelect("Start Image Count At 0", "postie-settings[start_image_count_at_zero]", $start_image_count_at_zero);
echo BuildBooleanSelect("Generate Thumbnails", "postie-settings[generate_thumbnails]", $generate_thumbnails, "Some hosts crash during thumbnail generation. Set this to 'No' if you have this issue.");
?>
                    <tr> 
                        <th width="33%" valign="top" scope="row"><?php 
예제 #2
0
echo BuildBooleanSelect("Decode Quoted Printable Data", "MESSAGE_DEQUOTE", $config["MESSAGE_DEQUOTE"]);
?>
            <?php 
echo BuildTextArea("Supported File Types", "SUPPORTED_FILE_TYPES", $config["SUPPORTED_FILE_TYPES"], "Put each type on a single line.");
?>
            <?php 
echo BuildTextArea("Banned File Names", "BANNED_FILES_LIST", $config["BANNED_FILES_LIST"], "Put each file name on a single line.Files matching this list will never be posted to your blog. You can use wildcards such as *.xls, or *.* for all files");
?>
            <?php 
echo BuildBooleanSelect("Drop The Signature From Mail", "DROP_SIGNATURE", $config["DROP_SIGNATURE"]);
?>
            <?php 
echo BuildTextArea("Signature Patterns", "SIG_PATTERN_LIST", $config["SIG_PATTERN_LIST"], "Put each pattern on a separate line and make sure to escape any special characters.");
?>
            <?php 
echo BuildTextArea("Allowed SMTP\n            servers", "SMTP", $config["SMTP"], "Only allow messages which have been sent throught the following smtp servers. Put each server on a separate line. Leave blank to not check stmp servers.");
?>
            </table> 
            </div> <!-- advanced options -->
            </div>
	<div id="simpleTabs-content-4" class="simpleTabs-content">
  <table class='form-table'>


            <?php 
echo BuildBooleanSelect("Post Images At\n            End", "IMAGES_APPEND", $config["IMAGES_APPEND"], "No means they will be put before the text of the message.");
?>
     
            <?php 
echo BuildBooleanSelect("Start Image Count At 0", "START_IMAGE_COUNT_AT_ZERO", $config["START_IMAGE_COUNT_AT_ZERO"]);
?>
예제 #3
0
                <input name="MESSAGE_END" type="text" id="MESSAGE_END" value="<?php 
echo $config["MESSAGE_END"];
?>
" size="50" /><br />
                <?php 
_e("Recommended");
?>
: <code>:end</code>
                <br />
                </td> 
            </tr> 
            <?php 
echo BuildBooleanSelect("Drop The Signature From Mail", "DROP_SIGNATURE", $config["DROP_SIGNATURE"]);
?>
            <?php 
echo BuildTextArea("Signature Patterns", "SIG_PATTERN_LIST", $config["SIG_PATTERN_LIST"], "Put each pattern on a seperate line and make sure to escape any special characters.");
?>
            </table> 
        </fieldset> 
    </td> 
    </tr> 


    <tr><td colspan=2> 
        <fieldset class="options"> 
        <legend><?php 
_e('Image Settings');
?>
</legend> 
            <table width="100%" cellspacing="2" cellpadding="5" class="editform"> 
            <?php 
예제 #4
0
                        </td> 
                    </tr> 
                </table> 
            </div>

            <!--
            ## Attachments
            -->

            <div id="simpleTabs-content-6" class="simpleTabs-content">
                <table class='form-table'>
                    <?php 
echo BuildTextArea(__("Supported MIME Types", "postie"), "postie-settings[supported_file_types]", $supported_file_types, __("Add just the type (not the subtype). Text, Video, Audio, Image and Multipart are always supported. Put each type on a single line", "postie"));
?>
                    <?php 
echo BuildTextArea(__("Banned File Names", "postie"), "postie-settings[banned_files_list]", $banned_files_list, __("Put each file name on a single line.Files matching this list will never be posted to your blog. You can use wildcards such as *.xls, or *.* for all files", "postie"));
?>

                    <tr>
                        <th scope='row'><?php 
_e('Attachment icon set', 'postie');
?>
</th>
                        <td>
                            <input type='hidden' id='postie-settings-icon_set' name='postie-settings[icon_set]'
                                   value="<?php 
echo esc_attr($icon_set);
?>
" />

                            <?php