Changeset 2589871
- Timestamp:
- 08/27/2021 02:08:03 PM (5 years ago)
- File:
-
- 1 edited
-
humancaptcha/trunk/outerbridge-humancaptcha.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
humancaptcha/trunk/outerbridge-humancaptcha.php
r2589865 r2589871 5 5 Description: HumanCaptcha uses questions that require human logic to answer them and which machines cannot easily answer. 6 6 Author: Outerbridge 7 Version: 4.1. 07 Version: 4.1.1 8 8 Author URI: https://outerbridge.co.uk/ 9 9 Text Domain: humancaptcha … … 14 14 /** 15 15 * 16 * v4.1.1 210827 Fixed Q&A updates on the admin page 17 * 16 18 * v4.1.0 210827 Fixed problem with comments form validation. Working with WP5.8 17 *18 19 * v4.0.0 210611 Fixed session issue, thanks to @tmuk. Working with WP5.7 19 20 * v3.1 200116 Improved foreign character handling … … 52 53 53 54 // version 54 public $obr_humancaptcha_version = '4.1. 0';55 public $obr_humancaptcha_version = '4.1.1'; 55 56 56 57 function __construct(){ … … 316 317 <thead> 317 318 <tr> 318 <th><?php _e('Number', 'humancaptcha') ?></th> 319 <th><?php _e('Question', 'humancaptcha') ?></th> 320 <th><?php _e('Answer', 'humancaptcha') ?></th> 321 <th> </th> 322 <th> </th> 319 <th style="width: 10%;"><?php _e('Number', 'humancaptcha') ?></th> 320 <th style="width: 80%;"> 321 <span style="display: inline-block; width: 44%;"><?php _e('Question', 'humancaptcha') ?></span> 322 <span style="display: inline-block; width: 34%;"><?php _e('Answer', 'humancaptcha') ?></span> 323 </th> 324 <th style="width: 10%;"> </th> 323 325 </tr> 324 326 </thead> … … 332 334 <tr> 333 335 <?php endif; ?> 334 <td style="width: 75px;"><?php echo $counter; ?></td> 335 <td><input type="text" name="question" value="<?php echo stripslashes($row->fld_questions); ?>" style="width: 100%;" /></td> 336 <td><input type="text" name="answer" value="<?php echo stripslashes($row->fld_answers); ?>" style="width: 100%;" /></td> 336 <td><?php echo $counter; ?></td> 337 337 <td> 338 338 <form method="post" action="<?php echo $page; ?>"> 339 <input type="text" name="question" value="<?php echo stripslashes($row->fld_questions); ?>" style="width: 44%;" /> 340 <input type="text" name="answer" value="<?php echo stripslashes($row->fld_answers); ?>" style="width: 34%;" /> 339 341 <input type="hidden" name="ref" value="<?php echo $row->fld_ref; ?>" /> 340 <input type="submit" name="updateqanda" class="button" value="<?php _e('Update Q & A', 'humancaptcha'); ?>" />342 <input type="submit" name="updateqanda" class="button" value="<?php _e('Update Q & A', 'humancaptcha'); ?>" style="width: 20%;" /> 341 343 </form> 342 344 </td> … … 364 366 echo $question; 365 367 } 366 ?>" style="width: 100%;" /> 367 </td> 368 <td> 368 ?>" style="width: 44%;" /> 369 369 <input type="text" name="answer" value="<?php 370 370 if (isset($answer)){ 371 371 echo $answer; 372 372 } 373 ?>" style="width: 100%;" /> 374 </td> 375 <td> 376 <input type="submit" name="addqanda" class="button" value="<?php _e('Add New Q & A', 'humancaptcha'); ?>" /> 373 ?>" style="width: 34%;" /> 374 <input type="submit" name="addqanda" class="button" value="<?php _e('Add New Q & A', 'humancaptcha'); ?>" style="width: 20%;" /> 377 375 </td> 378 376 <td> </td>
Note: See TracChangeset
for help on using the changeset viewer.