- Timestamp:
- May 20, 2009, 5:59:07 PM (15 years ago)
- Location:
- trunk/wp-content
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/plugins/xpressme/include/custom_functions.php
r214 r218 35 35 } 36 36 37 function xpress_is_wpmu() { 38 global $xoops_config; 39 40 return $xoops_config->is_wpmu; 41 } 42 37 43 function xpress_selected_author($show=true ) { 38 44 $output = ''; -
trunk/wp-content/plugins/xpressme/language/xpressme-ja.po
r203 r218 3 3 "Project-Id-Version: XPressME Plugin\n" 4 4 "POT-Creation-Date: \n" 5 "PO-Revision-Date: 2009-05- 05 22:35+0900\n"5 "PO-Revision-Date: 2009-05-20 16:34+0900\n" 6 6 "Last-Translator: toemon <toychee@toemon.com>\n" 7 7 "Language-Team: \n" … … 45 45 #: xpressme_class.php:276 46 46 #: xpressme_class.php:292 47 #: xpressme_class.php:72148 47 #: xpressme_class.php:726 49 #: xpressme_class.php:732 50 #: xpressme_class.php:743 51 #: xpressme_class.php:749 48 #: xpressme_class.php:731 49 #: xpressme_class.php:737 50 #: xpressme_class.php:748 51 #: xpressme_class.php:754 52 52 msgid "YES" 53 53 msgstr "はい" … … 55 55 #: xpressme_class.php:277 56 56 #: xpressme_class.php:293 57 #: xpressme_class.php:72258 57 #: xpressme_class.php:727 59 #: xpressme_class.php:733 60 #: xpressme_class.php:744 61 #: xpressme_class.php:750 58 #: xpressme_class.php:732 59 #: xpressme_class.php:738 60 #: xpressme_class.php:749 61 #: xpressme_class.php:755 62 62 msgid "NO" 63 63 msgstr "いいえ" … … 148 148 msgstr "ユーザ登録しない" 149 149 150 #: xpressme_class.php:483 150 #: xpressme_class.php:485 151 msgid "WordPress MU cannot integrate the comments." 152 msgstr "WordPress MUはコメント統合できません。" 153 154 #: xpressme_class.php:487 151 155 msgid "Do Not Comment Integration." 152 156 msgstr "コメント統合しません。" 153 157 154 #: xpressme_class.php:5 17158 #: xpressme_class.php:522 155 159 msgid "Comment integration with D3Forum" 156 160 msgstr "D3Forumとのコメント統合" 157 161 158 #: xpressme_class.php:5 19162 #: xpressme_class.php:524 159 163 msgid "Select the forum of D3Forum that does the comment integration from the following lists." 160 164 msgstr "以下のリストからコメント統合をするD3Forumのフォーラムを選択してください。" 161 165 162 #: xpressme_class.php:52 3166 #: xpressme_class.php:528 163 167 msgid "Select the Type of display of D3Forum comment." 164 168 msgstr "D3Forumの表示タイプを選択" 165 169 166 #: xpressme_class.php:5 25167 #: xpressme_class.php:5 28170 #: xpressme_class.php:530 171 #: xpressme_class.php:533 168 172 msgid "Flat" 169 173 msgstr "フラット" 170 174 171 #: xpressme_class.php:5 26172 #: xpressme_class.php:5 29175 #: xpressme_class.php:531 176 #: xpressme_class.php:534 173 177 msgid "Threaded" 174 178 msgstr "スレッド" 175 179 176 #: xpressme_class.php:53 2180 #: xpressme_class.php:537 177 181 msgid "Select the order of display of D3Forum comment." 178 182 msgstr "D3Forumコメントの表示順を選択" 179 183 180 #: xpressme_class.php:53 4181 #: xpressme_class.php:5 37184 #: xpressme_class.php:539 185 #: xpressme_class.php:542 182 186 msgid "DESC" 183 187 msgstr "降順" 184 188 185 #: xpressme_class.php:5 35186 #: xpressme_class.php:5 38189 #: xpressme_class.php:540 190 #: xpressme_class.php:543 187 191 msgid "ASC" 188 192 msgstr "昇順" 189 193 190 #: xpressme_class.php:54 1194 #: xpressme_class.php:546 191 195 msgid "Number of displays of D3Forum comments." 192 196 msgstr "D3Forumのコメント表示数" 193 197 194 #: xpressme_class.php:5 45198 #: xpressme_class.php:550 195 199 msgid "The import and the export between Wordpress Comments and the D3Forum Posts can be done. " 196 200 msgstr "WordPressコメントとD3Forumポスト間の一括転送(エクスポート・インポート)" 197 201 198 #: xpressme_class.php:5 46202 #: xpressme_class.php:551 199 203 msgid "Export to D3Forum" 200 204 msgstr "D3Forumへ一括エクスポート" 201 205 202 #: xpressme_class.php:5 47206 #: xpressme_class.php:552 203 207 msgid "Import from D3Forum" 204 208 msgstr "D3Forumから一括インポート" 205 209 206 #: xpressme_class.php:5 59210 #: xpressme_class.php:564 207 211 msgid "Contents Excerpt Setting" 208 212 msgstr "記事抜粋の設定" 209 213 210 #: xpressme_class.php:56 4214 #: xpressme_class.php:569 211 215 msgid "Is the excerpt display done with the archive of contents?" 212 216 msgstr "記事のアーカイブで抜粋表示を行いますか?" 213 217 214 #: xpressme_class.php:57 1218 #: xpressme_class.php:576 215 219 msgid "When ASCII character more than the set ratio is included, it is judged ASCII contents. " 216 220 msgstr "ASCII文字が含まれる比率が設定された値より大きい場合、ASCII文字コンテンツと判断します。" 217 221 218 #: xpressme_class.php:5 78222 #: xpressme_class.php:583 219 223 msgid "Excerpt length of word for ASCII contents" 220 224 msgstr "ASCIIコンテンツの抜粋単語数" 221 225 222 #: xpressme_class.php:5 85226 #: xpressme_class.php:590 223 227 msgid "Excerpt length of character for multibyte contents" 224 228 msgstr "マルチバイトコンテンツの抜粋文字数" 225 229 226 #: xpressme_class.php:59 2230 #: xpressme_class.php:597 227 231 msgid "More Link Text (Is not displayed for the blank.)" 228 232 msgstr "Moreリンクテキスト(ブランクの場合リンクを表示しません。)" 229 233 230 #: xpressme_class.php:60 4234 #: xpressme_class.php:609 231 235 msgid "Display Mode Setting" 232 236 msgstr "表示モード設定" 233 237 234 #: xpressme_class.php:6 07238 #: xpressme_class.php:612 235 239 msgid "Select the XPressME Display Mode." 236 240 msgstr "XPressMEの表示モードの選択" 237 241 238 #: xpressme_class.php:61 2242 #: xpressme_class.php:617 239 243 msgid "Xoops Mode" 240 244 msgstr "XOOPSモード" 241 245 242 #: xpressme_class.php:6 16246 #: xpressme_class.php:621 243 247 msgid "WordPress Mode" 244 248 msgstr "WordPressモード" 245 249 246 #: xpressme_class.php:62 0250 #: xpressme_class.php:625 247 251 msgid "User select" 248 252 msgstr "ユーザによる選択" 249 253 250 #: xpressme_class.php:63 0254 #: xpressme_class.php:635 251 255 msgid "Header Meta Option" 252 256 msgstr "ヘッダメタ オプション" 253 257 254 #: xpressme_class.php:6 35258 #: xpressme_class.php:640 255 259 msgid "Select the Header keyword." 256 260 msgstr "ヘッダで使用するキーワードの選択" 257 261 258 #: xpressme_class.php:64 0262 #: xpressme_class.php:645 259 263 msgid "Xoops KeyWord" 260 264 msgstr "XOOPSのキーワード" 261 265 262 #: xpressme_class.php:64 3266 #: xpressme_class.php:648 263 267 msgid "WordPress KeyWord" 264 268 msgstr "WordPressのキーワード" 265 269 266 #: xpressme_class.php:6 46270 #: xpressme_class.php:651 267 271 msgid "WordPress & Xoops KeyWord" 268 272 msgstr "WordPressjとXOOPSのキーワード" 269 273 270 #: xpressme_class.php:65 2274 #: xpressme_class.php:657 271 275 msgid "Select the Header Description." 272 276 msgstr "ヘッダで使用するディスクリプション(説明)の選択" 273 277 274 #: xpressme_class.php:6 57278 #: xpressme_class.php:662 275 279 msgid "Xoops Description" 276 280 msgstr "XOOPSのディスクリプション" 277 281 278 #: xpressme_class.php:66 0282 #: xpressme_class.php:665 279 283 msgid "WordPress Description" 280 284 msgstr "WordPressのディスクリプション" 281 285 282 #: xpressme_class.php:66 3286 #: xpressme_class.php:668 283 287 msgid "WordPress & Xoops Description" 284 288 msgstr "WordPressとXOOPSのディスクリプション" 285 289 286 #: xpressme_class.php:6 69290 #: xpressme_class.php:674 287 291 msgid "Select the Header Robots Index." 288 292 msgstr "ヘッダで使用するロボットインデックスの選択" 289 293 290 #: xpressme_class.php:67 4294 #: xpressme_class.php:679 291 295 msgid "Xoops Robots Index" 292 296 msgstr "XOOPSのロボットインデックス" 293 297 294 #: xpressme_class.php:6 77298 #: xpressme_class.php:682 295 299 msgid "WordPress Robots Index" 296 300 msgstr "WordPressのロボットインデックス" 297 301 298 #: xpressme_class.php:71 0302 #: xpressme_class.php:715 299 303 msgid "XPressME Configuration Page" 300 304 msgstr "XPressMEの設定ページ" 301 305 302 #: xpressme_class.php:7 15306 #: xpressme_class.php:720 303 307 msgid "Media Upload Base Path" 304 308 msgstr "メディアアップロードのベースパス設定" 305 309 306 #: xpressme_class.php:7 16310 #: xpressme_class.php:721 307 311 msgid "Use XOOPS UPLOAD PATH" 308 312 msgstr "XOOPSのアップロードパスを使用する。" 309 313 310 #: xpressme_class.php:7 17314 #: xpressme_class.php:722 311 315 msgid "USE WordPress BASE_PATH" 312 316 msgstr "WordPressのベースパスを使用する。" 313 317 314 #: xpressme_class.php:72 0318 #: xpressme_class.php:725 315 319 msgid "Thema Sidebar Display" 316 320 msgstr "テーマ表示時にサイドバー表示する。" 317 321 318 #: xpressme_class.php:7 25322 #: xpressme_class.php:730 319 323 msgid "The change tracking of the post is preserved" 320 324 msgstr "投稿の変更履歴を有効にする。" 321 325 322 #: xpressme_class.php:73 1326 #: xpressme_class.php:736 323 327 msgid "Select Multi user mode" 324 328 msgstr "マルチユーザーモードを選択" 325 329 326 #: xpressme_class.php:74 2330 #: xpressme_class.php:747 327 331 msgid "Is the posts author views counted?" 328 332 msgstr "投稿者の閲覧をカウントしますか?" 329 333 330 #: xpressme_class.php:7 48334 #: xpressme_class.php:753 331 335 msgid "Is SQL debugging window displayed?" 332 336 msgstr "SQLデバッグウィンドを表示しますか?" 333 337 334 #: xpressme_class.php:76 0338 #: xpressme_class.php:765 335 339 msgid "Update Config" 336 340 msgstr "更新" 337 341 338 #: xpressme_class.php:76 1342 #: xpressme_class.php:766 339 343 msgid "Preset Config" 340 344 msgstr "プリセット" … … 345 349 msgstr "%sのパーマリンク" 346 350 347 #: include/custom_functions.php:3 37351 #: include/custom_functions.php:343 348 352 #, php-format 349 353 msgid "views :%d" 350 354 msgstr "閲覧数 :%d" 351 355 352 #: include/custom_functions.php:4 55356 #: include/custom_functions.php:461 353 357 msgid "Main" 354 358 msgstr "メイン" 355 359 356 #: include/custom_functions.php:4 58360 #: include/custom_functions.php:464 357 361 #, php-format 358 362 msgid "Archive for the ‘%s’ Category" 359 363 msgstr "カテゴリー ‘%s’ のアーカイブ" 360 364 361 #: include/custom_functions.php:46 0365 #: include/custom_functions.php:466 362 366 #, php-format 363 367 msgid "Posts Tagged ‘%s’" 364 368 msgstr "‘%s’ タグのついている投稿" 365 369 366 #: include/custom_functions.php:46 2370 #: include/custom_functions.php:468 367 371 #, php-format 368 372 msgid "Archive for %s|Daily archive page" 369 373 msgstr "%sの日別アーカイブ" 370 374 371 #: include/custom_functions.php:46 2375 #: include/custom_functions.php:468 372 376 msgid "F jS, Y" 373 377 msgstr "Y年n月j日" 374 378 375 #: include/custom_functions.php:4 64379 #: include/custom_functions.php:470 376 380 #, php-format 377 381 msgid "Archive for %s|Monthly archive page" 378 382 msgstr "%sの月別アーカイブ" 379 383 380 #: include/custom_functions.php:4 64384 #: include/custom_functions.php:470 381 385 msgid "F, Y" 382 386 msgstr "Y年n月" 383 387 384 #: include/custom_functions.php:4 66388 #: include/custom_functions.php:472 385 389 #, php-format 386 390 msgid "Archive for %s|Yearly archive page" 387 391 msgstr "%sの年別アーカイブ " 388 392 389 #: include/custom_functions.php:4 66393 #: include/custom_functions.php:472 390 394 msgid "Y" 391 395 msgstr "Y年" 392 396 393 #: include/custom_functions.php:4 69397 #: include/custom_functions.php:475 394 398 #, php-format 395 399 msgid "Archive for the ‘%s’ Author" 396 400 msgstr "投稿者 ‘%s’ のアーカイブ" 397 401 398 #: include/custom_functions.php:47 2402 #: include/custom_functions.php:478 399 403 #, php-format 400 404 msgid "Search Results of word ‘%s’" 401 405 msgstr "‘%s’ の検索結果" 402 406 403 #: include/custom_functions.php:4 78404 #: include/custom_functions.php:48 0407 #: include/custom_functions.php:484 408 #: include/custom_functions.php:486 405 409 #, php-format 406 410 msgid "Article of %s" 407 411 msgstr "%sの記事" 408 412 409 #: include/custom_functions.php: 495413 #: include/custom_functions.php:501 410 414 #, php-format 411 415 msgid "From %1$s on site %2$s" 412 416 msgstr "サイト %2$s の %1$s より" 413 417 414 #: include/custom_functions.php:5 18418 #: include/custom_functions.php:524 415 419 #, fuzzy 416 420 msgid "% TrackBack/Pingback" 417 421 msgstr "トラックバック・ピンバック % 件" 418 422 419 #: include/custom_functions.php:52 0423 #: include/custom_functions.php:526 420 424 msgid "No Trackback/Pingback" 421 425 msgstr "トラックバック・ピンバックはありません" 422 426 423 #: include/custom_functions.php:52 2427 #: include/custom_functions.php:528 424 428 msgid "One Trackback/Pingback" 425 429 msgstr "トラックバック・ピンバック 1 件" 426 430 427 #: include/custom_functions.php:63 2431 #: include/custom_functions.php:638 428 432 msgid "Calendar" 429 433 msgstr "カレンダー" 430 434 431 #: include/custom_functions.php:6 65432 #: include/custom_functions.php:6 75435 #: include/custom_functions.php:671 436 #: include/custom_functions.php:681 433 437 #, php-format 434 438 msgid "View posts for %1$s %2$s" -
trunk/wp-content/plugins/xpressme/xpressme_class.php
r202 r218 470 470 471 471 function d3forum_option($do_message = ''){ 472 global $xoops_db ;472 global $xoops_db,$xoops_config; 473 473 474 474 $d3frum_list = array(); … … 481 481 else 482 482 $selected = ''; 483 $forum_list .= '<option value="none"' . $selected . '>' . __('Do Not Comment Integration.', 'xpressme') . "</option>\n"; 484 485 // Form making for forum selection of D3forum 486 $modules_table = get_xoops_prefix() .'modules'; 487 $sql = "SELECT mid,name,isactive,dirname FROM $modules_table WHERE isactive = 1"; 488 $modules = $xoops_db->get_results($sql); 489 foreach ($modules as $module) { 490 $file_path = $module_dir_path . '/modules/' . $module->dirname . '/mytrustdirname.php'; 491 if (! file_exists($file_path)) continue; 492 $array_files = file($file_path); 493 // It is checked whether there is character string "$mytrustdirname ='d3forum'"in the file. 494 foreach ($array_files as $aeey_file){ 495 if( preg_match( "/\s*(mytrustdirname)\s*(=)\s*([\"'])(d3forum)([\"'])/", $aeey_file ) ) { 496 $forums_tb = get_xoops_prefix() . $module->dirname . '_forums'; 497 $cat_tb = get_xoops_prefix() . $module->dirname . '_categories'; 498 $sql= "SELECT * FROM $forums_tb LEFT JOIN $cat_tb ON $forums_tb.cat_id = $cat_tb.cat_id"; 499 $forums = $xoops_db->get_results($sql); 500 foreach ($forums as $forum) { 501 if (($module->dirname == $this->d3forum_module_dir) && ($forum->forum_id == $this->d3forum_forum_id)) 502 $selected = ' selected="selected"'; 503 else 504 $selected = ''; 505 $forum_div = 'forum|' . $module->dirname . '|' . $forum->forum_id; 506 $forum_select = "$module->name($module->dirname) $forum->cat_title-$forum->forum_title(ID=$forum->forum_id)"; 507 $forum_list .= '<option value="' . $forum_div . '" ' . $selected . '>' . $forum_select . "</option>\n"; 483 484 if ($xoops_config->is_wpmu) { 485 $forum_list .= '<option value="none"' . $selected . '>' . __('WordPress MU cannot integrate the comments.', 'xpressme') . "</option>\n"; 486 } else { 487 $forum_list .= '<option value="none"' . $selected . '>' . __('Do Not Comment Integration.', 'xpressme') . "</option>\n"; 488 489 // Form making for forum selection of D3forum 490 $modules_table = get_xoops_prefix() .'modules'; 491 $sql = "SELECT mid,name,isactive,dirname FROM $modules_table WHERE isactive = 1"; 492 $modules = $xoops_db->get_results($sql); 493 foreach ($modules as $module) { 494 $file_path = $module_dir_path . '/modules/' . $module->dirname . '/mytrustdirname.php'; 495 if (! file_exists($file_path)) continue; 496 $array_files = file($file_path); 497 // It is checked whether there is character string "$mytrustdirname ='d3forum'"in the file. 498 foreach ($array_files as $aeey_file){ 499 if( preg_match( "/\s*(mytrustdirname)\s*(=)\s*([\"'])(d3forum)([\"'])/", $aeey_file ) ) { 500 $forums_tb = get_xoops_prefix() . $module->dirname . '_forums'; 501 $cat_tb = get_xoops_prefix() . $module->dirname . '_categories'; 502 $sql= "SELECT * FROM $forums_tb LEFT JOIN $cat_tb ON $forums_tb.cat_id = $cat_tb.cat_id"; 503 $forums = $xoops_db->get_results($sql); 504 foreach ($forums as $forum) { 505 if (($module->dirname == $this->d3forum_module_dir) && ($forum->forum_id == $this->d3forum_forum_id)) 506 $selected = ' selected="selected"'; 507 else 508 $selected = ''; 509 $forum_div = 'forum|' . $module->dirname . '|' . $forum->forum_id; 510 $forum_select = "$module->name($module->dirname) $forum->cat_title-$forum->forum_title(ID=$forum->forum_id)"; 511 $forum_list .= '<option value="' . $forum_div . '" ' . $selected . '>' . $forum_select . "</option>\n"; 512 } 513 break; 508 514 } 509 break;510 515 } 516 $forum_list .= '<br>'; 511 517 } 512 $forum_list .= '<br>';513 518 } 514 519 $forum_list .= '</select>' . "\n"; -
trunk/wp-content/themes/xpress_default/header.php
r163 r218 41 41 </div> 42 42 <div class="xpress-operation-link"> 43 <a href="<?php echo get_option('home'); ?>/"><?php _e('Mein Page','xpress')?></a> 43 <?php if (xpress_is_wpmu()) : ?> 44 <a href="<?php echo get_blog_details(1)->siteurl ; ?>/"><?php _e('Main Page','xpress')?></a> | 45 <?php endif; ?> 46 <a href="<?php echo get_option('home'); ?>/"><?php _e('Blogs Home','xpress')?></a> 44 47 <?php if(is_xpress_contributor()) { echo ' | ' ; xpress_post_new_link(__('Post New','xpress')); }?> 45 48 </div> -
trunk/wp-content/themes/xpress_default/ja.po
r176 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-0 4-11 14:12+0900\n"20 "PO-Revision-Date: 2009-05-20 17:57+0900\n" 21 21 "Last-Translator: toemon <toychee@toemon.com>\n" 22 22 "Language-Team: toemon <info@toemon.com>\n" … … 335 335 336 336 #: header.php:43 337 msgid "M ein Page"337 msgid "Main Page" 338 338 msgstr "メインページ" 339 340 #: header.php:43 341 msgid "Blogs Home" 342 msgstr "ブログのホーム" 339 343 340 344 #: header.php:44 -
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.