ypot
This commit is contained in:
parent
0215ceeecd
commit
1377d13055
3 changed files with 4 additions and 4 deletions
|
@ -261,8 +261,8 @@ class Register extends BaseModule
|
|||
|
||||
$a->internalRedirect('register/');
|
||||
}
|
||||
// Is there text in the tar pid?
|
||||
if (!empty($_POST('registeertarpid'))) {
|
||||
// Is there text in the tar pit?
|
||||
if (!empty($_POST('registertarpit'))) {
|
||||
\notice(L10n::t('You have entered too much information.'));
|
||||
$a->internalRedirect('register/');
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
|
||||
{{if $permonly}}
|
||||
{{include file="field_textarea.tpl" field=$permonlybox}}
|
||||
<input type="input" id="registertarpid" style="display: none;" placeholder="Don't enter anything here" />
|
||||
<input type="input" id="registertarpit" style="display: none;" placeholder="Don't enter anything here" />
|
||||
{{/if}}
|
||||
|
||||
{{$publish nofilter}}
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
|
||||
{{if $permonly}}
|
||||
{{include file="field_textarea.tpl" field=$permonlybox}}
|
||||
<input type="input" id="registertarpid" style="display: none;" placeholder="Don't enter anything here"/>
|
||||
<input type="input" id="registertarpit" style="display: none;" placeholder="Don't enter anything here"/>
|
||||
{{/if}}
|
||||
|
||||
{{$publish nofilter}}
|
||||
|
|
Loading…
Reference in a new issue