XPressME Integration Kit

Trac

Changeset 143


Ignore:
Timestamp:
Mar 31, 2009, 12:22:47 PM (15 years ago)
Author:
toemon
Message:

デフォルトテーマxpress_defaultの調整

Location:
trunk/wp-content
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/plugins/xpressme/include/custom_functions.php

    r141 r143  
    135135                echo $ret;       
    136136} 
     137// page link 
     138function 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 
     163function 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 
    137188 
    138189function xpress_is_author_view_count(){ 
     
    278329                $output = sprintf(__('Archive for the ‘%s’ Author', 'xpressme'), get_author_name( get_query_var('author'))); 
    279330        if (is_search()) 
    280                 $output = __('Search Results', 'xpressme'); 
     331                $output = sprintf(__('Search Results of word ‘%s’', 'xpressme'), get_search_query()); 
    281332                 
    282333        if ($display)  
  • trunk/wp-content/plugins/xpressme/language/xpressme-ja.po

    r141 r143  
    33"Project-Id-Version: XPressME Plugin\n" 
    44"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" 
    66"Last-Translator: toemon <toychee@toemon.com>\n" 
    77"Language-Team: \n" 
     
    1515"X-Poedit-SearchPath-0: .\n" 
    1616 
    17 #: xpressme_class.php:33 
     17#: xpressme_class.php:36 
    1818msgid "XPressME Settings" 
    1919msgstr "XPressME設定" 
    2020 
    21 #: xpressme_class.php:50 
    22 #: xpressme_class.php:158 
    23 msgid "to Old Post" 
     21#: xpressme_class.php:53 
     22#: xpressme_class.php:167 
     23msgid "Older Post" 
    2424msgstr "前の投稿へ" 
    2525 
    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 
     29msgid "Newer Post" 
    2930msgstr "次の投稿へ" 
    3031 
    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 
     34msgid "Older Entries" 
     35msgstr "前ページへ" 
     36 
     37#: xpressme_class.php:57 
     38#: xpressme_class.php:174 
     39msgid "Newer Entries" 
     40msgstr "次ページへ" 
     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 
    3648msgid "YES" 
    3749msgstr "はい" 
    3850 
    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 
    4457msgid "NO" 
    4558msgstr "いいえ" 
    4659 
    47 #: xpressme_class.php:245 
     60#: xpressme_class.php:277 
     61msgid "Single Post Navi Setting" 
     62msgstr "シングルポストナビの設定" 
     63 
     64#: xpressme_class.php:282 
     65#: xpressme_class.php:327 
     66msgid "Adjustment of Navi link display position" 
     67msgstr "リンクの表示位置設定" 
     68 
     69#: xpressme_class.php:285 
     70msgid "'Old Post Link' is displayed in the left, and 'Newer Post Link' is displayed in the right" 
     71msgstr "以前の記事へのリンクを左に、より新しい記事へのリンクを右に表示" 
     72 
     73#: xpressme_class.php:286 
     74msgid "'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right" 
     75msgstr "より新しい記事へのリンクを左に、古い記事へのリンクを右に表示" 
     76 
     77#: xpressme_class.php:292 
     78msgid "Select Display name of PostNavi Link" 
     79msgstr "表示するリンクテキストを選択" 
     80 
     81#: xpressme_class.php:295 
     82msgid "Title of post" 
     83msgstr "投稿記事のタイトルを表示" 
     84 
     85#: xpressme_class.php:296 
     86msgid "Title of Navi" 
     87msgstr "ナビタイトルを表示" 
     88 
     89#: xpressme_class.php:302 
     90msgid "Display Navi Title of Old Post Link" 
     91msgstr "古い記事へのナビタイトルを設定" 
     92 
     93#: xpressme_class.php:309 
     94msgid "Display Navi Title of Newer Post Link" 
     95msgstr "より新しい記事へのナビタイトルを設定" 
     96 
     97#: xpressme_class.php:322 
     98msgid "Posts List Page Navi Setting" 
     99msgstr "ポストリストページナビの設定" 
     100 
     101#: xpressme_class.php:330 
     102msgid "'Old Page Link' is displayed in the left, and 'Newer Page Link' is displayed in the right" 
     103msgstr "古いページへのリンクを左に、より新しいページへのリンクを右に表示" 
     104 
     105#: xpressme_class.php:331 
     106msgid "'Newer Page Link' is displayed in the left, and 'Old Page Link' is displayed in the right" 
     107msgstr "より新しいページへのリンクを左に、古いページへのリンクを右に表示" 
     108 
     109#: xpressme_class.php:337 
     110msgid "Display Navi Title of Old Page Link" 
     111msgstr "古いページへのナビタイトルを設定" 
     112 
     113#: xpressme_class.php:344 
     114msgid "Display Navi Title of Newer Page Link" 
     115msgstr "より新しいページへのナビタイトルを設定" 
     116 
     117#: xpressme_class.php:359 
    48118msgid "Role Setting at Login" 
    49119msgstr "ログイン時の権限設定" 
    50120 
    51 #: xpressme_class.php:248 
     121#: xpressme_class.php:362 
    52122msgid "XOOPS Groupe" 
    53123msgstr "XOOPSグループ名" 
    54124 
    55 #: xpressme_class.php:248 
     125#: xpressme_class.php:362 
    56126msgid "WordPress Role" 
    57127msgstr "WordPressでの権限" 
    58128 
    59 #: xpressme_class.php:248 
     129#: xpressme_class.php:362 
    60130msgid "Role is set at each login" 
    61131msgstr "ログイン時、常に権限を更新する" 
    62132 
    63 #: xpressme_class.php:274 
    64 #: xpressme_class.php:278 
    65 #: xpressme_class.php:281 
     133#: xpressme_class.php:388 
     134#: xpressme_class.php:392 
     135#: xpressme_class.php:395 
    66136msgid "Default Role of WordPress" 
    67137msgstr "WordPressのデフォルト権限" 
    68138 
    69 #: xpressme_class.php:275 
    70 #: xpressme_class.php:279 
    71 #: xpressme_class.php:282 
     139#: xpressme_class.php:389 
     140#: xpressme_class.php:393 
     141#: xpressme_class.php:396 
    72142msgid "Group User Doesn't Register" 
    73143msgstr "ユーザ登録しない" 
    74144 
    75 #: xpressme_class.php:311 
     145#: xpressme_class.php:425 
    76146msgid "Do Not Comment Integration." 
    77147msgstr "コメント統合しません。" 
    78148 
    79 #: xpressme_class.php:345 
     149#: xpressme_class.php:459 
    80150msgid "Comment integration with D3Forum" 
    81151msgstr "D3Forumとのコメント統合" 
    82152 
    83 #: xpressme_class.php:347 
     153#: xpressme_class.php:461 
    84154msgid "Select the forum of D3Forum that does the comment integration from the following lists." 
    85155msgstr "以下のリストからコメント統合をするD3Forumのフォーラムを選択してください。" 
    86156 
    87 #: xpressme_class.php:351 
     157#: xpressme_class.php:465 
    88158msgid "Select the Type of display of D3Forum comment." 
    89159msgstr "D3Forumの表示タイプを選択" 
    90160 
    91 #: xpressme_class.php:353 
    92 #: xpressme_class.php:356 
     161#: xpressme_class.php:467 
     162#: xpressme_class.php:470 
    93163msgid "Flat" 
    94164msgstr "フラット" 
    95165 
    96 #: xpressme_class.php:354 
    97 #: xpressme_class.php:357 
     166#: xpressme_class.php:468 
     167#: xpressme_class.php:471 
    98168msgid "Threaded" 
    99169msgstr "スレッド" 
    100170 
    101 #: xpressme_class.php:360 
     171#: xpressme_class.php:474 
    102172msgid "Select the order of display of D3Forum comment." 
    103173msgstr "D3Forumコメントの表示順を選択" 
    104174 
    105 #: xpressme_class.php:362 
    106 #: xpressme_class.php:365 
     175#: xpressme_class.php:476 
     176#: xpressme_class.php:479 
    107177msgid "DESC" 
    108178msgstr "降順" 
    109179 
    110 #: xpressme_class.php:363 
    111 #: xpressme_class.php:366 
     180#: xpressme_class.php:477 
     181#: xpressme_class.php:480 
    112182msgid "ASC" 
    113183msgstr "昇順" 
    114184 
    115 #: xpressme_class.php:369 
     185#: xpressme_class.php:483 
    116186msgid "Number of displays of D3Forum comments." 
    117187msgstr "D3Forumのコメント表示数" 
    118188 
    119 #: xpressme_class.php:373 
     189#: xpressme_class.php:487 
    120190msgid "The import and the export between Wordpress Comments and the D3Forum Posts can be done. " 
    121191msgstr "WordPressコメントとD3Forumポスト間の一括転送(エクスポート・インポート)" 
    122192 
    123 #: xpressme_class.php:374 
     193#: xpressme_class.php:488 
    124194msgid "Export to D3Forum" 
    125195msgstr "D3Forumへ一括エクスポート" 
    126196 
    127 #: xpressme_class.php:375 
     197#: xpressme_class.php:489 
    128198msgid "Import from D3Forum" 
    129199msgstr "D3Forumから一括インポート" 
    130200 
    131 #: xpressme_class.php:406 
     201#: xpressme_class.php:520 
    132202msgid "XPressME Configuration Page" 
    133203msgstr "XPressMEの設定ページ" 
    134204 
    135 #: xpressme_class.php:410 
     205#: xpressme_class.php:524 
    136206msgid "Media Upload Base Path" 
    137207msgstr "メディアアップロードのベースパス設定" 
    138208 
    139 #: xpressme_class.php:411 
     209#: xpressme_class.php:525 
    140210msgid "Use XOOPS UPLOAD PATH" 
    141211msgstr "XOOPSのアップロードパスを使用する。" 
    142212 
    143 #: xpressme_class.php:412 
     213#: xpressme_class.php:526 
    144214msgid "USE WordPress BASE_PATH" 
    145215msgstr "WordPressのベースパスを使用する。" 
    146216 
    147 #: xpressme_class.php:415 
     217#: xpressme_class.php:529 
    148218msgid "Thema Sidebar Display" 
    149219msgstr "テーマ表示時にサイドバー表示する。" 
    150220 
    151 #: xpressme_class.php:420 
     221#: xpressme_class.php:534 
    152222msgid "The change tracking of the post is preserved" 
    153223msgstr "投稿の変更履歴を有効にする。" 
    154224 
    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 
    188226msgid "Is the posts author views counted?" 
    189227msgstr "投稿者の閲覧をカウントしますか?" 
    190228 
    191 #: xpressme_class.php:446 
     229#: xpressme_class.php:549 
    192230msgid "Is SQL debugging window displayed?" 
    193231msgstr "SQLデバッグウィンドを表示しますか?" 
    194232 
    195 #: xpressme_class.php:458 
     233#: xpressme_class.php:561 
    196234msgid "Update Config" 
    197235msgstr "更新" 
    198236 
    199 #: xpressme_class.php:459 
     237#: xpressme_class.php:562 
    200238msgid "Preset Config" 
    201239msgstr "プリセット" 
    202240 
    203 #: include/custom_functions.php:180 
     241#: include/custom_functions.php:231 
    204242#, php-format 
    205243msgid "views :%d" 
    206244msgstr "閲覧数 :%d" 
    207245 
    208 #: include/custom_functions.php:266 
     246#: include/custom_functions.php:317 
    209247msgid "Main" 
    210248msgstr "メイン" 
    211249 
    212 #: include/custom_functions.php:268 
     250#: include/custom_functions.php:319 
    213251#, php-format 
    214252msgid "Archive for the &#8216;%s&#8217; Category" 
    215253msgstr "カテゴリー &#8216;%s&#8217; のアーカイブ" 
    216254 
    217 #: include/custom_functions.php:270 
     255#: include/custom_functions.php:321 
    218256#, php-format 
    219257msgid "Posts Tagged &#8216;%s&#8217;" 
    220 msgstr "" 
    221  
    222 #: include/custom_functions.php:272 
     258msgstr "&#8216;%s&#8217; タグのついている投稿" 
     259 
     260#: include/custom_functions.php:323 
    223261#, php-format 
    224262msgid "Archive for %s|Daily archive page" 
    225263msgstr "%sの日別アーカイブ" 
    226264 
    227 #: include/custom_functions.php:272 
     265#: include/custom_functions.php:323 
    228266msgid "F jS, Y" 
    229267msgstr "Y年n月j日" 
    230268 
    231 #: include/custom_functions.php:274 
     269#: include/custom_functions.php:325 
    232270#, php-format 
    233271msgid "Archive for %s|Monthly archive page" 
    234272msgstr "%sの月別アーカイブ" 
    235273 
    236 #: include/custom_functions.php:274 
     274#: include/custom_functions.php:325 
    237275msgid "F, Y" 
    238276msgstr "Y年n月" 
    239277 
    240 #: include/custom_functions.php:276 
     278#: include/custom_functions.php:327 
    241279#, php-format 
    242280msgid "Archive for %s|Yearly archive page" 
    243281msgstr "%sの年別アーカイブ " 
    244282 
    245 #: include/custom_functions.php:276 
     283#: include/custom_functions.php:327 
    246284msgid "Y" 
    247285msgstr "Y年" 
    248286 
    249 #: include/custom_functions.php:278 
     287#: include/custom_functions.php:329 
    250288#, php-format 
    251289msgid "Archive for the &#8216;%s&#8217; Author" 
    252290msgstr "投稿者 &#8216;%s&#8217; のアーカイブ" 
    253291 
    254 #: include/custom_functions.php:280 
    255 msgid "Search Results" 
    256 msgstr "検索結果" 
    257  
     292#: include/custom_functions.php:331 
     293#, php-format 
     294msgid "Search Results of word &#8216;%s&#8217;" 
     295msgstr "&#8216;%s&#8217; の検索結果" 
     296 
  • trunk/wp-content/plugins/xpressme/xpressme_class.php

    r139 r143  
    1212        var $old_post_link_text; 
    1313        var $newer_post_link_text; 
     14        var $is_left_page_navi_old; 
     15        var $old_page_link_text; 
     16        var $newer_page_link_text; 
    1417        var $is_author_view_count; 
    1518        var $is_sql_debug; 
     
    4851                $this->is_postnavi_title_disp = true; 
    4952                $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'); 
    5258                $this->is_author_view_count = false; 
    5359                $this->is_sql_debug = false; 
     
    8894                        'old_post_link_text' => $this->old_post_link_text , 
    8995                        '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, 
    9099                        'is_author_view_count' => $this->is_author_view_count, 
    91100                        'is_sql_debug' => $this->is_sql_debug, 
     
    156165                $this->is_left_postnavi_old = stripslashes(trim($_POST['ch_is_left_postnavi_old'])); 
    157166                $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 Old Post', 'xpressme'); 
     167                if(empty($this->old_post_link_text)) $this->old_post_link_text = __('Older Post', 'xpressme'); 
    159168                $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'); 
    161175                $this->is_author_view_count = stripslashes(trim($_POST['ch_is_author_view_count'])); 
    162176                $this->is_sql_debug = stripslashes(trim($_POST['ch_is_sql_debug'])); 
     
    210224                $form .=  '<th><label for="images_to_link">' . $option_desc . "</label></th>\n"; 
    211225                $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                 
    212239                if ($value){ 
    213240                        $form .= "<label><input type='radio' name='". $ans_name . "' value='1' checked='checked' />" . $yes ."</label><br />\n"; 
     
    217244                        $form .= "<label><input type='radio' name='". $ans_name . "' value='0' checked='checked' />". $no ."</label>\n"; 
    218245                } 
     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); 
    219258                $form .=  "</td>\n"; 
    220259                $form .=  "</tr><tr>\n"; 
     
    223262         
    224263        } 
    225  
    226         function text_option($option_name,$option_desc){ 
     264         
     265        function text_option_sub($option_name){ 
    227266                $value = $this->{$option_name}; 
    228267                $ans_name = 'ch_' . $option_name; 
    229268                 
    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"; 
    237270            return $form; 
    238271         
     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 
    239353        } 
    240354         
     
    422536                                                                                                __('NO','xpressme') 
    423537                                                                                                ); 
    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                 
    440543                echo                            $this->yes_no_radio_option('is_author_view_count', 
    441544                                                                                                __('Is the posts author views counted?','xpressme'), 
  • trunk/wp-content/themes/xpress_default/comments.php

    r123 r143  
    2121 
    2222<?php if ($comments) : ?> 
    23         <h3 id="xpress_comments"><?php comments_number(__('No Responses', 'xpress'), __('One Response', 'xpress'), __('% Responses', 'xpress'));?> <?php printf(__('to &#8220;%s&#8221;', 'xpress'), the_title('', '', false)); ?></h3> 
     23        <h2 id="xpress_comments"><?php comments_number(__('No Responses', 'xpress'), __('One Response', 'xpress'), __('% Responses', 'xpress'));?> <?php printf(__('to &#8220;%s&#8221;', 'xpress'), the_title('', '', false)); ?></h2> 
    2424        <?php if (function_exists('wp_list_comments')) : ?> 
    2525                <ol class="xpress_commentlist"> 
     
    7373<?php if ('open' == $post->comment_status) : ?> 
    7474        <div id="respond"> 
    75                 <h3><?php _e('Leave a Reply', 'xpress'); ?></h3> 
     75                <h2><?php _e('Leave a Reply', 'xpress'); ?></h2> 
    7676                <?php if ( function_exists('cancel_comment_reply_link') ): ?> 
    7777                        <div class="cancel-comment-reply"> 
  • trunk/wp-content/themes/xpress_default/index.php

    r141 r143  
    99?>                               
    1010 
    11                 <div class="xpress-header-bar"> 
     11                <div id="xpress-header-bar"> 
    1212                        <div class="xpress-header-title"> 
    1313                                <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> 
     
    3030                                        <div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div> 
    3131                                <?php else : ?> 
    32                                         <div class="xpress-next-posts-link"><?php next_posts_link(__('&laquo; Older Entries', 'xpress')) ?></div> 
    33                                         <div class="xpress-previous-posts-link">&nbsp;<?php previous_posts_link(__('Newer Entries &raquo;', '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> 
    3434                                <?php endif; ?> 
    3535                        </div> 
     
    4141                                                <?php if (function_exists('hotDates')) { hotDates(); }?> 
    4242                                                <div class ="xpress-post-title"> 
    43                                                         <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> 
     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> 
    4444                                                </div> 
    4545                                        </div> 
     
    6969                                        <div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div> 
    7070                                <?php else : ?> 
    71                                         <div class="xpress-next-posts-link"><?php next_posts_link(__('&laquo; Older Entries', 'xpress')) ?></div> 
    72                                         <div class="xpress-previous-posts-link">&nbsp;<?php previous_posts_link(__('Newer Entries &raquo;', '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> 
    7373                                <?php endif; ?> 
    7474                        </div> 
  • trunk/wp-content/themes/xpress_default/ja.po

    r141 r143  
    1818"Report-Msgid-Bugs-To: wp-polyglots@lists.automattic.com\n" 
    1919"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" 
    2121"Last-Translator: toemon <toychee@toemon.com>\n" 
    2222"Language-Team: toemon <info@toemon.com>\n" 
     
    621621#, php-format 
    622622msgid "%1$s %2$s|Used as a calendar caption" 
    623 msgstr "" 
     623msgstr "%2$s 年 %1$s|カレンダーのキャプションに使われます" 
    624624 
    625625#: xpress_default/blocks/calender_block_theme.php:104 
     
    627627#, php-format 
    628628msgid "View posts for %1$s %2$s" 
    629 msgstr "" 
     629msgstr "%2$s 年 %1$s の投稿を表示" 
    630630 
    631631#: xpress_default/blocks/enhanced_block_theme.php:11 
  • trunk/wp-content/themes/xpress_default/single.php

    r141 r143  
    99        }        
    1010?> 
    11                 <div class="xpress-header-bar"> 
     11                <div id="xpress-header-bar"> 
    1212                        <div class="xpress-header-title"> 
    1313                                <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> 
     
    3434 
    3535                <div class="xpress-post" id="post-<?php the_ID(); ?>"> 
    36                                         <div class ="xpress-post-header"> 
    37                                                 <?php if (function_exists('hotDates')) { hotDates(); }?> 
    38                                                 <div class ="xpress-post-title"> 
    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                                                 </div> 
    41                                         </div> 
     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> 
    4242 
    4343                        <div class="xpress-post-entry"> 
    4444                                <?php the_content('<p class="serif">' . __('Read the rest of this entry &raquo;', '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 '&nbsp;'; 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(' &bull; ') . '</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(' &bull; ')); ?> 
    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 &#187;', 'xpress'), __('1 Comment &#187;', 'xpress'), __('% Comments &#187;', 'xpress'), '', __('Comments Closed', 'xpress') ); 
     58                                ?> 
     59                        </div> 
     60                        <div class ="xpress-comments-block"> 
     61                                <?php comments_template(); ?>    
    8362                        </div> 
    8463                </div> 
    8564 
    86         <?php comments_template(); ?> 
     65         
    8766 
    8867        <?php endwhile; else: ?> 
  • trunk/wp-content/themes/xpress_default/style.css

    r141 r143  
    33Theme URI: http://trac.xpressme.info/XPressME 
    44Description: The theme for XPressME series 
    5 Version: 2.0 
    6 Author: toemon 
    7 Author URI: http://www.toemon.com 
    8 Tags: XPressME,toemon 
    9  
    105*/ 
    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 { 
    1333        float: left; 
    1434        margin-bottom: 20px; 
     
    1636        font-size: 16px; 
    1737} 
    18 .xpress-conditional-title { 
     38#xpress-header-bar .xpress-conditional-title { 
    1939        font-size: 14px; 
    2040        margin-bottom: 20px; 
     
    2242} 
    2343 
    24 .xpress-description { 
     44#xpress-header-bar .xpress-description { 
    2545        clear: both; 
    2646        font-size: 12px; 
     
    2848} 
    2949 
    30 .xpress-operation-link { 
     50#xpress-header-bar .xpress-operation-link { 
    3151        font-size: 12px; 
    3252        text-align: right; 
     
    3555.xpress-border { 
    3656        clear: both; 
    37 display: block; 
    38 } 
     57        display: block; 
     58        } 
    3959 
    4060.xpress-navi-bar { 
     
    4969        text-align: center; 
    5070} 
    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 { 
    6086        clear: both; 
    6187        padding-left: 20px; 
    6288 
    6389} 
    64 .xpress-post-footer{ 
     90.xpress-post .xpress-post-footer{ 
    6591        text-align: right; 
    6692        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        } 
     102h2.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         
    69132/* Begin Typography & Colors */ 
    70133 
    71 .xpress_content { 
    72         font-size: 1.0em; 
    73         } 
    74134 
    75135.widecolumn .entry { 
     
    117177 
    118178#xpress_page h3 { 
    119         font-size: 1.3em; 
     179        font-size: 1.6em; 
    120180        } 
    121181         
     
    207267} 
    208268 
    209 #xpress_page { 
    210         padding: 0; 
    211         width: 100%; 
    212         margin: 0; 
    213         text-align:left; 
    214         } 
    215269 
    216270#xpress_header { 
     
    220274        } 
    221275 
    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 
    235278         
    236279.widecolumn {  
     
    238281        margin: 0 auto; 
    239282        }        
    240          
    241          
    242 .xpress-post { 
    243         width: 100%; 
    244         margin: 5px 0 10px; 
    245         padding-top:20px; 
    246         clear: both; 
    247         }        
     283 
     284         
    248285         
    249286.xpress-post h2 { 
     
    296333} 
    297334 
    298 #xpress_footer { 
    299         padding-top: 0px; 
    300         margin: 0 auto; 
    301         width: 100%; 
    302         clear: both; 
    303         } 
    304335 
    305336#xpress_footer p { 
     
    309340        } 
    310341         
    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 
    330347 
    331348.dateblock{ 
     
    352369        } 
    353370 
    354 h3.xpress_comments { 
    355         padding: 0; 
    356         margin: 40px auto 20px ; 
    357         } 
    358371/* End Headers */ 
    359372 
Note: See TracChangeset for help on using the changeset viewer.