PluginProbe
FeedWordPress / 2009.1111
FeedWordPress v2009.1111
trunk 0.8 0.9 0.91 0.95 0.96 0.97 0.98 0.981 0.99 0.991 0.992 0.993 2008.1030 2008.1101 2008.1105 2008.1214 2009.0612 2009.0613 2009.0618 2009.0707 2009.1111 2009.1112 2010.0127 2010.0528 All 65 releases
← All changes | admin-ui.php +3 -31 2010.01272009.1111 View file →
@@ -388,35 +388,12 @@
388 388 if (!is_array($tags)) : $tags = array(); endif;
389 389
390 390 $desc = "<p style=\"font-size:smaller;font-style:bold;margin:0\">Tag $object as...</p>";
391 391
392 - if (fwp_test_wp_version(FWP_SCHEMA_29)) : // WordPress 2.9+
393 - print $desc;
394 - $tax_name = 'post_tag';
395 - $helps = __('Separate tags with commas.');
396 - $box['title'] = __('Tags');
397 - ?>
398 - <div class="tagsdiv" id="<?php echo $tax_name; ?>">
399 - <div class="jaxtag">
400 - <div class="nojs-tags hide-if-js">
401 - <p><?php _e('Add or remove tags'); ?></p>
402 - <textarea name="<?php echo "tax_input[$tax_name]"; ?>" class="the-tags" id="tax-input[<?php echo $tax_name; ?>]"><?php echo esc_attr(implode(",", $tags)); ?></textarea></div>
403 -
404 - <div class="ajaxtag hide-if-no-js">
405 - <label class="screen-reader-text" for="new-tag-<?php echo $tax_name; ?>"><?php echo $box['title']; ?></label>
406 - <div class="taghint"><?php _e('Add new tag'); ?></div>
407 - <input type="text" id="new-tag-<?php echo $tax_name; ?>" name="newtag[<?php echo $tax_name; ?>]" class="newtag form-input-tip" size="16" autocomplete="off" value="" />
408 - <input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" tabindex="3" />
409 - </div></div>
410 - <p class="howto"><?php echo $helps; ?></p>
411 - <div class="tagchecklist"></div>
412 - </div>
413 - <p class="hide-if-no-js"><a href="#titlediv" class="tagcloud-link" id="link-<?php echo $tax_name; ?>"><?php printf( __('Choose from the most used tags in %s'), $box['title'] ); ?></a></p>
414 -<?php
415 - elseif (fwp_test_wp_version(FWP_SCHEMA_28)) : // WordPress 2.8+
392 + if (fwp_test_wp_version(FWP_SCHEMA_28)) : // WordPress 2.8+
416 393 ?>
417 - <?php print $desc; ?>
418 - <div class="tagsdiv" id="post_tag">
394 + <?php print $desc; ?>
395 + <div class="tagsdiv" id="post_tag">
419 396 <div class="jaxtag">
420 397 <div class="nojs-tags hide-if-js">
421 398 <p><?php _e('Add or remove tags'); ?></p>
422 399 <textarea name="tax_input[post_tag]" class="the-tags" id="tax-input[post_tag]"><?php echo implode(",", $tags); ?></textarea>
@@ -603,13 +580,8 @@
603 580 /*static*/ function fix_toggles_js ($context) {
604 581 ?>
605 582 <script type="text/javascript">
606 583 jQuery(document).ready( function($) {
607 - <?php if (FeedWordPressCompatibility::test_version(FWP_SCHEMA_29)) : ?>
608 - if ( $('#post_tag').length ) {
609 - tagBox.init();
610 - }
611 - <?php endif; ?>
612 584 <?php if (FeedWordPressCompatibility::test_version(FWP_SCHEMA_25, FWP_SCHEMA_27)) : ?>
613 585 // In case someone got here first...
614 586 jQuery('.postbox h3').unbind('click');
615 587