?> <table border="1" cellpadding="5" cellspacing="0"> <tr><td>Name</td><td><?php echo smarty_function_WFTextField(array('id' => 'name'), $this); ?> </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
<?php /* Smarty version 2.6.12, created on 2006-02-26 17:41:53 compiled from C:/web/helloworld/helloworld/modules/examples/widgets/select.tpl */ require_once SMARTY_CORE_DIR . 'core.load_plugins.php'; smarty_core_load_plugins(array('plugins' => array(array('function', 'WFSelect', 'C:/web/helloworld/helloworld/modules/examples/widgets/select.tpl', 2, false))), $this); echo smarty_function_WFSelect(array('id' => 'city'), $this); ?> <?php echo ' <hr> <h3>.tpl file</h3> <pre> {WFSelect id="city"} </pre> <h3>.instances file</h3> <pre> $__instances = array( \'city\' => array(\'class\' => \'WFSelect\', \'children\' => array()), ); </pre> <h3>.config file</h3> <pre> $__config = array( \'city\' => array( \'bindings\' => array( \'value\' => array(
smarty_core_load_plugins(array('plugins' => array(array('block', 'WFForm', 'C:/web/helloworld/helloworld/modules/examples/concepts/pagination/exampleWithForm.tpl', 3, false), array('function', 'WFPaginatorState', 'C:/web/helloworld/helloworld/modules/examples/concepts/pagination/exampleWithForm.tpl', 4, false), array('function', 'WFSelect', 'C:/web/helloworld/helloworld/modules/examples/concepts/pagination/exampleWithForm.tpl', 5, false), array('function', 'WFSubmit', 'C:/web/helloworld/helloworld/modules/examples/concepts/pagination/exampleWithForm.tpl', 5, false), array('function', 'WFPaginatorPageInfo', 'C:/web/helloworld/helloworld/modules/examples/concepts/pagination/exampleWithForm.tpl', 10, false), array('function', 'WFView', 'C:/web/helloworld/helloworld/modules/examples/concepts/pagination/exampleWithForm.tpl', 12, false), array('function', 'WFDynamic', 'C:/web/helloworld/helloworld/modules/examples/concepts/pagination/exampleWithForm.tpl', 16, false), array('function', 'WFURL', 'C:/web/helloworld/helloworld/modules/examples/concepts/pagination/exampleWithForm.tpl', 20, false), array('modifier', 'escape', 'C:/web/helloworld/helloworld/modules/examples/concepts/pagination/exampleWithForm.tpl', 46, false))), $this); ?> <?php $this->_tag_stack[] = array('WFForm', array('id' => 'form')); $_block_repeat = true; smarty_block_WFForm($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start(); ?> <?php echo smarty_function_WFPaginatorState(array('id' => 'paginatorState'), $this); ?> Select the number of people in the data set: <?php echo smarty_function_WFSelect(array('id' => 'numPeople'), $this); ?> <?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); ?> <hr>