Skip to content

Commit

Permalink
#52 Use placeholders
Browse files Browse the repository at this point in the history
Improvements for placeholders
  • Loading branch information
Yannick committed May 5, 2013
1 parent c1fee58 commit 83b583d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin_forums.php
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@

?>
</select>
<input type="text" name="new_forum" size="30" maxlength="80" />
<input type="text" name="new_forum" size="30" maxlength="80" placeholder="<?php echo $lang_admin_forums['Forum name PH'] ?>" />
<span><?php echo $lang_admin_forums['Add forum help'] ?></span>
</td>
</tr>
Expand Down
1 change: 1 addition & 0 deletions lang/English/admin_forums.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
'Add forum label' => 'Add forum to category',
'Add forum help' => 'Select the category to which you wish to add a new forum and give it a name.',
'Add forum' => 'Add forum',
'Forum name PH' => 'Forum name',
'No categories exist' => 'No categories exist',
'Edit forums head' => 'Edit forums',
'Category subhead' => 'Category:',
Expand Down
2 changes: 1 addition & 1 deletion style/Randomness.css
Original file line number Diff line number Diff line change
Expand Up @@ -1795,5 +1795,5 @@ select {
}

.pun input:-moz-placeholder, textarea:-moz-placeholder, .pun input:-ms-input-placeholder, textarea:-ms-input-placeholder, .pun input:, textarea: {
color: #999;
color: #bbb;
}

0 comments on commit 83b583d

Please sign in to comment.