Added textarea rows as configurable option
git-svn-id: https://develop.svn.wordpress.org/trunk@289 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
644c5d0ffb
commit
fa6f874c3a
|
@ -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