<?php /* Smarty version 2.6.12, created on 2006-02-26 17:41:16 compiled from C:/web/helloworld/helloworld/modules/examples/widgets/textArea.tpl */ require_once SMARTY_CORE_DIR . 'core.load_plugins.php'; smarty_core_load_plugins(array('plugins' => array(array('function', 'WFTextArea', 'C:/web/helloworld/helloworld/modules/examples/widgets/textArea.tpl', 5, false))), $this); ?> <p>WFTextArea is a textarea widget.</p> <?php echo smarty_function_WFTextArea(array('id' => 'bio'), $this); ?> <?php echo ' <hr> <h3>.tpl file</h3> <pre> {WFTextArea id="bio"} </pre> <h3>.instances file</h3> <pre> $__instances = array( \'bio\' => array(\'class\' => \'WFTextArea\', \'children\' => array()), ); </pre> <h3>.config file</h3>
ob_start(); ?> Email: <?php echo smarty_function_WFTextField(array('id' => 'email'), $this); ?> <br /> <?php echo smarty_function_WFShowErrors(array('id' => 'email'), $this); ?> Subject: <?php echo smarty_function_WFTextField(array('id' => 'subject'), $this); ?> <br /> <?php echo smarty_function_WFShowErrors(array('id' => 'subject'), $this); ?> Message: <?php echo smarty_function_WFTextArea(array('id' => 'message'), $this); ?> <br /> <?php echo smarty_function_WFSubmit(array('id' => 'submit'), $this); ?> <?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat = false; echo smarty_block_WFForm($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack);
?> </td></tr> <tr><td>Creation DTS</td><td><?php echo smarty_function_WFLabel(array('id' => 'creationDTS'), $this); ?> </td></tr> <tr><td>Favorite Colors</td><td><?php echo smarty_function_WFSelect(array('id' => 'selectMultiple'), $this); ?> </td></tr> <tr><td>City</td><td><?php echo smarty_function_WFSelect(array('id' => 'selectOne'), $this); ?> </td></tr> <tr><td>Bio</td><td><?php echo smarty_function_WFTextArea(array('id' => 'textarea'), $this); ?> </td></tr> <tr><td>Gender</td><td><?php echo smarty_function_WFView(array('id' => 'radioOne'), $this); ?> <?php echo smarty_function_WFView(array('id' => 'radioTwo'), $this); ?> </td></tr> </table> <?php echo smarty_function_WFSubmit(array('id' => 'action1'), $this); ?> <?php