mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 20:41:20 -05:00
better spamtrap
This commit is contained in:
parent
1b09e513b4
commit
a34275283a
@ -56,6 +56,7 @@ Changelog
|
|||||||
* Themes! Configure a different theme in config/stikked.php - or create your own
|
* Themes! Configure a different theme in config/stikked.php - or create your own
|
||||||
* Multilanguage support. Configure a different language in config/stikked.php
|
* Multilanguage support. Configure a different language in config/stikked.php
|
||||||
* Diff view for paste replies! View differences between the original paste and its reply
|
* Diff view for paste replies! View differences between the original paste and its reply
|
||||||
|
* see it in action: http://paste.scratchbook.ch/view/de81a093/diff
|
||||||
* Possibility to set default expiration time
|
* Possibility to set default expiration time
|
||||||
* Updated GeSHi to version 1.0.8.11
|
* Updated GeSHi to version 1.0.8.11
|
||||||
* Updated CodeMirror to version 3.11
|
* Updated CodeMirror to version 3.11
|
||||||
|
@ -712,7 +712,7 @@ class Main extends CI_Controller
|
|||||||
$this->form_validation->set_message('_autofill_check', lang('robot'));
|
$this->form_validation->set_message('_autofill_check', lang('robot'));
|
||||||
|
|
||||||
//check
|
//check
|
||||||
return !$this->input->post('email');
|
return (!$this->input->post('email') && !$this->input->post('url'));
|
||||||
}
|
}
|
||||||
|
|
||||||
function _valid_authentication()
|
function _valid_authentication()
|
||||||
|
@ -164,7 +164,7 @@ h4 {
|
|||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hidden {
|
.hidden, .email, .url {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -121,7 +121,9 @@
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$set = array('name' => 'email', 'hidden' => 'hidden');
|
$set = array('name' => 'email', 'class' => 'email');
|
||||||
|
echo form_input($set);
|
||||||
|
$set = array('name' => 'url', 'class' => 'url');
|
||||||
echo form_input($set);
|
echo form_input($set);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user