1
wdsl1
How can i use Captchas from Framework with XoopsThemeForm?
  • 2007/9/17 19:36

  • wdsl1

  • Just popping in

  • Posts: 39

  • Since: 2004/11/3


Hi,
i write a liddle script to manage guests of an party. And i need Captchas in my Form. I will use XoopsThemeForm but i only get an Object and i don't know how to use this in Smarty.

My Form are created like this now but captchas will not shown.

<form name="<{$form.name}>" action="<{$form.action}>" method="<{$form.method}>" <{$form.extra}>>
        <
table class="outer" cellspacing="1">
            <
tr>
                <
th colspan="2"><{$form.title}></th>
            </
tr>

            <{foreach 
item=element from=$form.elements}>
                <{if 
$element.hidden != true}>
                    <
tr>
                        <
td class="head"><{$element.caption}></td>
                        <
td class="<{cycle values="even,odd"}>"><{$element.body}></td>
                    </
tr>
                <{else}>
                    <{
$element.body}>
                <{/if}>
            <{/foreach}>

        </
table>
    </
form>
visit a-bout.de