Changeset 3982
- Timestamp:
- 07/05/2006 08:21:45 PM (18 years ago)
- Location:
- branches/2.0/wp-admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-admin/edit-form-advanced.php
r3923 r3982 157 157 158 158 <script type="text/javascript"> 159 <!-- 159 // <![CDATA[ 160 160 edCanvas = document.getElementById('content'); 161 161 <?php if ( user_can_richedit() ) : ?> … … 192 192 } 193 193 <?php endif; ?> 194 // -->194 // ]]> 195 195 </script> 196 196 -
branches/2.0/wp-admin/edit-page-form.php
r3933 r3982 38 38 39 39 <script type="text/javascript"> 40 <!-- 40 // <![CDATA[ 41 41 function focusit() { // focus on first input field 42 42 document.post.title.focus(); 43 43 } 44 44 addLoadEvent(focusit); 45 // -->45 // ]]> 46 46 </script> 47 47 <div id="poststuff"> … … 75 75 76 76 <?php if ( 0 != count( get_page_templates() ) ) { ?> 77 <fieldset id="page parent" class="dbx-box">77 <fieldset id="pagetemplate" class="dbx-box"> 78 78 <h3 class="dbx-handle"><?php _e('Page Template:') ?></h3> 79 79 <div class="dbx-content"><p><select name="page_template"> -
branches/2.0/wp-admin/inline-uploading.php
r3937 r3982 239 239 $ypadding = (96 - $image['uheight']) / 2; 240 240 $style .= "#target{$ID} img { padding: {$ypadding}px {$xpadding}px; }\n"; 241 $title = htmlentities($image['post_title'], ENT_QUOTES);241 $title = wp_specialchars($image['post_title'], ENT_QUOTES); 242 242 $script .= "aa[{$ID}] = '<a id=\"p{$ID}\" rel=\"attachment\" class=\"imagelink\" href=\"$href\" onclick=\"doPopup({$ID});return false;\" title=\"{$title}\">'; 243 243 ab[{$ID}] = '<a class=\"imagelink\" href=\"{$image['guid']}\" onclick=\"doPopup({$ID});return false;\" title=\"{$title}\">'; … … 259 259 "; 260 260 } else { 261 $title = htmlentities($attachment['post_title'], ENT_QUOTES);261 $title = wp_specialchars($attachment['post_title'], ENT_QUOTES); 262 262 $filename = basename($attachment['guid']); 263 263 $icon = get_attachment_icon($ID); … … 300 300 <head> 301 301 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>" /> 302 <title></title> 302 303 <meta http-equiv="imagetoolbar" content="no" /> 303 304 <script type="text/javascript"> 305 // <![CDATA[ 304 306 /* Define any variables we'll need, such as alternate URLs. */ 305 307 <?php echo $script; ?> … … 439 441 win.edInsertContent(win.edCanvas, h); 440 442 } 443 // ]]> 441 444 </script> 442 445 <style type="text/css"> … … 679 682 <?php elseif ( $action == 'upload' ) : ?> 680 683 <div class="tip"></div> 681 <form enctype="multipart/form-data" id="uploadForm" method=" POST" action="<?php echo basename(__FILE__); ?>">684 <form enctype="multipart/form-data" id="uploadForm" method="post" action="<?php echo basename(__FILE__); ?>"> 682 685 <table style="width:99%;"> 683 686 <tr> … … 710 713 </tr> 711 714 </table> 712 </div>713 715 </form> 714 716 <?php elseif ( $action == 'links' ) : ?> -
branches/2.0/wp-admin/moderation.php
r3937 r3982 153 153 <?php 154 154 echo " <a href=\"" . wp_nonce_url("post.php?action=deletecomment&p=".$comment->comment_post_ID."&comment=".$comment->comment_ID, 'delete-comment_' . $comment->comment_ID) . "\" onclick=\"return deleteSomething( 'comment', $comment->comment_ID, '" . __("You are about to delete this comment.\\n"Cancel" to stop, "OK" to delete.") . "' );\">" . __('Delete just this comment') . "</a> | "; ?> <?php _e('Bulk action:') ?> 155 <input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment [<?php echo $comment->comment_ID; ?>]-approve" value="approve" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-approve"><?php _e('Approve') ?></label>156 <input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment [<?php echo $comment->comment_ID; ?>]-spam" value="spam" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-spam"><?php _e('Spam') ?></label>157 <input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment [<?php echo $comment->comment_ID; ?>]-delete" value="delete" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-delete"><?php _e('Delete') ?></label>158 <input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment [<?php echo $comment->comment_ID; ?>]-nothing" value="later" checked="checked" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-nothing"><?php _e('Defer until later') ?></label>155 <input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment-<?php echo $comment->comment_ID; ?>-approve" value="approve" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-approve"><?php _e('Approve') ?></label> 156 <input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment-<?php echo $comment->comment_ID; ?>-spam" value="spam" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-spam"><?php _e('Spam') ?></label> 157 <input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment-<?php echo $comment->comment_ID; ?>-delete" value="delete" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-delete"><?php _e('Delete') ?></label> 158 <input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment-<?php echo $comment->comment_ID; ?>-nothing" value="later" checked="checked" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-nothing"><?php _e('Defer until later') ?></label> 159 159 </p> 160 160
Note: See TracChangeset
for help on using the changeset viewer.