XPressME Integration Kit

Trac


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

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

Location:
trunk/wp-content/plugins/xpressme
Files:
4 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'), 
Note: See TracChangeset for help on using the changeset viewer.