Press This updates for multi-taxonomies, props noel, fixes #8669
git-svn-id: https://develop.svn.wordpress.org/trunk@10237 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
64f41a22fb
commit
94b9733dff
|
@ -925,7 +925,7 @@ abbr.required,
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp_themeSkin tr.mceFirst td.mceToolbar {
|
.wp_themeSkin tr.mceFirst td.mceToolbar {
|
||||||
background-color: #dfdfdf;
|
background: #dfdfdf url("../images/ed-bg.gif") repeat-x scroll left top;
|
||||||
border-color: #dfdfdf;
|
border-color: #dfdfdf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -925,7 +925,7 @@ abbr.required,
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp_themeSkin tr.mceFirst td.mceToolbar {
|
.wp_themeSkin tr.mceFirst td.mceToolbar {
|
||||||
background-color: #dfdfdf;
|
background: #dfdfdf url("../images/ed-bg.gif") repeat-x scroll left top;
|
||||||
border-color: #dfdfdf;
|
border-color: #dfdfdf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -567,3 +567,9 @@ ul.categorychecklist li {
|
||||||
.hidden {
|
.hidden {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.postbox input[type="text"],
|
||||||
|
.postbox textarea {
|
||||||
|
border-width: 1px;
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
|
|
@ -349,23 +349,6 @@ die;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
jQuery('#tags-input').hide();
|
|
||||||
tag_update_quickclicks();
|
|
||||||
// add the quickadd form
|
|
||||||
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>');
|
|
||||||
|
|
||||||
jQuery('#tagadd').click( tag_flush_to_text );
|
|
||||||
jQuery('#newtag').focus(function() {
|
|
||||||
if ( this.value == postL10n.addTag )
|
|
||||||
jQuery(this).val( '' ).removeClass( 'form-input-tip' );
|
|
||||||
});
|
|
||||||
jQuery('#newtag').blur(function() {
|
|
||||||
if ( this.value == '' )
|
|
||||||
jQuery(this).val( postL10n.addTag ).addClass( 'form-input-tip' );
|
|
||||||
});
|
|
||||||
// auto-save tags on post save/publish
|
|
||||||
jQuery('#publish').click( tag_save_on_publish );
|
|
||||||
jQuery('#save').click( tag_save_on_publish );
|
|
||||||
function insert_plain_editor(text) {
|
function insert_plain_editor(text) {
|
||||||
edCanvas = document.getElementById('content');
|
edCanvas = document.getElementById('content');
|
||||||
edInsertContent(edCanvas, text);
|
edInsertContent(edCanvas, text);
|
||||||
|
@ -492,15 +475,21 @@ die;
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="stuffbox">
|
<div id="tagsdiv-post_tag" class="postbox" >
|
||||||
<h2><?php _e('Tags') ?></h2>
|
<h3><span><?php _e('Post Tags'); ?></span></h3>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
|
<div class="tagsdiv" id="post_tag">
|
||||||
<div id="jaxtag">
|
<p class="jaxtag">
|
||||||
<label class="hidden" for="newtag"><?php _e('Tags'); ?></label>
|
<label class="hidden" for="newtag"><?php _e('Post Tags'); ?></label>
|
||||||
<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 ); ?>" />
|
<input type="hidden" name="tax_input[post_tag]" class="the-tags" id="tax-input[post_tag]" value="" />
|
||||||
|
<span class="ajaxtag" style="display:none;">
|
||||||
|
<input type="text" name="newtag[post_tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="<?php _e('Add new tag'); ?>" />
|
||||||
|
<input type="button" class="button tagadd" value="Add" tabindex="3" />
|
||||||
|
</span>
|
||||||
|
</p>
|
||||||
|
<div class="tagchecklist"></div>
|
||||||
</div>
|
</div>
|
||||||
<div id="tagchecklist"></div>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="submitdiv" class="postbox">
|
<div id="submitdiv" class="postbox">
|
||||||
|
@ -509,7 +498,7 @@ die;
|
||||||
<p>
|
<p>
|
||||||
<input class="button" type="submit" name="draft" value="<?php _e('Save Draft') ?>" id="save" />
|
<input class="button" type="submit" name="draft" value="<?php _e('Save Draft') ?>" id="save" />
|
||||||
<input class="button-primary" type="submit" name="publish" value="<?php _e('Publish') ?>" id="publish" />
|
<input class="button-primary" type="submit" name="publish" value="<?php _e('Publish') ?>" id="publish" />
|
||||||
<img src="images/loading-publish.gif" alt="" id="saving" style="display:none;"/>
|
<img src="images/loading-publish.gif" alt="" id="saving" style="display:none;" />
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -542,9 +531,9 @@ die;
|
||||||
<li id="switcher">
|
<li id="switcher">
|
||||||
<?php wp_print_scripts( 'quicktags' ); ?>
|
<?php wp_print_scripts( 'quicktags' ); ?>
|
||||||
<?php add_filter('the_editor_content', 'wp_richedit_pre'); ?>
|
<?php add_filter('the_editor_content', 'wp_richedit_pre'); ?>
|
||||||
<a id="edButtonHTML" onclick="switchEditors.go('<?php echo $id; ?>', 'html');"><?php _e('HTML'); ?></a>
|
<a id="edButtonHTML" onclick="switchEditors.go('content', 'html');"><?php _e('HTML'); ?></a>
|
||||||
<a id="edButtonPreview" class="active" onclick="switchEditors.go('<?php echo $id; ?>', 'tinymce');"><?php _e('Visual'); ?></a>
|
<a id="edButtonPreview" class="active" onclick="switchEditors.go('content', 'tinymce');"><?php _e('Visual'); ?></a>
|
||||||
<div class="zerosize"><input accesskey="e" type="button" onclick="switchEditors.go('<?php echo $id; ?>')" /></div>
|
<div class="zerosize"><input accesskey="e" type="button" onclick="switchEditors.go('content')" /></div>
|
||||||
</li>
|
</li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -559,5 +548,6 @@ die;
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
<?php do_action('admin_print_footer_scripts'); ?>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1671,9 +1671,6 @@ input#link_url {
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp_themeSkin tr.mceFirst td.mceToolbar {
|
.wp_themeSkin tr.mceFirst td.mceToolbar {
|
||||||
background-image: url("images/ed-bg.gif");
|
|
||||||
background-position: left top;
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
border-width: 0 0 1px;
|
border-width: 0 0 1px;
|
||||||
border-style: none none solid;
|
border-style: none none solid;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue