diff options
Diffstat (limited to 'tmp/templates_c/%%61^614^614EB811%%genericForm.tpl.php')
-rw-r--r-- | tmp/templates_c/%%61^614^614EB811%%genericForm.tpl.php | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/tmp/templates_c/%%61^614^614EB811%%genericForm.tpl.php b/tmp/templates_c/%%61^614^614EB811%%genericForm.tpl.php new file mode 100644 index 0000000000..9ae4fecc4e --- /dev/null +++ b/tmp/templates_c/%%61^614^614EB811%%genericForm.tpl.php @@ -0,0 +1,54 @@ +<?php /* Smarty version 2.6.18, created on 2007-08-31 19:21:11 + compiled from genericForm.tpl */ ?> + +<?php if ($this->_tpl_vars['form_data']['errors']): ?> + <div id="adminErrors"> + <strong>Errors</strong> + <ul> + <?php $_from = $this->_tpl_vars['form_data']['errors']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['data']): +?> + <li><?php echo $this->_tpl_vars['data']; ?> +</li> + <?php endforeach; endif; unset($_from); ?> + </ul> + </div> +<?php endif; ?> + + +<form <?php echo $this->_tpl_vars['form_data']['attributes']; ?> +> +<!-- Output hidden fields --> + +<!-- Display the fields --> +<?php $_from = $this->_tpl_vars['element_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['title'] => $this->_tpl_vars['data']): +?> + <h3><?php echo $this->_tpl_vars['title']; ?> +</h3> + <div class="centrer"> + <table class="centrer"> + <?php $_from = $this->_tpl_vars['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['fieldname']): +?> + <?php if ($this->_tpl_vars['form_data'][$this->_tpl_vars['fieldname']]['label']): ?> + <tr> + <td><?php echo $this->_tpl_vars['form_data'][$this->_tpl_vars['fieldname']]['label']; ?> +</td> + <td><?php echo $this->_tpl_vars['form_data'][$this->_tpl_vars['fieldname']]['html']; ?> +</td> + </tr> + <?php elseif ($this->_tpl_vars['form_data'][$this->_tpl_vars['fieldname']]['type'] == 'hidden'): ?> + <tr><td colspan=2><?php echo $this->_tpl_vars['form_data'][$this->_tpl_vars['fieldname']]['html']; ?> +</td></tr> + <?php endif; ?> + <?php endforeach; endif; unset($_from); ?> + </table> + </div> +<?php endforeach; endif; unset($_from); ?> +<div class="boutonsAction"> + +<?php echo $this->_tpl_vars['form_data']['submit']['html']; ?> + +</div> +</form>
\ No newline at end of file |