AAAAload_security_question.ctp 0000666 00000004736 15137776214 0012104 0 ustar 00
Header(array('settings' => 'Settings', 'help' => 'Help'), 'load_security_question_config_{n}'); ?>
tabStart('settings'); ?>
input('action_load_security_question_{n}_content1_config', array('type' => 'textarea', 'label' => "Code", 'rows' => 20, 'cols' => 70, 'smalldesc' => 'Enter the questions and answers here, any PHP code should include the PHP tags.')); ?>
input('action_load_security_question_{n}_session_key_config', array('type' => 'select', 'label' => 'Enable Session Key', 'options' => array(0 => 'No', 1 => 'Yes'), 'smalldesc' => 'Add a unique session key for every form instance, this is helpful if more than one form or more than one instance of the same form may be loaded together.')); ?>
tabEnd(); ?>
tabStart('help'); ?>
- You may use PHP code with php tags.
- You may use a "Security Question" element or enter this string in your form code or using a custom element to show the question: {chrono_security_question}
- the answer field should have the name "chrono_security_answer", again, you may simply use a "Security Question" element and that should add it for you.
- Enter the questions in multi line forma, example:
Question=Answer,Answer,Answer
Question=Answer
Question=Answer,Answer
tabEnd(); ?>