March 9, 2010 by 228vit@gmail.com
In most cases echo $form in template suited fine, but if you want replace only submit button which shows as "Validate [Validate]", you need rewrite whole _form.php template.
This is not a DRY way, because you may change form, then you need change template too.
To avoid this just modify your form, by adding such method:
public function render($attributes = array()) { $attributes = dmString::toArray($attributes, true); return $this->open($attributes). '<ul class="dm_form_elements">'. $this->getFormFieldSchema()->render($attributes). sprintf('<li class="dm_form_element"><hr size="1" noshade color="silver">%s</li>', $this->renderSubmitTag($this->__('send comment')) ). '</ul>'. $this->close(); }
SergeDoctrOctober 11, 2011 5:59 AM
<u><a href=http://www.sarc.montana.edu/php/Cropping_Systems.php?gwg=buy+Microsoft+Office+2011+for+Mac>buy Microsoft Office 2011 for Mac</a></u>
<a href=http://www.sarc.montana.edu/php/Cropping_Systems.php?gwg=buy+microsoft+enterprise>buy microsoft enterprise</a>
<a href=http://www.sarc.montana.edu/php/Cropping_Systems.php?gwg=hipaa+compliance+software>hipaa compliance software</a>
<a href=http://www.sarc.montana.edu/php/Cropping_Systems.php?gwg=lazarus+software>lazarus software</a>
<a href=http://www.sarc.montana.edu/php/Cropping_Systems.php?gwg=innovate+software>innovate software</a>
<a href=http://www.sarc.montana.edu/php/Cropping_Systems.php?gwg=custom+wheel+software>custom wheel software</a>
<a href=http://www.sarc.montana.edu/php/Cropping_Systems.php?gwg=sessions+software>sessions software</a>
<a href=http://www.sarc.montana.edu/php/Cropping_Systems.php?gwg=buy+Red+Giant+Trapcode+Starglow+for+Avid+AVX>buy Red Giant Trapcode Starglow for Avid AVX</a>
<a href=http://www.sarc.montana.edu/php/Cropping_Systems.php?gwg=hand+brake+dvd+software>hand brake dvd software</a>
<a href=http://www.sarc.montana.edu/php/Cropping_Systems.php?gwg=where+to+buy+computer+software>where to buy computer software</a>