WordPress.org

Make WordPress Core

Changeset 13510


Ignore:
Timestamp:
02/28/10 19:39:06 (4 years ago)
Author:
nacin
Message:

s/onClick/onclick/. props TobiasBg fixes #12429

Location:
trunk/wp-admin/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r13290 r13510  
    14751475    <?php _e( 'Choose files to upload' ); ?> 
    14761476    <div id="flash-browse-button"></div> 
    1477     <span><input id="cancel-upload" disabled="disabled" onClick="cancelUpload()" type="button" value="<?php esc_attr_e('Cancel Upload'); ?>" class="button" /></span> 
     1477    <span><input id="cancel-upload" disabled="disabled" onclick="cancelUpload()" type="button" value="<?php esc_attr_e('Cancel Upload'); ?>" class="button" /></span> 
    14781478    </div> 
    14791479<?php do_action('post-flash-upload-ui'); ?> 
     
    14861486    <p id="async-upload-wrap"> 
    14871487    <label class="screen-reader-text" for="async-upload"><?php _e('Upload'); ?></label> 
    1488     <input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button" name="html-upload" value="<?php esc_attr_e('Upload'); ?>" /> <a href="#" onClick="try{top.tb_remove();}catch(e){}; return false;"><?php _e('Cancel'); ?></a> 
     1488    <input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button" name="html-upload" value="<?php esc_attr_e('Upload'); ?>" /> <a href="#" onclick="try{top.tb_remove();}catch(e){}; return false;"><?php _e('Cancel'); ?></a> 
    14891489    </p> 
    14901490    <div class="clear"></div> 
     
    20352035                <input name="align" id="align-none" value="none" onclick="addExtImage.align=\'align\'+this.value" type="radio"' . ($default_align == 'none' ? ' checked="checked"' : '').' /> 
    20362036                <label for="align-none" class="align image-align-none-label">' . __('None') . '</label> 
    2037                 <input name="align" id="align-left" value="left" onClick="addExtImage.align=\'align\'+this.value" type="radio"' . ($default_align == 'left' ? ' checked="checked"' : '').' /> 
     2037                <input name="align" id="align-left" value="left" onclick="addExtImage.align=\'align\'+this.value" type="radio"' . ($default_align == 'left' ? ' checked="checked"' : '').' /> 
    20382038                <label for="align-left" class="align image-align-left-label">' . __('Left') . '</label> 
    2039                 <input name="align" id="align-center" value="center" onClick="addExtImage.align=\'align\'+this.value" type="radio"' . ($default_align == 'center' ? ' checked="checked"' : '').' /> 
     2039                <input name="align" id="align-center" value="center" onclick="addExtImage.align=\'align\'+this.value" type="radio"' . ($default_align == 'center' ? ' checked="checked"' : '').' /> 
    20402040                <label for="align-center" class="align image-align-center-label">' . __('Center') . '</label> 
    2041                 <input name="align" id="align-right" value="right" onClick="addExtImage.align=\'align\'+this.value" type="radio"' . ($default_align == 'right' ? ' checked="checked"' : '').' /> 
     2041                <input name="align" id="align-right" value="right" onclick="addExtImage.align=\'align\'+this.value" type="radio"' . ($default_align == 'right' ? ' checked="checked"' : '').' /> 
    20422042                <label for="align-right" class="align image-align-right-label">' . __('Right') . '</label> 
    20432043            </td> 
     
    20502050            <td class="field"><input id="url" name="url" value="" type="text" /><br /> 
    20512051 
    2052             <button type="button" class="button" value="" onClick="document.forms[0].url.value=null">' . __('None') . '</button> 
    2053             <button type="button" class="button" value="" onClick="document.forms[0].url.value=document.forms[0].src.value">' . __('Link to image') . '</button> 
     2052            <button type="button" class="button" value="" onclick="document.forms[0].url.value=null">' . __('None') . '</button> 
     2053            <button type="button" class="button" value="" onclick="document.forms[0].url.value=document.forms[0].src.value">' . __('Link to image') . '</button> 
    20542054            <p class="help">' . __('Enter a link URL or click above for presets.') . '</p></td> 
    20552055        </tr> 
     
    20582058            <td></td> 
    20592059            <td> 
    2060                 <input type="button" class="button" id="go_button" style="color:#bbb;" onClick="addExtImage.insert()" value="' . esc_attr__('Insert into Post') . '" /> 
     2060                <input type="button" class="button" id="go_button" style="color:#bbb;" onclick="addExtImage.insert()" value="' . esc_attr__('Insert into Post') . '" /> 
    20612061            </td> 
    20622062        </tr> 
  • trunk/wp-admin/includes/template.php

    r13503 r13510  
    24562456</select> 
    24572457<input class="hide-if-js" type="text" id="metakeyinput" name="metakeyinput" tabindex="7" value="" /> 
    2458 <a href="#postcustomstuff" class="hide-if-no-js" onClick="jQuery('#metakeyinput, #metakeyselect, #enternew, #cancelnew').toggle();return false;"> 
     2458<a href="#postcustomstuff" class="hide-if-no-js" onclick="jQuery('#metakeyinput, #metakeyselect, #enternew, #cancelnew').toggle();return false;"> 
    24592459<span id="enternew"><?php _e('Enter new'); ?></span> 
    24602460<span id="cancelnew" class="hidden"><?php _e('Cancel'); ?></span></a> 
     
    32893289                <label class="screen-reader-text" for="find-posts-input"><?php _e( 'Search' ); ?></label> 
    32903290                <input type="text" id="find-posts-input" name="ps" value="" /> 
    3291                 <input type="button" onClick="findPosts.send();" value="<?php esc_attr_e( 'Search' ); ?>" class="button" /><br /> 
     3291                <input type="button" onclick="findPosts.send();" value="<?php esc_attr_e( 'Search' ); ?>" class="button" /><br /> 
    32923292 
    32933293                <input type="radio" name="find-posts-what" id="find-posts-posts" checked="checked" value="posts" /> 
     
    32993299        </div> 
    33003300        <div class="find-box-buttons"> 
    3301             <input type="button" class="button alignleft" onClick="findPosts.close();" value="<?php esc_attr_e('Close'); ?>" /> 
     3301            <input type="button" class="button alignleft" onclick="findPosts.close();" value="<?php esc_attr_e('Close'); ?>" /> 
    33023302            <input id="find-posts-submit" type="submit" class="button-primary alignright" value="<?php esc_attr_e('Select'); ?>" /> 
    33033303        </div> 
Note: See TracChangeset for help on using the changeset viewer.