コード例 #1
0
ファイル: settings.php プロジェクト: hikaram/wee
    <form action="<?php 
echo admin_url('edit.php?post_type=' . MetaDataFilterCore::$slug . '&page=mdf_settings');
?>
" method="post">
        <table class="form-table">
            <tbody>

                <tr valign="top">
                    <th scope="row"><label><?php 
_e("Supported post types", 'meta-data-filter');
?>
</label></th>
                    <td>
                        <select name="mass_filter_slug">
                            <?php 
foreach (MetaDataFilterCore::get_post_types() as $post_type => $post_type_name) {
    ?>
                                <option value="<?php 
    echo $post_type_name;
    ?>
"><?php 
    echo $post_type_name;
    ?>
</option>
                            <?php 
}
?>
                        </select>
                        <p class="description"><?php 
_e("Check post types to which filter ID should be assign. Enter right data, do not joke with it!", 'meta-data-filter');
?>