Esempio n. 1
0
    <!-- view template data -->
    <?php 
if ($template && $sub) {
    ?>

        <?php 
    cn_form_open('mod, opt, template, sub');
    ?>
        <textarea id="template_text" style="width: 100%; height: 480px; font: 12px/1.2em Monospace;" name="save_template_text"><?php 
    echo cn_htmlspecialchars($template_text);
    ?>
</textarea>
        <?php 
    if (getoption('ckeditor2template')) {
        cn_snippet_ckeditor('template_text');
    }
    ?>

    <?php 
}
?>

    <!-- template actions -->
    <?php 
if ($template) {
    ?>

        <?php 
    cn_form_open('mod, opt, template, sub');
    ?>
Esempio n. 2
0
                    <?php 
    }
    ?>

                    <label for='draft'><input id='draft' style="border:0; background-color: transparent" type=radio value="draft" <?php 
    if ($is_draft) {
        echo "checked";
    }
    ?>
 name="postpone_draft"> <b>Draft</b>, article is unapproved</label>

                <?php 
}
?>
            </div>


        </div>

        <?php 
hook('template/AdditionalFieldsOptions');
?>

    </div>
</form>

<?php 
if ($CKEDITOR_Active) {
    cn_snippet_ckeditor('full_story, short_story');
}