Changeset 218 for trunk/wp-content/themes/xpress_mu_home
- Timestamp:
- May 20, 2009, 5:59:07 PM (16 years ago)
- Location:
- trunk/wp-content/themes/xpress_mu_home
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/xpress_mu_home/home.php
r217 r218 24 24 echo "</ul>\n"; 25 25 ?> 26 <br /> 26 <br /> 27 28 <?php 29 $date_format = get_settings('date_format'); 30 $blog_count = get_blog_count(); 31 if ($blog_count > 1){ 32 echo '<h3>' . __('New Entries', 'xpress') . "</h3>\n"; 33 34 $blog_list = get_blog_list(); 35 echo "<ul>\n"; 36 for ($i = 0; $i < $blog_count; $i++){ 37 $blog_id = $blog_list[$i]['blog_id']; 38 if ($blog_id == 1) continue; 39 $output_blogs = '<li><a href="' . 40 get_blog_option($blog_id,'siteurl') . '">' . 41 get_blog_option($blog_id,'blogname') . 42 '</a></li>'; 43 echo $output_blogs; 44 45 $wpdb->set_blog_id($blog_id); 46 query_posts("showposts=3&post_status=publish"); 47 if (have_posts()){ 48 echo "<ul>\n"; 49 while(have_posts()){ 50 the_post(); 51 echo '<li>'; 52 echo '<a href="' . $post->guid . '">' . $post->post_title . "</a>\n("; 53 the_time($date_format); 54 echo ")</li>\n"; 55 } 56 echo "</ul>\n"; 57 } 58 } 59 $wpdb->set_blog_id(1); 60 61 echo "</ul>\n"; 62 } 63 ?> 64 27 65 <h3><?php _e('Updated Blogs', 'xpress'); ?></h3> 28 66 <?php -
trunk/wp-content/themes/xpress_mu_home/ja.po
r217 r218 18 18 "Report-Msgid-Bugs-To: wp-polyglots@lists.automattic.com\n" 19 19 "POT-Creation-Date: 2008-08-15 21:16+0900\n" 20 "PO-Revision-Date: 2009-05-20 1 2:39+0900\n"20 "PO-Revision-Date: 2009-05-20 17:08+0900\n" 21 21 "Last-Translator: toemon <toychee@toemon.com>\n" 22 22 "Language-Team: toemon <info@toemon.com>\n" … … 354 354 msgstr "投稿数" 355 355 356 #: home.php:27 356 #: home.php:32 357 msgid "New Entries" 358 msgstr "新着情報" 359 360 #: home.php:63 357 361 msgid "Updated Blogs" 358 362 msgstr "最近更新があったブログ" 359 363 360 #: home.php: 48364 #: home.php:84 361 365 #, php-format 362 366 msgid "Howdy %s" 363 367 msgstr "こんにちは %s さん" 364 368 365 #: home.php: 54369 #: home.php:90 366 370 msgid "Your Blogs list" 367 371 msgstr "あなたのブログリスト" 368 372 369 #: home.php: 65373 #: home.php:101 370 374 msgid "Create a new blog" 371 375 msgstr "新しいブログを作成する"
Note: See TracChangeset
for help on using the changeset viewer.