mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-23 01:01:20 +00:00

- add .editorconfig file - format all files to comply with castopod's coding style - switch parsedown dependency with commonmark library to better follow commonmark spec for markdown - add prettier command to format all project files at once closes #16
36 lines
593 B
PHP
36 lines
593 B
PHP
<?php
|
|
|
|
namespace Config;
|
|
|
|
use CodeIgniter\Config\BaseConfig;
|
|
|
|
class Honeypot extends BaseConfig
|
|
{
|
|
/**
|
|
* Makes Honeypot visible or not to human
|
|
*
|
|
* @var boolean
|
|
*/
|
|
public $hidden = true;
|
|
/**
|
|
* Honeypot Label Content
|
|
*
|
|
* @var string
|
|
*/
|
|
public $label = 'Fill This Field';
|
|
|
|
/**
|
|
* Honeypot Field Name
|
|
*
|
|
* @var string
|
|
*/
|
|
public $name = 'honeypot';
|
|
|
|
/**
|
|
* Honeypot HTML Template
|
|
*
|
|
* @var string
|
|
*/
|
|
public $template = '<label>{label}</label><input type="text" name="{name}" value=""/>';
|
|
}
|