| @@ -43,8 +43,27 @@ | ||
| 43 | 43 | <?php |
| 44 | 44 | endif; |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | +function fwp_authors_single_submit ($link = NULL) { | |
| 48 | + global $wp_db_version; | |
| 49 | + | |
| 50 | + if (fwp_test_wp_version(FWP_SCHEMA_25)) : | |
| 51 | +?> | |
| 52 | +<div class="submitbox" id="submitlink"> | |
| 53 | +<div id="previewview"> | |
| 54 | +</div> | |
| 55 | +<div class="inside"> | |
| 56 | +</div> | |
| 57 | + | |
| 58 | +<p class="submit"> | |
| 59 | +<input type="submit" name="save" value="<?php _e('Save') ?>" /> | |
| 60 | +</p> | |
| 61 | +</div> | |
| 62 | +<?php | |
| 63 | + endif; | |
| 64 | +} | |
| 65 | + | |
| 47 | 66 | function fwp_option_box_opener ($legend, $id, $class = "stuffbox") { |
| 48 | 67 | global $wp_db_version; |
| 49 | 68 | if (isset($wp_db_version) and $wp_db_version >= FWP_SCHEMA_25) : |
| 50 | 69 | ?> |
| @@ -141,10 +160,13 @@ | ||
| 141 | 160 | } |
| 142 | 161 | |
| 143 | 162 | function update_feeds_mention ($feed) { |
| 144 | 163 | echo "<li>Updating <cite>".$feed['link/name']."</cite> from <<a href=\"" |
| 145 | - .$feed['link/uri']."\">".$feed['link/uri']."</a>> ...</li>\n"; | |
| 164 | + .$feed['link/uri']."\">".$feed['link/uri']."</a>> ..."; | |
| 146 | 165 | flush(); |
| 166 | +} | |
| 167 | +function update_feeds_finish ($feed, $added, $dt) { | |
| 168 | + echo " completed in $dt second".(($dt==1)?'':'s')."</li>\n"; | |
| 147 | 169 | } |
| 148 | 170 | |
| 149 | 171 | function fwp_author_list () { |
| 150 | 172 | global $wpdb; |