Plugin Directory

Changeset 1328703


Ignore:
Timestamp:
01/15/2016 02:46:43 AM (10 years ago)
Author:
Jehan
Message:

comment: don't capitalize the transaction ID.

It seems the CSS style for <label> in the comment form is
all-capitalized. It is acceptable for copy-pasting (which do not take
CSS styling into account), but would break for keyboard-writing (in
particular when validation occurs on another device, like a cell phone
with a XMPP client to authenticate a comment/login done on an untrusty
device.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xmpp-auth/trunk/comment.php

    r1328701 r1328703  
    4040    . '</label>'
    4141    . '<input id="jid" name="jid" type="text" value="' . $comment_author_jid . '" size="30" aria-required="true" />'
    42     . '<label><em>Transaction ID: ' . $transaction_id . '</label>'
     42    . '<p><strong>Transaction ID: ' . $transaction_id . '</strong></p>'
    4343    . '<input type="hidden" name="transaction_id" id="transaction_id" value="'
    4444    . $transaction_id
Note: See TracChangeset for help on using the changeset viewer.