- Timestamp:
- Mar 31, 2009, 12:22:47 PM (16 years ago)
- Location:
- trunk/wp-content
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/plugins/xpressme/include/custom_functions.php
r141 r143 135 135 echo $ret; 136 136 } 137 // page link 138 function xpress_left_arrow_posts_link($show = false) 139 { 140 global $XPressME; 141 $ret = ''; 142 143 if($XPressME->is_left_page_navi_old){ 144 $link_title = $XPressME->old_page_link_text; 145 ob_start(); 146 next_posts_link("« $link_title"); 147 $ret = ob_get_contents(); 148 ob_end_clean(); 149 } else { 150 $link_title = $XPressME->newer_page_link_text; 151 ob_start(); 152 previous_posts_link("« $link_title"); 153 $ret = ob_get_contents(); 154 ob_end_clean(); 155 } 156 157 if (empty($show)) 158 return $ret; 159 else 160 echo $ret; 161 } 162 163 function xpress_right_arrow_posts_link($show = false) 164 { 165 global $XPressME; 166 $ret = ''; 167 168 if($XPressME->is_left_page_navi_old){ 169 $link_title = $XPressME->newer_page_link_text; 170 ob_start(); 171 previous_posts_link("$link_title »"); 172 $ret = ob_get_contents(); 173 ob_end_clean(); 174 } else { 175 $link_title = $XPressME->old_page_link_text; 176 ob_start(); 177 next_posts_link("$link_title »"); 178 $ret = ob_get_contents(); 179 ob_end_clean(); 180 } 181 182 if (empty($show)) 183 return $ret; 184 else 185 echo $ret; 186 } 187 137 188 138 189 function xpress_is_author_view_count(){ … … 278 329 $output = sprintf(__('Archive for the ‘%s’ Author', 'xpressme'), get_author_name( get_query_var('author'))); 279 330 if (is_search()) 280 $output = __('Search Results', 'xpressme');331 $output = sprintf(__('Search Results of word ‘%s’', 'xpressme'), get_search_query()); 281 332 282 333 if ($display) -
trunk/wp-content/plugins/xpressme/language/xpressme-ja.po
r141 r143 3 3 "Project-Id-Version: XPressME Plugin\n" 4 4 "POT-Creation-Date: \n" 5 "PO-Revision-Date: 2009-03- 29 13:01+0900\n"5 "PO-Revision-Date: 2009-03-30 17:58+0900\n" 6 6 "Last-Translator: toemon <toychee@toemon.com>\n" 7 7 "Language-Team: \n" … … 15 15 "X-Poedit-SearchPath-0: .\n" 16 16 17 #: xpressme_class.php:3 317 #: xpressme_class.php:36 18 18 msgid "XPressME Settings" 19 19 msgstr "XPressME設定" 20 20 21 #: xpressme_class.php:5 022 #: xpressme_class.php:1 5823 msgid " to OldPost"21 #: xpressme_class.php:53 22 #: xpressme_class.php:167 23 msgid "Older Post" 24 24 msgstr "前の投稿へ" 25 25 26 #: xpressme_class.php:51 27 #: xpressme_class.php:160 28 msgid "to Newer Post" 26 #: xpressme_class.php:54 27 #: xpressme_class.php:169 28 #, fuzzy 29 msgid "Newer Post" 29 30 msgstr "次の投稿へ" 30 31 31 #: xpressme_class.php:204 32 #: xpressme_class.php:416 33 #: xpressme_class.php:421 34 #: xpressme_class.php:442 35 #: xpressme_class.php:447 32 #: xpressme_class.php:56 33 #: xpressme_class.php:172 34 msgid "Older Entries" 35 msgstr "前ページへ" 36 37 #: xpressme_class.php:57 38 #: xpressme_class.php:174 39 msgid "Newer Entries" 40 msgstr "次ページへ" 41 42 #: xpressme_class.php:218 43 #: xpressme_class.php:234 44 #: xpressme_class.php:530 45 #: xpressme_class.php:535 46 #: xpressme_class.php:545 47 #: xpressme_class.php:550 36 48 msgid "YES" 37 49 msgstr "はい" 38 50 39 #: xpressme_class.php:205 40 #: xpressme_class.php:417 41 #: xpressme_class.php:422 42 #: xpressme_class.php:443 43 #: xpressme_class.php:448 51 #: xpressme_class.php:219 52 #: xpressme_class.php:235 53 #: xpressme_class.php:531 54 #: xpressme_class.php:536 55 #: xpressme_class.php:546 56 #: xpressme_class.php:551 44 57 msgid "NO" 45 58 msgstr "いいえ" 46 59 47 #: xpressme_class.php:245 60 #: xpressme_class.php:277 61 msgid "Single Post Navi Setting" 62 msgstr "シングルポストナビの設定" 63 64 #: xpressme_class.php:282 65 #: xpressme_class.php:327 66 msgid "Adjustment of Navi link display position" 67 msgstr "リンクの表示位置設定" 68 69 #: xpressme_class.php:285 70 msgid "'Old Post Link' is displayed in the left, and 'Newer Post Link' is displayed in the right" 71 msgstr "以前の記事へのリンクを左に、より新しい記事へのリンクを右に表示" 72 73 #: xpressme_class.php:286 74 msgid "'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right" 75 msgstr "より新しい記事へのリンクを左に、古い記事へのリンクを右に表示" 76 77 #: xpressme_class.php:292 78 msgid "Select Display name of PostNavi Link" 79 msgstr "表示するリンクテキストを選択" 80 81 #: xpressme_class.php:295 82 msgid "Title of post" 83 msgstr "投稿記事のタイトルを表示" 84 85 #: xpressme_class.php:296 86 msgid "Title of Navi" 87 msgstr "ナビタイトルを表示" 88 89 #: xpressme_class.php:302 90 msgid "Display Navi Title of Old Post Link" 91 msgstr "古い記事へのナビタイトルを設定" 92 93 #: xpressme_class.php:309 94 msgid "Display Navi Title of Newer Post Link" 95 msgstr "より新しい記事へのナビタイトルを設定" 96 97 #: xpressme_class.php:322 98 msgid "Posts List Page Navi Setting" 99 msgstr "ポストリストページナビの設定" 100 101 #: xpressme_class.php:330 102 msgid "'Old Page Link' is displayed in the left, and 'Newer Page Link' is displayed in the right" 103 msgstr "古いページへのリンクを左に、より新しいページへのリンクを右に表示" 104 105 #: xpressme_class.php:331 106 msgid "'Newer Page Link' is displayed in the left, and 'Old Page Link' is displayed in the right" 107 msgstr "より新しいページへのリンクを左に、古いページへのリンクを右に表示" 108 109 #: xpressme_class.php:337 110 msgid "Display Navi Title of Old Page Link" 111 msgstr "古いページへのナビタイトルを設定" 112 113 #: xpressme_class.php:344 114 msgid "Display Navi Title of Newer Page Link" 115 msgstr "より新しいページへのナビタイトルを設定" 116 117 #: xpressme_class.php:359 48 118 msgid "Role Setting at Login" 49 119 msgstr "ログイン時の権限設定" 50 120 51 #: xpressme_class.php: 248121 #: xpressme_class.php:362 52 122 msgid "XOOPS Groupe" 53 123 msgstr "XOOPSグループ名" 54 124 55 #: xpressme_class.php: 248125 #: xpressme_class.php:362 56 126 msgid "WordPress Role" 57 127 msgstr "WordPressでの権限" 58 128 59 #: xpressme_class.php: 248129 #: xpressme_class.php:362 60 130 msgid "Role is set at each login" 61 131 msgstr "ログイン時、常に権限を更新する" 62 132 63 #: xpressme_class.php: 27464 #: xpressme_class.php: 27865 #: xpressme_class.php: 281133 #: xpressme_class.php:388 134 #: xpressme_class.php:392 135 #: xpressme_class.php:395 66 136 msgid "Default Role of WordPress" 67 137 msgstr "WordPressのデフォルト権限" 68 138 69 #: xpressme_class.php: 27570 #: xpressme_class.php: 27971 #: xpressme_class.php: 282139 #: xpressme_class.php:389 140 #: xpressme_class.php:393 141 #: xpressme_class.php:396 72 142 msgid "Group User Doesn't Register" 73 143 msgstr "ユーザ登録しない" 74 144 75 #: xpressme_class.php: 311145 #: xpressme_class.php:425 76 146 msgid "Do Not Comment Integration." 77 147 msgstr "コメント統合しません。" 78 148 79 #: xpressme_class.php: 345149 #: xpressme_class.php:459 80 150 msgid "Comment integration with D3Forum" 81 151 msgstr "D3Forumとのコメント統合" 82 152 83 #: xpressme_class.php: 347153 #: xpressme_class.php:461 84 154 msgid "Select the forum of D3Forum that does the comment integration from the following lists." 85 155 msgstr "以下のリストからコメント統合をするD3Forumのフォーラムを選択してください。" 86 156 87 #: xpressme_class.php: 351157 #: xpressme_class.php:465 88 158 msgid "Select the Type of display of D3Forum comment." 89 159 msgstr "D3Forumの表示タイプを選択" 90 160 91 #: xpressme_class.php: 35392 #: xpressme_class.php: 356161 #: xpressme_class.php:467 162 #: xpressme_class.php:470 93 163 msgid "Flat" 94 164 msgstr "フラット" 95 165 96 #: xpressme_class.php: 35497 #: xpressme_class.php: 357166 #: xpressme_class.php:468 167 #: xpressme_class.php:471 98 168 msgid "Threaded" 99 169 msgstr "スレッド" 100 170 101 #: xpressme_class.php: 360171 #: xpressme_class.php:474 102 172 msgid "Select the order of display of D3Forum comment." 103 173 msgstr "D3Forumコメントの表示順を選択" 104 174 105 #: xpressme_class.php: 362106 #: xpressme_class.php: 365175 #: xpressme_class.php:476 176 #: xpressme_class.php:479 107 177 msgid "DESC" 108 178 msgstr "降順" 109 179 110 #: xpressme_class.php: 363111 #: xpressme_class.php: 366180 #: xpressme_class.php:477 181 #: xpressme_class.php:480 112 182 msgid "ASC" 113 183 msgstr "昇順" 114 184 115 #: xpressme_class.php: 369185 #: xpressme_class.php:483 116 186 msgid "Number of displays of D3Forum comments." 117 187 msgstr "D3Forumのコメント表示数" 118 188 119 #: xpressme_class.php: 373189 #: xpressme_class.php:487 120 190 msgid "The import and the export between Wordpress Comments and the D3Forum Posts can be done. " 121 191 msgstr "WordPressコメントとD3Forumポスト間の一括転送(エクスポート・インポート)" 122 192 123 #: xpressme_class.php: 374193 #: xpressme_class.php:488 124 194 msgid "Export to D3Forum" 125 195 msgstr "D3Forumへ一括エクスポート" 126 196 127 #: xpressme_class.php: 375197 #: xpressme_class.php:489 128 198 msgid "Import from D3Forum" 129 199 msgstr "D3Forumから一括インポート" 130 200 131 #: xpressme_class.php: 406201 #: xpressme_class.php:520 132 202 msgid "XPressME Configuration Page" 133 203 msgstr "XPressMEの設定ページ" 134 204 135 #: xpressme_class.php: 410205 #: xpressme_class.php:524 136 206 msgid "Media Upload Base Path" 137 207 msgstr "メディアアップロードのベースパス設定" 138 208 139 #: xpressme_class.php: 411209 #: xpressme_class.php:525 140 210 msgid "Use XOOPS UPLOAD PATH" 141 211 msgstr "XOOPSのアップロードパスを使用する。" 142 212 143 #: xpressme_class.php: 412213 #: xpressme_class.php:526 144 214 msgid "USE WordPress BASE_PATH" 145 215 msgstr "WordPressのベースパスを使用する。" 146 216 147 #: xpressme_class.php: 415217 #: xpressme_class.php:529 148 218 msgid "Thema Sidebar Display" 149 219 msgstr "テーマ表示時にサイドバー表示する。" 150 220 151 #: xpressme_class.php: 420221 #: xpressme_class.php:534 152 222 msgid "The change tracking of the post is preserved" 153 223 msgstr "投稿の変更履歴を有効にする。" 154 224 155 #: xpressme_class.php:425 156 msgid "Display Navi Title of Old Post Link" 157 msgstr "古い記事へのナビタイトルを設定" 158 159 #: xpressme_class.php:428 160 msgid "Display Navi Title of Newer Post Link" 161 msgstr "新しい記事へのナビタイトルを設定" 162 163 #: xpressme_class.php:431 164 msgid "Select Display name of PostNavi Link" 165 msgstr "投稿記事リンクナビのタイトル設定" 166 167 #: xpressme_class.php:432 168 msgid "Title of post" 169 msgstr "投稿記事のタイトルを表示" 170 171 #: xpressme_class.php:433 172 msgid "Title of Navi" 173 msgstr "ナビタイトルを表示" 174 175 #: xpressme_class.php:436 176 msgid "Adjustment of Navi link display position" 177 msgstr "投稿記事ナビリンクの表示位置設定" 178 179 #: xpressme_class.php:437 180 msgid "'Old Post Link' is displayed in the left, and 'Newer Post Link' is displayed in the right" 181 msgstr "古い記事へのリンクを左に、より新しい記事へのリンクを右に表示" 182 183 #: xpressme_class.php:438 184 msgid "'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right" 185 msgstr "より新しい記事へのリンクを左に、古い記事へのリンクを右に表示" 186 187 #: xpressme_class.php:441 225 #: xpressme_class.php:544 188 226 msgid "Is the posts author views counted?" 189 227 msgstr "投稿者の閲覧をカウントしますか?" 190 228 191 #: xpressme_class.php: 446229 #: xpressme_class.php:549 192 230 msgid "Is SQL debugging window displayed?" 193 231 msgstr "SQLデバッグウィンドを表示しますか?" 194 232 195 #: xpressme_class.php: 458233 #: xpressme_class.php:561 196 234 msgid "Update Config" 197 235 msgstr "更新" 198 236 199 #: xpressme_class.php: 459237 #: xpressme_class.php:562 200 238 msgid "Preset Config" 201 239 msgstr "プリセット" 202 240 203 #: include/custom_functions.php: 180241 #: include/custom_functions.php:231 204 242 #, php-format 205 243 msgid "views :%d" 206 244 msgstr "閲覧数 :%d" 207 245 208 #: include/custom_functions.php: 266246 #: include/custom_functions.php:317 209 247 msgid "Main" 210 248 msgstr "メイン" 211 249 212 #: include/custom_functions.php: 268250 #: include/custom_functions.php:319 213 251 #, php-format 214 252 msgid "Archive for the ‘%s’ Category" 215 253 msgstr "カテゴリー ‘%s’ のアーカイブ" 216 254 217 #: include/custom_functions.php: 270255 #: include/custom_functions.php:321 218 256 #, php-format 219 257 msgid "Posts Tagged ‘%s’" 220 msgstr " "221 222 #: include/custom_functions.php: 272258 msgstr "‘%s’ タグのついている投稿" 259 260 #: include/custom_functions.php:323 223 261 #, php-format 224 262 msgid "Archive for %s|Daily archive page" 225 263 msgstr "%sの日別アーカイブ" 226 264 227 #: include/custom_functions.php: 272265 #: include/custom_functions.php:323 228 266 msgid "F jS, Y" 229 267 msgstr "Y年n月j日" 230 268 231 #: include/custom_functions.php: 274269 #: include/custom_functions.php:325 232 270 #, php-format 233 271 msgid "Archive for %s|Monthly archive page" 234 272 msgstr "%sの月別アーカイブ" 235 273 236 #: include/custom_functions.php: 274274 #: include/custom_functions.php:325 237 275 msgid "F, Y" 238 276 msgstr "Y年n月" 239 277 240 #: include/custom_functions.php: 276278 #: include/custom_functions.php:327 241 279 #, php-format 242 280 msgid "Archive for %s|Yearly archive page" 243 281 msgstr "%sの年別アーカイブ " 244 282 245 #: include/custom_functions.php: 276283 #: include/custom_functions.php:327 246 284 msgid "Y" 247 285 msgstr "Y年" 248 286 249 #: include/custom_functions.php: 278287 #: include/custom_functions.php:329 250 288 #, php-format 251 289 msgid "Archive for the ‘%s’ Author" 252 290 msgstr "投稿者 ‘%s’ のアーカイブ" 253 291 254 #: include/custom_functions.php:280 255 msgid "Search Results" 256 msgstr "検索結果" 257 292 #: include/custom_functions.php:331 293 #, php-format 294 msgid "Search Results of word ‘%s’" 295 msgstr "‘%s’ の検索結果" 296 -
trunk/wp-content/plugins/xpressme/xpressme_class.php
r139 r143 12 12 var $old_post_link_text; 13 13 var $newer_post_link_text; 14 var $is_left_page_navi_old; 15 var $old_page_link_text; 16 var $newer_page_link_text; 14 17 var $is_author_view_count; 15 18 var $is_sql_debug; … … 48 51 $this->is_postnavi_title_disp = true; 49 52 $this->is_left_postnavi_old = true; 50 $this->old_post_link_text = __('to Old Post', 'xpressme'); 51 $this->newer_post_link_text = __('to Newer Post', 'xpressme'); 53 $this->old_post_link_text = __('Older Post', 'xpressme'); 54 $this->newer_post_link_text = __('Newer Post', 'xpressme'); 55 $this->is_left_page_navi_old = true; 56 $this->old_page_link_text = __('Older Entries', 'xpressme'); 57 $this->newer_page_link_text = __('Newer Entries', 'xpressme'); 52 58 $this->is_author_view_count = false; 53 59 $this->is_sql_debug = false; … … 88 94 'old_post_link_text' => $this->old_post_link_text , 89 95 'newer_post_link_text' => $this->newer_post_link_text, 96 'is_left_page_navi_old' => $this->is_left_page_navi_old , 97 'old_page_link_text' => $this->old_page_link_text , 98 'newer_page_link_text' => $this->newer_page_link_text, 90 99 'is_author_view_count' => $this->is_author_view_count, 91 100 'is_sql_debug' => $this->is_sql_debug, … … 156 165 $this->is_left_postnavi_old = stripslashes(trim($_POST['ch_is_left_postnavi_old'])); 157 166 $this->old_post_link_text = stripslashes($_POST['ch_old_post_link_text']); 158 if(empty($this->old_post_link_text)) $this->old_post_link_text = __(' to OldPost', 'xpressme');167 if(empty($this->old_post_link_text)) $this->old_post_link_text = __('Older Post', 'xpressme'); 159 168 $this->newer_post_link_text = stripslashes($_POST['ch_newer_post_link_text']); 160 if(empty($this->newer_post_link_text)) $this->newer_post_link_text = __('to Newer Post', 'xpressme'); 169 if(empty($this->newer_post_link_text)) $this->newer_post_link_text = __('Newer Post', 'xpressme'); 170 $this->is_left_page_navi_old = stripslashes(trim($_POST['ch_is_left_page_navi_old'])); 171 $this->old_page_link_text = stripslashes($_POST['ch_old_page_link_text']); 172 if(empty($this->old_page_link_text)) $this->old_page_link_text = __('Older Entries', 'xpressme'); 173 $this->newer_page_link_text = stripslashes($_POST['ch_newer_page_link_text']); 174 if(empty($this->newer_page_link_text)) $this->newer_page_link_text = __('Newer Entries', 'xpressme'); 161 175 $this->is_author_view_count = stripslashes(trim($_POST['ch_is_author_view_count'])); 162 176 $this->is_sql_debug = stripslashes(trim($_POST['ch_is_sql_debug'])); … … 210 224 $form .= '<th><label for="images_to_link">' . $option_desc . "</label></th>\n"; 211 225 $form .= "<td>\n"; 226 $form .= $this->yes_no_radio_option_sub($option_name,$yes,$no); 227 $form .= "</td>\n"; 228 $form .= "</tr><tr>\n"; 229 230 return $form; 231 232 } 233 function yes_no_radio_option_sub($option_name,$yes = '',$no= ''){ 234 if (empty( $yes )) $yes = __('YES','xpressme') ; 235 if (empty( $no )) $no = __('NO','xpressme') ; 236 $value = $this->{$option_name}; 237 $ans_name = 'ch_' . $option_name; 238 212 239 if ($value){ 213 240 $form .= "<label><input type='radio' name='". $ans_name . "' value='1' checked='checked' />" . $yes ."</label><br />\n"; … … 217 244 $form .= "<label><input type='radio' name='". $ans_name . "' value='0' checked='checked' />". $no ."</label>\n"; 218 245 } 246 return $form; 247 } 248 249 250 function text_option($option_name,$option_desc){ 251 $value = $this->{$option_name}; 252 $ans_name = 'ch_' . $option_name; 253 254 $form = "<tr>\n"; 255 $form .= '<th><label for="images_to_link">' . $option_desc . "</label></th>\n"; 256 $form .= "<td>\n"; 257 $form .= $this->text_option_sub($option_name); 219 258 $form .= "</td>\n"; 220 259 $form .= "</tr><tr>\n"; … … 223 262 224 263 } 225 226 function text_option ($option_name,$option_desc){264 265 function text_option_sub($option_name){ 227 266 $value = $this->{$option_name}; 228 267 $ans_name = 'ch_' . $option_name; 229 268 230 $form = "<tr>\n"; 231 $form .= '<th><label for="images_to_link">' . $option_desc . "</label></th>\n"; 232 $form .= "<td>\n"; 233 $form .= '<label> <input name="'. $ans_name . '" type="text" size="25" maxlength="50" value="' . $value . '" /></label>'."\n"; 234 $form .= "</td>\n"; 235 $form .= "</tr><tr>\n"; 236 269 $form = '<label> <input name="'. $ans_name . '" type="text" size="25" maxlength="50" value="' . $value . '" /></label>'."\n"; 237 270 return $form; 238 271 272 } 273 274 275 function single_post_navi_option(){ 276 $form = ''; 277 $form .= '<tr><th><label for="single_page_navi">' .__('Single Post Navi Setting', 'xpressme') . '</label></th>'; 278 $form .= "<td>\n"; 279 $form .= "<table>\n"; 280 $form .= "<tr>\n"; 281 282 $form .= "<td>" . __('Adjustment of Navi link display position','xpressme') . "</td>\n"; 283 $form .= "<td>\n"; 284 $form .= $this->yes_no_radio_option_sub('is_left_postnavi_old', 285 __("'Old Post Link' is displayed in the left, and 'Newer Post Link' is displayed in the right",'xpressme'), 286 __("'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right",'xpressme') 287 ); 288 $form .= "</td>\n"; 289 $form .= "</tr>\n"; 290 291 $form .= "<tr>\n"; 292 $form .= "<td>" . __('Select Display name of PostNavi Link','xpressme') . "</td>\n"; 293 $form .= "<td>\n"; 294 $form .= $this->yes_no_radio_option_sub('is_postnavi_title_disp', 295 __('Title of post','xpressme'), 296 __('Title of Navi','xpressme') 297 ); 298 $form .= "</td>\n"; 299 $form .= "</tr>\n"; 300 301 $form .= "<tr>\n"; 302 $form .= "<td>" . __('Display Navi Title of Old Post Link','xpressme') . "</td>\n"; 303 $form .= "<td>\n"; 304 $form .= $this->text_option_sub('old_post_link_text'); 305 $form .= "</td>\n"; 306 $form .= "</tr>\n"; 307 308 $form .= "<tr>\n"; 309 $form .= "<td>" . __('Display Navi Title of Newer Post Link','xpressme') . "</td>\n"; 310 $form .= "<td>\n"; 311 $form .= $this->text_option_sub('newer_post_link_text'); 312 $form .= "</td>\n"; 313 $form .= "</tr>\n"; 314 315 $form .= "</table></td></tr>\n"; 316 return $form; 317 318 } 319 320 function posts_page_navi_option(){ 321 $form = ''; 322 $form .= '<tr><th><label for="posts_page_navi">' .__('Posts List Page Navi Setting', 'xpressme') . '</label></th>'; 323 $form .= "<td>\n"; 324 $form .= "<table>\n"; 325 $form .= "<tr>\n"; 326 327 $form .= "<td>" . __('Adjustment of Navi link display position','xpressme') . "</td>\n"; 328 $form .= "<td>\n"; 329 $form .= $this->yes_no_radio_option_sub('is_left_page_navi_old', 330 __("'Old Page Link' is displayed in the left, and 'Newer Page Link' is displayed in the right",'xpressme'), 331 __("'Newer Page Link' is displayed in the left, and 'Old Page Link' is displayed in the right",'xpressme') 332 ); 333 $form .= "</td>\n"; 334 $form .= "</tr>\n"; 335 336 $form .= "<tr>\n"; 337 $form .= "<td>" . __('Display Navi Title of Old Page Link','xpressme') . "</td>\n"; 338 $form .= "<td>\n"; 339 $form .= $this->text_option_sub('old_page_link_text'); 340 $form .= "</td>\n"; 341 $form .= "</tr>\n"; 342 343 $form .= "<tr>\n"; 344 $form .= "<td>" . __('Display Navi Title of Newer Page Link','xpressme') . "</td>\n"; 345 $form .= "<td>\n"; 346 $form .= $this->text_option_sub('newer_page_link_text'); 347 $form .= "</td>\n"; 348 $form .= "</tr>\n"; 349 350 $form .= "</table></td></tr>\n"; 351 return $form; 352 239 353 } 240 354 … … 422 536 __('NO','xpressme') 423 537 ); 424 echo $this->text_option('old_post_link_text', 425 __('Display Navi Title of Old Post Link','xpressme') 426 ); 427 echo $this->text_option('newer_post_link_text', 428 __('Display Navi Title of Newer Post Link','xpressme') 429 ); 430 echo $this->yes_no_radio_option('is_postnavi_title_disp', 431 __('Select Display name of PostNavi Link','xpressme'), 432 __('Title of post','xpressme'), 433 __('Title of Navi','xpressme') 434 ); 435 echo $this->yes_no_radio_option('is_left_postnavi_old', 436 __('Adjustment of Navi link display position','xpressme'), 437 __("'Old Post Link' is displayed in the left, and 'Newer Post Link' is displayed in the right",'xpressme'), 438 __("'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right",'xpressme') 439 ); 538 539 echo $this->single_post_navi_option(); 540 echo $this->posts_page_navi_option(); 541 542 440 543 echo $this->yes_no_radio_option('is_author_view_count', 441 544 __('Is the posts author views counted?','xpressme'), -
trunk/wp-content/themes/xpress_default/comments.php
r123 r143 21 21 22 22 <?php if ($comments) : ?> 23 <h 3 id="xpress_comments"><?php comments_number(__('No Responses', 'xpress'), __('One Response', 'xpress'), __('% Responses', 'xpress'));?> <?php printf(__('to “%s”', 'xpress'), the_title('', '', false)); ?></h3>23 <h2 id="xpress_comments"><?php comments_number(__('No Responses', 'xpress'), __('One Response', 'xpress'), __('% Responses', 'xpress'));?> <?php printf(__('to “%s”', 'xpress'), the_title('', '', false)); ?></h2> 24 24 <?php if (function_exists('wp_list_comments')) : ?> 25 25 <ol class="xpress_commentlist"> … … 73 73 <?php if ('open' == $post->comment_status) : ?> 74 74 <div id="respond"> 75 <h 3><?php _e('Leave a Reply', 'xpress'); ?></h3>75 <h2><?php _e('Leave a Reply', 'xpress'); ?></h2> 76 76 <?php if ( function_exists('cancel_comment_reply_link') ): ?> 77 77 <div class="cancel-comment-reply"> -
trunk/wp-content/themes/xpress_default/index.php
r141 r143 9 9 ?> 10 10 11 <div class="xpress-header-bar">11 <div id="xpress-header-bar"> 12 12 <div class="xpress-header-title"> 13 13 <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> … … 30 30 <div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div> 31 31 <?php else : ?> 32 <div class=" xpress-next-posts-link"><?php next_posts_link(__('« Older Entries', 'xpress'))?></div>33 <div class=" xpress-previous-posts-link"> <?php previous_posts_link(__('Newer Entries »', 'xpress'))?></div>32 <div class="alignleft"><?php xpress_left_arrow_posts_link(true); ?></div> 33 <div class="alignright"><?php xpress_right_arrow_posts_link(true); ?></div> 34 34 <?php endif; ?> 35 35 </div> … … 41 41 <?php if (function_exists('hotDates')) { hotDates(); }?> 42 42 <div class ="xpress-post-title"> 43 <h 2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>43 <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2> 44 44 </div> 45 45 </div> … … 69 69 <div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div> 70 70 <?php else : ?> 71 <div class=" xpress-next-posts-link"><?php next_posts_link(__('« Older Entries', 'xpress'))?></div>72 <div class=" xpress-previous-posts-link"> <?php previous_posts_link(__('Newer Entries »', 'xpress'))?></div>71 <div class="alignleft"><?php xpress_left_arrow_posts_link(true); ?></div> 72 <div class="alignright"><?php xpress_right_arrow_posts_link(true); ?></div> 73 73 <?php endif; ?> 74 74 </div> -
trunk/wp-content/themes/xpress_default/ja.po
r141 r143 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-03- 29 12:52+0900\n"20 "PO-Revision-Date: 2009-03-30 14:56+0900\n" 21 21 "Last-Translator: toemon <toychee@toemon.com>\n" 22 22 "Language-Team: toemon <info@toemon.com>\n" … … 621 621 #, php-format 622 622 msgid "%1$s %2$s|Used as a calendar caption" 623 msgstr " "623 msgstr "%2$s 年 %1$s|カレンダーのキャプションに使われます" 624 624 625 625 #: xpress_default/blocks/calender_block_theme.php:104 … … 627 627 #, php-format 628 628 msgid "View posts for %1$s %2$s" 629 msgstr " "629 msgstr "%2$s 年 %1$s の投稿を表示" 630 630 631 631 #: xpress_default/blocks/enhanced_block_theme.php:11 -
trunk/wp-content/themes/xpress_default/single.php
r141 r143 9 9 } 10 10 ?> 11 <div class="xpress-header-bar">11 <div id="xpress-header-bar"> 12 12 <div class="xpress-header-title"> 13 13 <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> … … 34 34 35 35 <div class="xpress-post" id="post-<?php the_ID(); ?>"> 36 37 38 39 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>40 41 36 <div class ="xpress-post-header"> 37 <?php if (function_exists('hotDates')) { hotDates(); }?> 38 <div class ="xpress-post-title"> 39 <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2> 40 </div> 41 </div> 42 42 43 43 <div class="xpress-post-entry"> 44 44 <?php the_content('<p class="serif">' . __('Read the rest of this entry »', 'xpress') . '</p>'); ?> 45 46 <?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'xpress') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> 47 <?php echo '<p class="postmeta">' ;/* _e('Posted:', 'xpress'); echo ' '; the_author_posts_link(); echo '<br />' ; */?><?php if(function_exists('the_tags')) : ?><?php the_tags(__('Tags:', 'xpress') . ' ', ', ', '<br />'); ?><?php endif; ?><?php printf(__('Posted in %s', 'xpress'), get_the_category_list(' • ') . '</p>'); ?> 48 49 <p class="postmetadata alt"> 50 <small> 51 <?php /* This is commented, because it requires a little adjusting sometimes. 52 You'll need to download this plugin, and follow the instructions: 53 http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */ 54 /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); $time_since = sprintf(__('%s ago', 'xpress'), time_since($entry_datetime)); */ ?> 55 <?php printf(__('This entry was posted %1$s on %2$s at %3$s and is filed under %4$s.', 'xpress'), $time_since, get_the_time(__('l, F jS, Y', 'xpress')), get_the_time(), get_the_category_list(' • ')); ?> 56 <?php if (function_exists('get_post_comments_feed_link')) : ?> 57 <?php printf(__("You can follow any responses to this entry through the <a href='%s'>RSS 2.0</a> feed.", "xpress"), get_post_comments_feed_link()); ?> 58 <?php else : ?> 59 <?php _e('You can follow any responses to this entry through the', 'xpress'); ?><?php comments_rss_link('RSS 2.0'); ?><?php _e('feed.', 'xpress'); ?> 60 <?php endif; ?> 61 62 <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { 63 // Both Comments and Pings are open ?> 64 <?php printf(__('You can <a href="#respond">leave a response</a>, or <a href="%s" rel="trackback">trackback</a> from your own site.', 'xpress'), trackback_url(false)); ?> 65 66 <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) { 67 // Only Pings are Open ?> 68 <?php printf(__('Responses are currently closed, but you can <a href="%s" rel="trackback">trackback</a> from your own site.', 'xpress'), trackback_url(false)); ?> 69 70 <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) { 71 // Comments are open, Pings are not ?> 72 <?php _e('You can skip to the end and leave a response. Pinging is currently not allowed.', 'xpress'); ?> 73 74 <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) { 75 // Neither Comments, nor Pings are open ?> 76 <?php _e('Both comments and pings are currently closed.', 'xpress'); ?> 77 78 <?php } edit_post_link(__('Edit this entry', 'xpress'),'','.'); ?> 79 80 </small> 81 </p> 82 45 </div> 46 <div class ="xpress-post-footer"> 47 <?php 48 the_time('Y/m/d l'); 49 echo ' - '; 50 the_author_posts_link(); 51 echo ' (' . xpress_post_views_count($post->ID,__('Views :%d', 'xpress'),false) . ')'; 52 echo ' | '; 53 // echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | '); 54 printf(__('Posted in %s', 'xpress'), get_the_category_list(', ')); 55 echo ' | '; 56 edit_post_link(__('Edit', 'xpress'), '', ' | '); 57 comments_popup_link(__('No Comments »', 'xpress'), __('1 Comment »', 'xpress'), __('% Comments »', 'xpress'), '', __('Comments Closed', 'xpress') ); 58 ?> 59 </div> 60 <div class ="xpress-comments-block"> 61 <?php comments_template(); ?> 83 62 </div> 84 63 </div> 85 64 86 <?php comments_template(); ?>65 87 66 88 67 <?php endwhile; else: ?> -
trunk/wp-content/themes/xpress_default/style.css
r141 r143 3 3 Theme URI: http://trac.xpressme.info/XPressME 4 4 Description: The theme for XPressME series 5 Version: 2.06 Author: toemon7 Author URI: http://www.toemon.com8 Tags: XPressME,toemon9 10 5 */ 11 12 .xpress-header-title { 6 #xpress_page { 7 padding: 0; 8 width: 100%; 9 margin: 0; 10 text-align:left; 11 } 12 13 #xpress_wrap { 14 float: left; 15 width: 100%; 16 margin-right: -205px; 17 } 18 19 #xpress_content { 20 font-size: 1.0em; 21 padding: 0px; 22 } 23 24 #xpress_content.narrowcolumn { 25 margin-right: 205px; 26 } 27 28 #xpress-header-bar { 29 clear: both; 30 } 31 32 #xpress-header-bar .xpress-header-title { 13 33 float: left; 14 34 margin-bottom: 20px; … … 16 36 font-size: 16px; 17 37 } 18 .xpress-conditional-title {38 #xpress-header-bar .xpress-conditional-title { 19 39 font-size: 14px; 20 40 margin-bottom: 20px; … … 22 42 } 23 43 24 .xpress-description {44 #xpress-header-bar .xpress-description { 25 45 clear: both; 26 46 font-size: 12px; … … 28 48 } 29 49 30 .xpress-operation-link {50 #xpress-header-bar .xpress-operation-link { 31 51 font-size: 12px; 32 52 text-align: right; … … 35 55 .xpress-border { 36 56 clear: both; 37 display: block;38 }57 display: block; 58 } 39 59 40 60 .xpress-navi-bar { … … 49 69 text-align: center; 50 70 } 51 .xpress-next-posts-link { 52 float: left; 53 54 } 55 .xpress-previous-posts-link{ 56 text-align: right; 57 } 58 59 .xpress-post-entry { 71 72 .xpress-post { 73 width: 100%; 74 margin: 0px; 75 padding-top:20px; 76 clear: both; 77 } 78 79 .xpress-post .xpress-post-header{ 80 text-align: left; 81 font-size: 0.8em; 82 83 } 84 85 .xpress-post .xpress-post-entry { 60 86 clear: both; 61 87 padding-left: 20px; 62 88 63 89 } 64 .xpress-post -footer{90 .xpress-post .xpress-post-footer{ 65 91 text-align: right; 66 92 font-size: 0.8em; 67 68 } 93 } 94 .xpress-comments-block { 95 margin: 5px 0 10px; 96 padding-top:10px; 97 padding-left:20px; 98 padding-right:20px; 99 padding-bottom:30px; 100 clear: both; 101 } 102 h2.xpress_comments { 103 padding: 0; 104 margin: 40px auto 20px ; 105 } 106 107 #xpress_footer { 108 padding-top: 0px; 109 margin: 0 auto; 110 width: 100%; 111 clear: both; 112 } 113 #xpress_footer .xpress_rss { 114 margin: 0; 115 padding: 0; 116 text-align: right; 117 } 118 119 #xpress_footer .xpress_credit { 120 margin: 0; 121 padding: 0; 122 text-align: center; 123 font-size: 0.9em; 124 color: #BDBDBD; 125 } 126 127 #xpress_footer .xpress_credit a { 128 font-size: 0.9em; 129 color: #BDBDBD; 130 } 131 69 132 /* Begin Typography & Colors */ 70 133 71 .xpress_content {72 font-size: 1.0em;73 }74 134 75 135 .widecolumn .entry { … … 117 177 118 178 #xpress_page h3 { 119 font-size: 1. 3em;179 font-size: 1.6em; 120 180 } 121 181 … … 207 267 } 208 268 209 #xpress_page {210 padding: 0;211 width: 100%;212 margin: 0;213 text-align:left;214 }215 269 216 270 #xpress_header { … … 220 274 } 221 275 222 #xpress_wrap { 223 float: left; 224 width: 100%; 225 margin-right: -205px; 226 } 227 228 #xpress_content { 229 padding: 0px; 230 } 231 232 #xpress_content.narrowcolumn { 233 margin-right: 205px; 234 } 276 277 235 278 236 279 .widecolumn { … … 238 281 margin: 0 auto; 239 282 } 240 241 242 .xpress-post { 243 width: 100%; 244 margin: 5px 0 10px; 245 padding-top:20px; 246 clear: both; 247 } 283 284 248 285 249 286 .xpress-post h2 { … … 296 333 } 297 334 298 #xpress_footer {299 padding-top: 0px;300 margin: 0 auto;301 width: 100%;302 clear: both;303 }304 335 305 336 #xpress_footer p { … … 309 340 } 310 341 311 .xpress_rss { 312 margin: 0; 313 padding: 0; 314 text-align: right; 315 } 316 317 318 .xpress_credit { 319 margin: 0; 320 padding: 0; 321 text-align: center; 322 font-size: 0.9em; 323 color: #BDBDBD; 324 } 325 326 .xpress_credit a { 327 font-size: 0.9em; 328 color: #BDBDBD; 329 } 342 343 344 345 346 330 347 331 348 .dateblock{ … … 352 369 } 353 370 354 h3.xpress_comments {355 padding: 0;356 margin: 40px auto 20px ;357 }358 371 /* End Headers */ 359 372
Note: See TracChangeset
for help on using the changeset viewer.