From: Chris W. <la...@us...> - 2004-10-05 02:02:13
|
Update of /cvsroot/openinteract/OpenInteract2/sample/website/template In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6578 Modified Files: form_begin Log Message: OIN-90: allow the form_url to be set externally instead of always contextualizing it Index: form_begin =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/sample/website/template/form_begin,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** form_begin 6 Jun 2003 05:22:57 -0000 1.2 --- form_begin 5 Oct 2004 02:00:55 -0000 1.3 *************** *** 1,6 **** [%- DEFAULT method = 'POST'; ! form_url = OI.make_url( BASE = BASE, ! ACTION = ACTION, ! TASK = TASK ); -%] <form action="[% form_url %]" method="[% method %]" [%- IF onsubmit %] onsubmit="[% onsubmit %]"[% END -%] --- 1,6 ---- [%- DEFAULT method = 'POST'; ! DEFAULT form_url = OI.make_url( BASE = BASE, ! ACTION = ACTION, ! TASK = TASK ); -%] <form action="[% form_url %]" method="[% method %]" [%- IF onsubmit %] onsubmit="[% onsubmit %]"[% END -%] |