includes/wikiengine/Render/Plain/Html.php
author Dan
Sun, 23 Sep 2007 18:42:16 -0400
changeset 140 40f7fa5fd061
parent 1 fe660c52c48f
permissions -rw-r--r--
Revamped the administrator's user CP, big time. The admin module now uses a smart form and enables all profile fields, including users_extra, to be changed. Passwords are encrypted when sent. The whole CP has been split off into a different file to accomodate the large amount of code.

<?php

class Text_Wiki_Render_Plain_Html extends Text_Wiki_Render {
    
    
    /**
    * 
    * Renders a token into text matching the requested format.
    * 
    * @access public
    * 
    * @param array $options The "options" portion of the token (second
    * element).
    * 
    * @return string The text rendered from the token options.
    * 
    */
    
    function token($options)
    {
        return strip_tags($options['text']);
    }
}
?>