Subversion Repositories owmoduleforms

[/] [trunk/] [design/] [standard/] [templates/] [owmoduleforms/] [form_elements.tpl] - Diff between revs 23 and 33

Show entire file | Ignore whitespace | Details | Blame | View Log

Rev 23 Rev 33
Line 1... Line 1...
{foreach $form_elements as $element}
{foreach $form_elements as $element}
        {if eq('owformcontainer', get_class($element))}
        {if $element.type|eq('container')}
                {include uri='design:owmoduleforms/owformcontainer.tpl' element=$element}
                {include uri='design:owmoduleforms/owformcontainer.tpl' element=$element}
        {elseif eq('owformfieldset', get_class($element))}
        {elseif $element.type|eq('fieldset')}
                {include uri='design:owmoduleforms/owformfieldset.tpl' element=$element}
                {include uri='design:owmoduleforms/owformfieldset.tpl' element=$element}
        {elseif eq('owformdatetime', get_class($element))}
        {elseif $element.type|eq('datetime')}
                {include uri='design:owmoduleforms/owformdatetime.tpl' element=$element}
                {include uri='design:owmoduleforms/owformdatetime.tpl' element=$element}
        {elseif eq('owformmarkup', get_class($element))}
        {elseif $element.type|eq('markup')}
                {include uri='design:owmoduleforms/owformmarkup.tpl' element=$element}
                {include uri='design:owmoduleforms/owformmarkup.tpl' element=$element}
    {elseif eq('owformhidden', get_class($element))}
    {elseif $element.type|eq('hidden')}
                {include uri='design:owmoduleforms/owformhidden.tpl' element=$element}
                {include uri='design:owmoduleforms/owformhidden.tpl' element=$element}
    {elseif array('owformsubmit', 'owformcancel')|contains(get_class($element))}
    {elseif $element.type|eq('submit')}
        {include uri='design:owmoduleforms/owformsubmit.tpl' element=$element}
        {include uri='design:owmoduleforms/owformsubmit.tpl' element=$element}
    {elseif eq('owforminputbutton', get_class($element))}
    {elseif $element.type|eq('button')}
        {include uri='design:owmoduleforms/owforminputbutton.tpl' element=$element}
        {include uri='design:owmoduleforms/owforminputbutton.tpl' element=$element}
    {elseif eq('owformimage', get_class($element))}
    {elseif $element.type|eq('image')}
        {include uri='design:owmoduleforms/owformimage.tpl' element=$element}
        {include uri='design:owmoduleforms/owformimage.tpl' element=$element}
    {else}
    {else}
                {include uri='design:owmoduleforms/owforminput.tpl' element=$element}
                {include uri='design:owmoduleforms/owforminput.tpl' element=$element}
        {/if}
        {/if}