<h4>Smarty plugins</h4>
<ul>
    <li><strong>&#123;mod_action_url}</strong>
    <p>A smarty plugin that can create a url to a module action.</p>
    <p>Arguments:
       <ul>
       <li>module - The module to create a link to.  This argument is optional, the system will attempt to detect the current module name (if within a module action)</li>
       <li>action (default) - The action to call within the module</li>
       <li>page - Specify the destination page</li>
       <li>jsfriendly|forjs - Turns on the urlonly parameter, and indicates that javascript friendly urls are output.</li>
       <li>forajax - Turns on the jsfriendly parameter (and the urlonly parameter), and also appends showtemplate=false to the URL output for AJAX requests</li>
       <li>assign - Assign the output of the plugin to the named smarty variable.</li>
       </ul>
    <br/></p>
      <p>Any other arguments to the smarty plugin will be added to the URL generated.</p>   <p>Example:
    <pre>&#123;mod_action_url module='News' action='fesubmit' assign='foo'}</pre><br/></p></li>

    <li><strong>&#123;mod_action_link}</strong>
    <p>A smarty plugin that can create a link to a module action.</p>
    <p>Arguments:
       <ul>
       <li>module - The module to create a link to.  This argument is optional, the system will attempt to detect the current module name (if within a module action)</li>
       <li>action (default) - The action to call within the module</li>
       <li>text - The text to put in the link</li>
       <li>page - Specify the destination page</li>
       <li>urlonly - Instead of generating a link, generate just the url</li>
       <li>jsfriendly|forjs - Turns on the urlonly parameter, and indicates that javascript friendly urls are output.</li>
       <li>forajax - Turns on the jsfriendly parameter (and the urlonly parameter), and also appends showtemplate=false to the URL output for AJAX requests</li>
       <li>confmessage - A confirmation message to display when the link is clicked.</li>
       <li>image - An image to use on the link</li>
       <li>imageonly - If an image is specified, create a link only consisting of the image.  The text will be used for the title attribute</li>
       <li>assign - Assign the output of the plugin to the named smarty variable.</li>
       </ul>
    <br/></p>
      <p>Any other arguments to the smarty plugin will be added to the URL generated.</p>   <p>Example:
    <pre>&#123;mod_action_link module='News' action='fesubmit' text='Submit a New News Article'}</pre><br/></p></li>

    <li><strong>&#123;xt_anchor_link}</strong>
    <p>A smarty plugin to generate a link to an anchor that is on the same page.</p>
    <p>Arguments:
      <ul>
      <li>n|name - <em>(string)</em> The name of the anchor to link to.</li>
      <li>text - <em>(string></em> The text portion of the link.  If not specified, the anchor name will be used.</li>
      <li>urlonly - <em>(bool)</em> Optionally only generate the URL portion of the link.  see smx::anchor_url()</li>
      <li>assign - <em>(string></em> Optionally assign the output of the plugin to the named smarty variable.</li>
      </ul>
      </p>
      <p>Any other arguments to the smarty plugin will be added as attributes to the link generated.</p>
    <p>Example: <pre>&#123;xt_anchor_link name=bottom class="anchor_class" id="anchor_id"}</pre></p>
    </li>

    <li><strong>&#123;sess_put}</strong>
    <p>A smarty plugin that can store data in the user session. This data is then accessible via the $smarty.session array in subsequent pages.</p>
    <p>Arguments:
       <ul>
       <li>var - The name of the variable to create in the session.</li>
       <li>value - The desired value of the variable.</li>
       </ul>
    <br/></p>
      <p>Example:
    <pre>&#123;sess_put var='test' value='blah'}</pre><br/></p></li>

    <li><strong>&#123;sess_erase}</strong>
    <p>A smarty plugin that can erase data from the user session.</p>
    <p>Arguments:
       <ul>
       <li>var - The name of the variable to erase in the session.</li>
       </ul>
    <br/></p>
      <p>Example:
    <pre>&#123;sess_erase var='test'}</pre><br/></p></li>

    <li><strong>&#123;xt_repeat}</strong>
    <p>Another smarty plugin that will allow repeating text</p>
    <p>Arguments:</p>
      <ul>
        <li>text - The text to be repeated</li>
        <li>count - The number of times it should be repeated</li>
        <li>assign - Assign the output to the specified smarty variable</li>
      </ul>
    <br/>
    <p>Example: <pre>&#123;xt_repeat text='this' count='5'}</pre><br/></p>
    </li>