예제 #1
0
        </tr>
        <tr class="recipe-general-form-passive-time">
            <td class="recipe-general-form-label"><label for="recipe_passive_time"><?php 
_e('Passive Time', 'wp-ultimate-recipe');
if (in_array('recipe_passive_time', $required_fields)) {
    echo '<span class="wpurp-required">*</span>';
}
?>
</label></td>
            <td class="recipe-general-form-field">
                <input type="text" name="recipe_passive_time" id="recipe_passive_time" value="<?php 
echo esc_attr($recipe->passive_time());
?>
" />
                <input type="text" name="recipe_passive_time_text" id="recipe_passive_time_text" value="<?php 
echo esc_attr($recipe->passive_time_text());
?>
" />
            </td>
        </tr>
    <?php 
if (!isset($wpurp_user_submission)) {
    ?>
        <tr>
            <td class="recipe-general-form-label">&nbsp;</td>
            <td class="recipe-general-form-field recipe-form-notes">
                <?php 
    _e("Don't forget that you can tag your recipe with <strong>Courses</strong> and <strong>Cuisines</strong> by using the boxes on the right. Use the <strong>featured image</strong> if you want a photo of the finished dish.", 'wp-ultimate-recipe');
    ?>
            </td>
        </tr>