Make WordPress Core


Ignore:
Timestamp:
11/17/2005 05:47:29 PM (20 years ago)
Author:
ryan
Message:

Big tiny fixes from skeltoac. fixes #1897

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-comment.php

    r2789 r3136  
    55$form_extra = "' />\n<input type='hidden' name='comment_ID' value='" . $comment->comment_ID . "' />\n<input type='hidden' name='comment_post_ID' value='".$comment->comment_post_ID;
    66?>
     7<?php $richedit = ( 'true' != get_user_option('rich_editing') ) ? false : true; ?>
    78
    89<form name="post" action="post.php" method="post" id="post">
     
    3839<fieldset style="clear: both;">
    3940        <legend><?php _e('Comment') ?></legend>
    40 <?php if ( 'true' != get_user_option('rich_editing') ) : ?>
    41 <?php the_quicktags(); ?>
    42 <script type="text/javascript">
    43 <!--
    44 edCanvas = document.getElementById('content');
    45 //-->
    46 </script>
    47 <?php endif; ?>
     41<?php if ( !$richedit ) the_quicktags(); ?>
     42
    4843<?php
    4944 $rows = get_settings('default_post_edit_rows');
     
    5550</fieldset>
    5651
     52<?php if ( !$richedit ) : ?>
     53<script type="text/javascript">
     54<!--
     55edCanvas = document.getElementById('content');
     56//-->
     57</script>
     58<?php endif; ?>
    5759
    5860<p class="submit"><input type="submit" name="editcomment" id="editcomment" value="<?php echo $submitbutton_text ?>" style="font-weight: bold;" tabindex="6" />
Note: See TracChangeset for help on using the changeset viewer.