Revision 227
Added by ryan over 18 years ago
modify_settings.php | ||
---|---|---|
124 | 124 |
<td class="setting_name"> |
125 | 125 |
<input type="text" name="stored_submissions" style="width: 100%;" maxlength="255" value="<?php echo str_replace($raw, $friendly, ($setting['stored_submissions'])); ?>" /> |
126 | 126 |
</td> |
127 |
</tr> |
|
127 |
</tr> |
|
128 |
<?php if(extension_loaded('gd') AND function_exists('imageCreateFromJpeg')) { /* Make's sure GD library is installed */ ?> |
|
129 |
<tr> |
|
130 |
<td class="setting_name"><?php echo $TEXT['CAPTCHA_VERIFICATION']; ?>:</td> |
|
131 |
<td> |
|
132 |
<input type="radio" name="use_captcha" id="use_captcha_true" value="1"<?php if($setting['use_captcha'] == true) { echo ' checked'; } ?> /> |
|
133 |
<label for="use_captcha_true"><?php echo $TEXT['ENABLED']; ?></label> |
|
134 |
<input type="radio" name="use_captcha" id="use_captcha_false" value="0"<?php if($setting['use_captcha'] == false) { echo ' checked'; } ?> /> |
|
135 |
<label for="use_captcha_false"><?php echo $TEXT['DISABLED']; ?></label> |
|
136 |
</td> |
|
137 |
</tr> |
|
138 |
<?php } ?> |
|
128 | 139 |
</table> |
129 | 140 |
<table cellpadding="0" cellspacing="0" border="0" width="100%"> |
130 | 141 |
<tr> |
Also available in: Unified diff
Finished correct Captcha implementation in form mod