function preGenerate(&$code) { $this->tag = 'form'; parent :: preGenerate($code); }
<div class="Title"><?=Msg::get("LookupAction.search.title")?></div> <div class="Message"><?=Msg::message("LookupAction.search.description")?></div> <div align="center"> <table class="Form"> <tr> <td><?=Msg::get("lookup.type")?></td> <td>:</td> <td><?=FormTag::text("list.filter.type", $this->list["filter"]["type"])?></td> </tr> <tr> <td><?=Msg::get("lookup.code")?></td> <td>:</td> <td><?=FormTag::text("list.filter.code", $this->list["filter"]["code"])?></td> </tr> <tr> <td colspan="3" class="Command"> <?=FormTag::submit("command.search")?> <input type="button" class="Button" id="clear" value="<?=Msg::get("command.clear")?>"/> <script type="text/javascript"> Event.observe($('clear'), "click", LookupList.clear); </script> <input type="button" class="Button" frameId="searchFrame" id="close" value="<?=Msg::get("command.close")?>"/> <script type="text/javascript"> Event.observe($('close'), "click", LookupList.close); </script> </td> </tr> </table> </div> </div> </form>
<td>:</td> <td><?=nl2br($this->lookup["type"])?></td> </tr> <tr> <td><?=Msg::get("lookup.code")?></td> <td>:</td> <td><?=nl2br($this->lookup["code"])?></td> </tr> <tr> <td><?=Msg::get("lookup.name")?></td> <td>:</td> <td><?=nl2br($this->lookup["name"])?></td> </tr> <tr> <td><?=Msg::get("lookup.description")?></td> <td>:</td> <td><?=nl2br($this->lookup["description"])?></td> </tr> <tr> <td><?=Msg::get("lookup.priority")?></td> <td>:</td> <td><?=nl2br($this->lookup["priority"])?></td> </tr> <tr> <td colspan="3" class="Command"> <?=FormTag::back("command.back", "lookup")?> </td> </tr> </table> </div> </div>
</script> <form method="post" action="login/login"> <div class="Frame" style="width: 400px" id="login"> <div class="Title"><?=Msg::get("LoginAction.title")?></div> <div class="Message"><?=Msg::message("LoginAction.description")?></div> <div style="height: 130px"> <table id="centerized"><tr><td> <img src="themes/apu/img/security.gif"/> </td><td> <table class="Form"> <tr> <td class="Label"><?=Msg::get("login.username")?></td> <td>:</td> <td><?=FormTag::text("login.username", $this->login["username"])?></td> </tr> <tr> <td class="Label"><?=Msg::get("login.password")?></td> <td>:</td> <td><?=FormTag::password("login.password", $this->login["password"])?></td> </tr> <tr> <td colspan="3" class="Command"> <?=FormTag::submit("command.login")?> </td> </tr> </table> </td></tr></table> </div> </div> </form>