function createForm2(SC_FormParam $objFormParam) { $form = new HTML_QuickForm("form2", "POST", $_SERVER["REQUEST_URI"]); $form->addElement("header", "header", "きせかえ Touch 設定"); $form->addElement("hidden", TRANSACTION_ID_NAME, $this->transactionid); $form->addElement("hidden", "mode", "edit_kisekae"); $arrForm = $objFormParam->getFormParamList(); foreach ($arrForm as $key => $config) { $form->addElement("text", $key, $config["disp_name"], array("size" => 30, "class" => "box30", "value" => $config["value"], "style" => SC_Utils_Ex::sfGetErrorColor($this->arrErr[$key]), "max_length" => $config["length"])); $form->addRule($key, $this->arrErr[$key], 'required'); $form->addRule($key, $this->arrErr[$key], 'rangelength', array($config["length"], $config["length"])); $form->addRule($key, $this->arrErr[$key], 'alphanumeric'); } $form->addElement("submit", "", "設定"); return $form; }
echo smarty_function_t(array('string' => 'tpl_Message_01'), $this); ?> </th> <td> <?php $this->assign('key', 'message'); ?> <span class="attention"><?php echo is_array($_tmp = $this->_tpl_vars['arrErr'][$this->_tpl_vars['key']]) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp); ?> </span> <textarea name="<?php echo is_array($_tmp = $this->_tpl_vars['key']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp); ?> " cols="60" rows="8" class="area60" style="<?php echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['arrErr'][$this->_tpl_vars['key']]) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('sfGetErrorColor', true, $_tmp) : SC_Utils_Ex::sfGetErrorColor($_tmp); ?> " ><?php echo "\n"; echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['arrForm'][$this->_tpl_vars['key']]) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('h', true, $_tmp) : smarty_modifier_h($_tmp); ?> </textarea> <span class="attention"> <?php echo smarty_function_t(array('string' => "tpl_(T_ARG1 characters max)_01", 'T_ARG1' => is_array($_tmp = @LLTEXT_LEN) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)), $this); ?> </span> </td> </tr> </table> <h2><?php
?> " /> <input type="hidden" name="category_id" value="<?php echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['category_id']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('h', true, $_tmp) : smarty_modifier_h($_tmp); ?> " /> <input type="hidden" name="rank" value="<?php echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['arrItems'][$this->_sections['cnt']['iteration']]['rank']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('h', true, $_tmp) : smarty_modifier_h($_tmp); ?> " /> <span class="attention"><?php echo is_array($_tmp = $this->_tpl_vars['arrErr'][$this->_sections['cnt']['iteration']]['comment']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp); ?> </span> <textarea class="top" name="comment" cols="45" rows="4" style="width: 586px; height: 80px; <?php echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['arrErr'][$this->_sections['cnt']['iteration']]['comment']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('sfGetErrorColor', true, $_tmp) : SC_Utils_Ex::sfGetErrorColor($_tmp); ?> " <?php echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['arrItems'][$this->_sections['cnt']['iteration']]['product_id']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('sfGetEnabled', true, $_tmp) : SC_Utils_Ex::sfGetEnabled($_tmp); ?> ><?php echo "\n"; echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['arrItems'][$this->_sections['cnt']['iteration']]['comment']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('h', true, $_tmp) : smarty_modifier_h($_tmp); ?> </textarea> </form> </div> </div> </div> </div> </td>