Ejemplo n.º 1
0
                                   value="<?php 
    $tags = "";
    foreach (ArticleGenerator::getTags($directory, $article) as $tag) {
        $tags = $tags . ', ' . $tag;
    }
    $tags = substr($tags, 2);
    echo $tags;
    ?>
"
                                   class="itextfield" name="tags"
                                   id="tags"/></p>

            <p>Text:</p>
            <textarea class="itextarea" name="text" id="text">
                <?php 
    echo ArticleGenerator::getText($directory, $article);
    ?>
            </textarea>
            <br><br>
            <a class="button" id="save_changes">SAVE CHANGES</a>
        </section>
        <section class="card">
            <div class="headline">Back</div>
            <p>
                Go back to the RCC home. All changes will be lost.
            </p>
            <a class="button" href="../">BACK</a>
        </section>
        <?php 
} else {
    ?>