From: <sy...@us...> - 2008-09-22 12:14:12
|
Revision: 14794 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=14794&view=rev Author: sylvieg Date: 2008-09-22 12:14:07 +0000 (Mon, 22 Sep 2008) Log Message: ----------- [FIX]ergistration: remember antibot if email is incorrect + fix remember group + take the float style (for tikinewt) Modified Paths: -------------- trunk/templates/tiki-register.tpl Modified: trunk/templates/tiki-register.tpl =================================================================== --- trunk/templates/tiki-register.tpl 2008-09-22 06:15:12 UTC (rev 14793) +++ trunk/templates/tiki-register.tpl 2008-09-22 12:14:07 UTC (rev 14794) @@ -36,7 +36,8 @@ <input type="hidden" name="pass" value="{$smarty.post.pass}"/> <input type="hidden" name="regcode" value="{$smarty.post.regcode}"/> <input type="hidden" name="novalidation" value="yes"/> - {if $chosenGroup}<input type="hidden" name="chosenGroup" value="{$smarty.post.chosenGroup}" />{/if} + {if isset($smarty.post.antibotcode)}<input type="hidden" name="antibotcode" value="{$smarty.post.antibotcode}"/>{/if} + {if $smarty.post.chosenGroup}<input type="hidden" name="chosenGroup" value="{$smarty.post.chosenGroup}" />{/if} <input type="submit" name="register" value="{tr}Register{/tr}" /> </form> @@ -113,7 +114,7 @@ <td class="formcolor">{tr}Select your group{/tr}:</td> <td class="formcolor"> {foreach item=gr from=$listgroups} -{if $gr.registrationChoice eq 'y'} <input style="float:left;" type="radio" name="chosenGroup" id="gr_{$gr.groupName}" value="{$gr.groupName|escape}" /> <label for="gr_{$gr.groupName}">{if $gr.groupDesc}{tr}{$gr.groupDesc}{/tr}{else}{$gr.groupName}{/if}</label><br />{/if} +{if $gr.registrationChoice eq 'y'} <input type="radio" name="chosenGroup" id="gr_{$gr.groupName}" value="{$gr.groupName|escape}" /> <label for="gr_{$gr.groupName}">{if $gr.groupDesc}{tr}{$gr.groupDesc}{/tr}{else}{$gr.groupName}{/if}</label><br />{/if} {/foreach} </td> </tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |