Subversion Repositories owmoduleforms

Compare Revisions

Ignore whitespace Rev 32 → Rev 33

/trunk/design/standard/templates/owmoduleforms/form_elements.tpl
1,19 → 1,19
{foreach $form_elements as $element}
{if eq('owformcontainer', get_class($element))}
{if $element.type|eq('container')}
{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}
{elseif eq('owformdatetime', get_class($element))}
{elseif $element.type|eq('datetime')}
{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}
{elseif eq('owformhidden', get_class($element))}
{elseif $element.type|eq('hidden')}
{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}
{elseif eq('owforminputbutton', get_class($element))}
{elseif $element.type|eq('button')}
{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}
{else}
{include uri='design:owmoduleforms/owforminput.tpl' element=$element}
/trunk/design/ezwebin/templates/owmoduleformssamples/calculator_submit.tpl New file
0,0 → 1,22
<div class="border-box">
<div class="border-tl">
<div class="border-tr">
<div class="border-tc"></div>
</div>
</div>
<div class="border-ml">
<div class="border-mr">
<div class="border-mc float-break">
<div class="attribute-header">
<h1 class="long">{"Calculator result"|i18n("design/ezwebin/owmoduleforms/samples")}</h1>
</div>
<p>{$result}</p>
</div>
</div>
</div>
<div class="border-bl">
<div class="border-br">
<div class="border-bc"></div>
</div>
</div>
</div>