includes/wikiengine/Render/Plain/Anchor.php
author Dan
Sat, 07 Jun 2008 12:39:24 -0400
changeset 557 26479224936a
parent 1 fe660c52c48f
permissions -rw-r--r--
Modified $template->init_vars() to pivot to local page metadata and permissions from a PageProcessor object instead of global data from $paths and permissions from $session to allow redirects to affect on-page controls as well as the actual content (only partially complete, protection and several other elements still need to be localized)

<?php

/**
* 
* This class renders an anchor target name in XHTML.
*
* @author Manuel Holtgrewe <purestorm at ggnore dot net>
*
* @author Paul M. Jones <pmjones at ciaweb dot net>
*
* @package Text_Wiki
*
*/

class Text_Wiki_Render_Plain_Anchor extends Text_Wiki_Render {
    
    function token($options)
    {
        return $options['name'];
    }
}

?>