PluginProbe
FeedWordPress / 2009.0612
FeedWordPress v2009.0612
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 +11 -40 2009.07072009.0612 View file →
@@ -83,47 +83,20 @@
83 83 <?php
84 84 endif;
85 85 }
86 86
87 -function fwp_tags_box ($tags, $object) {
87 +function fwp_tags_box ($tags) {
88 88 if (!is_array($tags)) : $tags = array(); endif;
89 -
90 - $desc = "<p style=\"font-size:smaller;font-style:bold;margin:0\">Tag $object as...</p>";
91 -
92 - if (fwp_test_wp_version(FWP_SCHEMA_28)) : // WordPress 2.8+
93 - fwp_option_box_opener(__('Tags'), 'tagsdiv', 'postbox');
94 89 ?>
95 - <?php print $desc; ?>
96 - <div class="tagsdiv" id="post_tag">
97 - <div class="jaxtag">
98 - <div class="nojs-tags hide-if-js">
99 - <p><?php _e('Add or remove tags'); ?></p>
100 - <textarea name="tax_input[post_tag]" class="the-tags" id="tax-input[post_tag]"><?php echo implode(",", $tags); ?></textarea>
101 - </div>
102 -
103 - <span class="ajaxtag hide-if-no-js">
104 - <label class="screen-reader-text" for="new-tag-post_tag"><?php _e('Tags'); ?></label>
105 - <input type="text" id="new-tag-post_tag" name="newtag[post_tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="<?php esc_attr_e('Add new tag'); ?>" />
106 - <input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" />
107 - </span>
108 - </div>
109 - <p class="howto"><?php echo __('Separate tags with commas.'); ?></p>
110 - <div class="tagchecklist"></div>
111 - </div>
112 - <p class="tagcloud-link hide-if-no-js"><a href="#titlediv" class="tagcloud-link" id="link-post_tag"><?php printf( __('Choose from the most used tags in %s'), 'Post Tags'); ?></a></p>
113 - </div>
114 - </div>
90 +<div id="tagsdiv" class="postbox">
91 + <h3><?php _e('Tags') ?></h3>
92 + <p style="font-size:smaller;font-style:bold;margin:0">Place <?php print $object; ?> under...</p>
93 + <div class="inside">
94 + <p id="jaxtag"><input type="text" name="tags_input" class="tags-input" id="tags-input" size="40" tabindex="3" value="<?php echo implode(",", $tags); ?>" /></p>
95 + <div id="tagchecklist"></div>
96 + </div>
97 +</div>
115 98 <?php
116 - else :
117 - fwp_option_box_opener(__('Tags'), 'tagsdiv', 'postbox');
118 -?>
119 - <?php print $desc; ?>
120 - <p id="jaxtag"><input type="text" name="tags_input" class="tags-input" id="tags-input" size="40" tabindex="3" value="<?php echo implode(",", $tags); ?>" /></p>
121 - <div id="tagchecklist"></div>
122 - </div>
123 - </div>
124 -<?php
125 - endif;
126 99 }
127 100
128 101 function fwp_category_box ($checked, $object, $tags = array()) {
129 102 global $wp_db_version;
@@ -141,16 +114,14 @@
141 114 </p>
142 115 </div>
143 116
144 117 <ul id="category-tabs">
145 - <?php /* ui-tabs-selected in WP 2.7 CSS = tabs in WP 2.8 CSS. Thank you, o brilliant wordsmiths of the WordPress 2.8 stylesheet... */ ?>
146 - <li class="ui-tabs-selected tabs"><a href="#categories-all" tabindex="3"><?php _e( 'All posts' ); ?></a>
118 + <li class="ui-tabs-selected"><a href="#categories-all" tabindex="3"><?php _e( 'All posts' ); ?></a>
147 119 <p style="font-size:smaller;font-style:bold;margin:0">Give <?php print $object; ?> these categories</p>
148 120 </li>
149 121 </ul>
150 122
151 -<?php /* ui-tabs-panel in WP 2.7 CSS = tabs-panel in WP 2.8 CSS. Thank you, o brilliant wordsmiths of the WordPress 2.8 stylesheet... */ ?>
152 -<div id="categories-all" class="ui-tabs-panel tabs-panel">
123 +<div id="categories-all" class="ui-tabs-panel">
153 124 <ul id="categorychecklist" class="list:category categorychecklist form-no-clear">
154 125 <?php fwp_category_checklist(NULL, false, $checked) ?>
155 126 </ul>
156 127 </div>