Make WordPress Core

Changeset 10237


Ignore:
Timestamp:
12/21/2008 12:34:12 PM (16 years ago)
Author:
azaozz
Message:

Press This updates for multi-taxonomies, props noel, fixes #8669

Location:
trunk/wp-admin
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/colors-classic.css

    r10222 r10237  
    926926
    927927.wp_themeSkin tr.mceFirst td.mceToolbar {
    928     background-color: #dfdfdf;
     928    background: #dfdfdf url("../images/ed-bg.gif") repeat-x scroll left top;
    929929    border-color: #dfdfdf;
    930930}
  • trunk/wp-admin/css/colors-fresh.css

    r10222 r10237  
    926926
    927927.wp_themeSkin tr.mceFirst td.mceToolbar {
    928     background-color: #dfdfdf;
     928    background: #dfdfdf url("../images/ed-bg.gif") repeat-x scroll left top;
    929929    border-color: #dfdfdf;
    930930}
  • trunk/wp-admin/css/press-this.css

    r10223 r10237  
    568568    display: none;
    569569}
     570
     571.postbox input[type="text"],
     572.postbox textarea {
     573    border-width: 1px;
     574    border-style: solid;
     575}
  • trunk/wp-admin/press-this.php

    r10127 r10237  
    350350?>
    351351    <script type="text/javascript">
    352     jQuery('#tags-input').hide();
    353     tag_update_quickclicks();
    354     // add the quickadd form
    355     jQuery('#jaxtag').prepend('<span id="ajaxtag"><input type="text" name="newtag" id="newtag" class="form-input-tip" size="16" autocomplete="off" value="'+postL10n.addTag+'" /><input type="submit" class="button" id="tagadd" value="' + postL10n.add + '" tabindex="3" onclick="return false;" /><input type="hidden"/><input type="hidden"/><span class="howto">'+postL10n.separate+'</span></span>');
    356 
    357     jQuery('#tagadd').click( tag_flush_to_text );
    358     jQuery('#newtag').focus(function() {
    359         if ( this.value == postL10n.addTag )
    360             jQuery(this).val( '' ).removeClass( 'form-input-tip' );
    361     });
    362     jQuery('#newtag').blur(function() {
    363         if ( this.value == '' )
    364             jQuery(this).val( postL10n.addTag ).addClass( 'form-input-tip' );
    365     });
    366     // auto-save tags on post save/publish
    367     jQuery('#publish').click( tag_save_on_publish );
    368     jQuery('#save').click( tag_save_on_publish );
    369352    function insert_plain_editor(text) {
    370353        edCanvas = document.getElementById('content');
     
    493476            </div>
    494477
    495             <div class="stuffbox">
    496                 <h2><?php _e('Tags') ?></h2>
     478            <div id="tagsdiv-post_tag" class="postbox" >
     479                <h3><span><?php _e('Post Tags'); ?></span></h3>
    497480                <div class="inside">
    498 
    499                     <div id="jaxtag">
    500                         <label class="hidden" for="newtag"><?php _e('Tags'); ?></label>
    501                         <input type="text" name="tags_input" class="tags-input" id="tags-input" size="40" tabindex="3" value="<?php echo get_tags_to_edit( $post->ID ); ?>" />
     481                    <div class="tagsdiv" id="post_tag">
     482                        <p class="jaxtag">
     483                            <label class="hidden" for="newtag"><?php _e('Post Tags'); ?></label>
     484                            <input type="hidden" name="tax_input[post_tag]" class="the-tags" id="tax-input[post_tag]" value="" />
     485                            <span class="ajaxtag" style="display:none;">
     486                                <input type="text" name="newtag[post_tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="<?php _e('Add new tag'); ?>" />
     487                                <input type="button" class="button tagadd" value="Add" tabindex="3" />
     488                            </span>
     489                        </p>
     490                        <div class="tagchecklist"></div>
    502491                    </div>
    503                     <div id="tagchecklist"></div>
     492                    <p class="tagcloud-link"><a href="#titlediv" class="tagcloud-link" id="link-post_tag"><?php _e('Choose from the most used tags in Post Tags'); ?></a></p>
    504493                </div>
    505494            </div>
     
    510499                        <input class="button" type="submit" name="draft" value="<?php _e('Save Draft') ?>" id="save" />
    511500                        <input class="button-primary" type="submit" name="publish" value="<?php _e('Publish') ?>" id="publish" />
    512                         <img src="images/loading-publish.gif" alt="" id="saving" style="display:none;"/>
     501                        <img src="images/loading-publish.gif" alt="" id="saving" style="display:none;" />
    513502                    </p>
    514503                </div>
     
    543532                    <?php wp_print_scripts( 'quicktags' ); ?>
    544533                    <?php add_filter('the_editor_content', 'wp_richedit_pre'); ?>
    545                     <a id="edButtonHTML" onclick="switchEditors.go('<?php echo $id; ?>', 'html');"><?php _e('HTML'); ?></a>
    546                     <a id="edButtonPreview" class="active" onclick="switchEditors.go('<?php echo $id; ?>', 'tinymce');"><?php _e('Visual'); ?></a>
    547                     <div class="zerosize"><input accesskey="e" type="button" onclick="switchEditors.go('<?php echo $id; ?>')" /></div>
     534                    <a id="edButtonHTML" onclick="switchEditors.go('content', 'html');"><?php _e('HTML'); ?></a>
     535                    <a id="edButtonPreview" class="active" onclick="switchEditors.go('content', 'tinymce');"><?php _e('Visual'); ?></a>
     536                    <div class="zerosize"><input accesskey="e" type="button" onclick="switchEditors.go('content')" /></div>
    548537                </li>
    549538                <?php } ?>
     
    560549</div>
    561550</form>
     551<?php do_action('admin_print_footer_scripts'); ?>
    562552</body>
    563553</html>
  • trunk/wp-admin/wp-admin.css

    r10222 r10237  
    16721672
    16731673.wp_themeSkin tr.mceFirst td.mceToolbar {
    1674     background-image: url("images/ed-bg.gif");
    1675     background-position: left top;
    1676     background-repeat: repeat-x;
    16771674    border-width: 0 0 1px;
    16781675    border-style: none none solid;
Note: See TracChangeset for help on using the changeset viewer.