mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Added textarea rows as configurable option
git-svn-id: http://svn.automattic.com/wordpress/trunk@289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f0d68c2b0e
commit
24262bb42f
@ -164,7 +164,13 @@ if ($action != 'editcomment') {
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<textarea rows="9" cols="40" style="width:100%" name="content" tabindex="4" wrap="virtual" id="content"><?php echo $content ?></textarea><br />
|
<?php
|
||||||
|
$rows = get_settings('default_post_edit_rows');
|
||||||
|
if (($rows < 3) || ($rows > 100)) {
|
||||||
|
$rows = 9;
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
<textarea rows="<?php echo $rows; ?>" cols="40" style="width:100%" name="content" tabindex="4" wrap="virtual" id="content"><?php echo $content ?></textarea><br />
|
||||||
|
|
||||||
<?php echo $form_pingback ?>
|
<?php echo $form_pingback ?>
|
||||||
<?php echo $form_prevstatus ?>
|
<?php echo $form_prevstatus ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user