Plugin Directory

Changeset 136869


Ignore:
Timestamp:
07/20/2009 05:31:44 AM (17 years ago)
Author:
sakuratan
Message:

Comments.
Size attribute for username and password.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nitwpress/trunk/nitwpress.php

    r136867 r136869  
    191191}
    192192
     193/*
     194 * Display errors.
     195 */
    193196function nitwpress_display_error($mesg) {
    194197    echo "<p style=\"color:red\">ERROR: {$mesg}</p>";
     
    211214    <tr>
    212215      <td><?php _e('Username:', 'nitwpress') ?></td>
    213       <td><input type="text" name="nitwpress_username" value="<?php echo htmlspecialchars($options['username']) ?>" /></td>
     216      <td><input type="text" name="nitwpress_username" value="<?php echo htmlspecialchars($options['username']) ?>" size="20" /></td>
    214217    </tr>
    215218
    216219    <tr>
    217220      <td><?php _e('Password:', 'nitwpress') ?></td>
    218       <td><input type="password" name="nitwpress_password" value="<?php echo htmlspecialchars($options['password']) ?>" /></td>
     221      <td><input type="password" name="nitwpress_password" value="<?php echo htmlspecialchars($options['password']) ?>" size="20" /></td>
    219222    </tr>
    220223  </table>
Note: See TracChangeset for help on using the changeset viewer.