Changeset 9434 for trunk/wp-includes/general-template.php
- Timestamp:
- 10/31/2008 04:52:55 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/general-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r9384 r9434 1479 1479 $rows = 12; 1480 1480 1481 $rows = "rows='$rows'"; ?> 1481 $richedit = user_can_richedit(); 1482 $rows = "rows='$rows'"; 1483 1484 if ( $richedit || $media_buttons ) { ?> 1482 1485 <div id="editor-toolbar"> 1483 <?php if ( user_can_richedit()) {1486 <?php if ( $richedit ) { 1484 1487 $wp_default_editor = wp_default_editor(); ?> 1485 1488 <div class="zerosize"><input accesskey="e" type="button" onclick="switchEditors.go('<?php echo $id; ?>')" /></div> … … 1492 1495 <a id="edButtonHTML" onclick="switchEditors.go('<?php echo $id; ?>', 'html');"><?php _e('HTML'); ?></a> 1493 1496 <a id="edButtonPreview" class="active" onclick="switchEditors.go('<?php echo $id; ?>', 'tinymce');"><?php _e('Visual'); ?></a> 1494 <?php } 1495 } 1496 1497 if ( $media_buttons ) { ?> 1498 <div id="media-buttons" class="hide-if-no-js"> 1499 <?php do_action( 'media_buttons' ); ?> 1500 </div> 1497 <?php } 1498 } 1499 1500 if ( $media_buttons ) { ?> 1501 <div id="media-buttons" class="hide-if-no-js"> 1502 <?php do_action( 'media_buttons' ); ?> 1503 </div> 1504 <?php } ?> 1505 </div> 1501 1506 <?php } ?> 1502 </div>1503 1507 1504 1508 <div id="quicktags">
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)