- Timestamp:
- Dec 17, 2008, 12:18:56 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 1 deleted
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-config.php
r31 r32 3 3 require_once dirname( __FILE__ ).'/include/set_cash_cookie_path.php' ; 4 4 require_once dirname( __FILE__ ).'/include/pluggable-override.php' ; 5 require_once dirname( __FILE__ ).'/include/custom_functions.php' ;6 5 7 6 mb_language('Japanese'); -
trunk/wp-content/plugins/xpressme/language/xpressme-ja.po
r28 r32 3 3 "Project-Id-Version: fckeditor for xpress\n" 4 4 "POT-Creation-Date: \n" 5 "PO-Revision-Date: 2008-12-1 5 17:50+0900\n"5 "PO-Revision-Date: 2008-12-17 09:50+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:2 017 #: xpressme_class.php:25 18 18 msgid "XPressME Settings" 19 19 msgstr "XPressME設定" 20 20 21 #: xpressme_class.php:73 22 #: xpressme_class.php:118 23 #: xpressme_class.php:123 21 #: xpressme_class.php:42 22 #: xpressme_class.php:81 23 msgid "to Old Post" 24 msgstr "前の投稿へ" 25 26 #: xpressme_class.php:43 27 #: xpressme_class.php:83 28 msgid "to Newer Post" 29 msgstr "次の投稿へ" 30 31 #: xpressme_class.php:88 32 #: xpressme_class.php:148 33 #: xpressme_class.php:153 24 34 msgid "YES" 25 35 msgstr "はい" 26 36 27 #: xpressme_class.php: 7428 #: xpressme_class.php:1 1929 #: xpressme_class.php:1 2437 #: xpressme_class.php:89 38 #: xpressme_class.php:149 39 #: xpressme_class.php:154 30 40 msgid "NO" 31 41 msgstr "いいえ" 32 42 33 #: xpressme_class.php:1 0843 #: xpressme_class.php:138 34 44 msgid "XPressME Configuration Page" 35 45 msgstr "XPressMEの設定ページ" 36 46 37 #: xpressme_class.php:1 1247 #: xpressme_class.php:142 38 48 msgid "Media Upload Base Path" 39 49 msgstr "メディアアップロードのベースパス設定" 40 50 41 #: xpressme_class.php:1 1351 #: xpressme_class.php:143 42 52 msgid "Use XOOPS UPLOAD PATH" 43 53 msgstr "XOOPSのアップロードパスを使用する。" 44 54 45 #: xpressme_class.php:1 1455 #: xpressme_class.php:144 46 56 msgid "USE WordPress BASE_PATH" 47 57 msgstr "WordPressのベースパスを使用する。" 48 58 49 #: xpressme_class.php:1 1759 #: xpressme_class.php:147 50 60 msgid "Thema Sidebar Display" 51 61 msgstr "テーマ表示時にサイドバー表示する。" 52 62 53 #: xpressme_class.php:1 2263 #: xpressme_class.php:152 54 64 msgid "The change tracking of the post is preserved" 55 65 msgstr "投稿の変更履歴を有効にする。" 56 66 57 #: xpressme_class.php:131 67 #: xpressme_class.php:157 68 msgid "Select Display name of PostNavi Link" 69 msgstr "投稿記事リンクナビのタイトル設定" 70 71 #: xpressme_class.php:158 72 msgid "Title of post" 73 msgstr "投稿記事のタイトルを表示" 74 75 #: xpressme_class.php:159 76 msgid "Next and Previous" 77 msgstr "[次の投稿へ]、[前の投稿]へを表示" 78 79 #: xpressme_class.php:162 80 msgid "Adjustment of Navi link display position" 81 msgstr "投稿記事ナビリンクの表示位置設定" 82 83 #: xpressme_class.php:163 84 msgid "'Old Post Link' is displayed in the left, and 'Newer Post Link' is displayed in the right" 85 msgstr "古い記事へのリンクを左に、より新しい記事へのリンクを右に表示" 86 87 #: xpressme_class.php:164 88 msgid "'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right" 89 msgstr "より新しい記事へのリンクを左に、古い記事へのリンクを右に表示" 90 91 #: xpressme_class.php:167 92 msgid "Display Title of Old Post Link" 93 msgstr "古い記事へのリンクタイトルを設定" 94 95 #: xpressme_class.php:170 96 msgid "Display Title of Newer Post Link" 97 msgstr "より新しい記事へのリンクタイトルを設定" 98 99 #: xpressme_class.php:178 58 100 msgid "Update Config" 59 101 msgstr "更新" 60 102 61 #: xpressme_class.php:1 32103 #: xpressme_class.php:179 62 104 msgid "Preset Config" 63 105 msgstr "プリセット" -
trunk/wp-content/plugins/xpressme/xpressme.php
r28 r32 17 17 remove_action( 'pre_post_update', 'wp_save_post_revision' ); // Not Save Post Revision 18 18 } 19 19 //require_once('../include/custom_functions.php'); 20 require_once dirname( __FILE__ ).'/include/custom_functions.php' ; 20 21 ?> -
trunk/wp-content/plugins/xpressme/xpressme_class.php
r28 r32 8 8 var $is_theme_sidebar_disp; 9 9 var $is_save_post_revision; 10 var $is_postnavi_title_disp; 11 var $is_left_postnavi_old; 12 var $old_post_link_text; 13 var $newer_post_link_text; 14 10 15 //constructor 11 16 function XPressME_Class() … … 33 38 $this->is_theme_sidebar_disp = true; 34 39 $this->is_save_post_revision = true; 40 $this->is_postnavi_title_disp = true; 41 $this->is_left_postnavi_old = true; 42 $this->old_post_link_text = __('to Old Post'); 43 $this->newer_post_link_text = __('to Newer Post'); 35 44 } 36 45 … … 53 62 $write_options = array ( 54 63 'is_use_xoops_upload_path' => $this->is_use_xoops_upload_path , 55 'is_theme_sidebar_disp' => $this->is_theme_sidebar_disp 64 'is_theme_sidebar_disp' => $this->is_theme_sidebar_disp , 65 'is_save_post_revision' => $this->is_save_post_revision , 66 'is_postnavi_title_disp' => $this->is_postnavi_title_disp , 67 'is_left_postnavi_old' => $this->is_left_postnavi_old , 68 'old_post_link_text' => $this->old_post_link_text , 69 'newer_post_link_text' => $this->newer_post_link_text 56 70 ); 57 71 if ($mode == 'add_new') { … … 67 81 $this->is_theme_sidebar_disp = stripslashes(trim($_POST['ch_is_theme_sidebar_disp'])); 68 82 $this->is_save_post_revision = stripslashes(trim($_POST['ch_is_save_post_revision'])); 83 $this->is_postnavi_title_disp = stripslashes(trim($_POST['ch_is_postnavi_title_disp'])); 84 $this->is_left_postnavi_old = stripslashes(trim($_POST['ch_is_left_postnavi_old'])); 85 $this->old_post_link_text = stripslashes($_POST['ch_old_post_link_text']); 86 if(empty($this->old_post_link_text)) $this->old_post_link_text = __('to Old Post'); 87 $this->newer_post_link_text = stripslashes($_POST['ch_newer_post_link_text']); 88 if(empty($this->newer_post_link_text)) $this->newer_post_link_text = __('to Newer Post'); 89 69 90 } 70 91 71 92 function yes_no_radio_option($option_name,$option_desc,$yes = '',$no= ''){ 72 if (empty( $yes )) $yes = __('YES','xpressme') ; 73 if (empty( $no )) $no = __('NO','xpressme') ; 74 $value = $this->{$option_name}; 75 $ans_name = 'ch_' . $option_name; 76 77 $form = "<tr>\n"; 78 $form .= '<th><label for="images_to_link">' . $option_desc . "</label></th>\n"; 79 $form .= "<td>\n"; 80 if ($value){ 81 $form .= "<label><input type='radio' name='". $ans_name . "' value='1' checked='checked' />" . $yes ."</label><br />\n"; 82 $form .= "<label><input type='radio' name='". $ans_name . "' value='0' />". $no . "</label>\n"; 83 }else{ 84 $form .= "<label><input type='radio' name='". $ans_name . "' value='1' />" . $yes . "</label><br />\n"; 85 $form .= "<label><input type='radio' name='". $ans_name . "' value='0' checked='checked' />". $no ."</label>\n"; 86 } 87 $form .= "</td>\n"; 88 $form .= "</tr><tr>\n"; 89 90 return $form; 91 92 } 93 if (empty( $yes )) $yes = __('YES','xpressme') ; 94 if (empty( $no )) $no = __('NO','xpressme') ; 95 $value = $this->{$option_name}; 96 $ans_name = 'ch_' . $option_name; 97 98 $form = "<tr>\n"; 99 $form .= '<th><label for="images_to_link">' . $option_desc . "</label></th>\n"; 100 $form .= "<td>\n"; 101 if ($value){ 102 $form .= "<label><input type='radio' name='". $ans_name . "' value='1' checked='checked' />" . $yes ."</label><br />\n"; 103 $form .= "<label><input type='radio' name='". $ans_name . "' value='0' />". $no . "</label>\n"; 104 }else{ 105 $form .= "<label><input type='radio' name='". $ans_name . "' value='1' />" . $yes . "</label><br />\n"; 106 $form .= "<label><input type='radio' name='". $ans_name . "' value='0' checked='checked' />". $no ."</label>\n"; 107 } 108 $form .= "</td>\n"; 109 $form .= "</tr><tr>\n"; 110 111 return $form; 112 113 } 114 115 function text_option($option_name,$option_desc){ 116 $value = $this->{$option_name}; 117 $ans_name = 'ch_' . $option_name; 118 119 $form = "<tr>\n"; 120 $form .= '<th><label for="images_to_link">' . $option_desc . "</label></th>\n"; 121 $form .= "<td>\n"; 122 $form .= '<label> <input name="'. $ans_name . '" type="text" size="25" maxlength="50" value="' . $value . '" /></label>'."\n"; 123 $form .= "</td>\n"; 124 $form .= "</tr><tr>\n"; 125 126 return $form; 127 128 } 93 129 94 130 function option_page() … … 123 159 __('NO','xpressme') 124 160 ); 161 echo $this->yes_no_radio_option('is_postnavi_title_disp', 162 __('Select Display name of PostNavi Link','xpressme'), 163 __('Title of post','xpressme'), 164 __('Next and Previous','xpressme') 165 ); 166 echo $this->yes_no_radio_option('is_left_postnavi_old', 167 __('Adjustment of Navi link display position','xpressme'), 168 __("'Old Post Link' is displayed in the left, and 'Newer Post Link' is displayed in the right",'xpressme'), 169 __("'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right",'xpressme') 170 ); 171 echo $this->text_option('old_post_link_text', 172 __('Display Title of Old Post Link','xpressme') 173 ); 174 echo $this->text_option('newer_post_link_text', 175 __('Display Title of Newer Post Link','xpressme') 176 ); 177 125 178 126 179 // $this->is_use_xoops_upload_path_html(); -
trunk/wp-content/themes/xpress_default/footer.php
r1 r32 1 1 <hr /> 2 2 <div id="xpress_footer"> 3 <!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way; it's our only promotion or advertising. -->4 3 <p> 5 <?php printf(__('%1$s is proudly powered by %2$s', 'kubrick'), get_bloginfo('name'),the_credit()); ?> 6 <br /><?php printf(__('%1$s and %2$s.', 'kubrick'), '<a href="' . get_bloginfo('rss2_url') . '">' . __('Entries (RSS)', 'kubrick') . '</a>', '<a href="' . get_bloginfo('comments_rss2_url') . '">' . __('Comments (RSS)', 'kubrick') . '</a>'); ?> 4 <?php printf(__('%1$s and %2$s.', 'kubrick'), '<a href="' . get_bloginfo('rss2_url') . '">' . __('Entries (RSS)', 'kubrick') . '</a>', '<a href="' . get_bloginfo('comments_rss2_url') . '">' . __('Comments (RSS)', 'kubrick') . '</a>'); ?> 7 5 <!-- <?php printf(__('%d queries. %s seconds.', 'kubrick'), get_num_queries(), timer_stop(0, 3)); ?> --> 8 6 </p> 7 <!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way; it's our only promotion or advertising. --> 8 <div id="xpress_credit"><?php echo xpress_credit(). ' (' . xpress_convert_time() . ')'; ?></div> 9 9 </div> 10 10 </div> -
trunk/wp-content/themes/xpress_default/functions.php
r1 r32 10 10 load_theme_textdomain('kubrick'); 11 11 12 function the_credit()13 {14 15 }16 17 function is_sidbar_disp()18 {19 return true;20 }21 22 function kuro_previous_post_link($format='« %link', $link='%title', $in_same_cat = false, $excluded_categories = '')23 {24 $pre_title = __('Previous Post'); // This text is included in the language file that exists in WordPress2.3 or the version after that.25 26 ob_start();27 previous_post_link($format,$link,$in_same_cat,$excluded_categories);28 $ret = ob_get_contents();29 ob_end_clean();30 $ret= str_replace('">','" title="'. $pre_title . '">' , $ret);31 echo $ret;32 }33 34 function kuro_next_post_link($format='%link »', $link='%title', $in_same_cat = false, $excluded_categories = '')35 {36 $next_title = __('Next Post'); // This text is included in the language file that exists in WordPress2.3 or the version after that.37 38 ob_start();39 next_post_link($format,$link,$in_same_cat,$excluded_categories);40 $ret = ob_get_contents();41 ob_end_clean();42 $ret= str_replace('">','" title="'. $next_title . '">' , $ret);43 echo $ret;44 }45 46 12 function kubrick_head() { 47 13 $head = "<style type='text/css'>\n<!--"; -
trunk/wp-content/themes/xpress_default/index.php
r1 r32 3 3 <div id="xpress_wrap"> 4 4 5 <?php if( is_sidbar_disp()) : ?>5 <?php if(xpress_is_theme_sidebar_disp()) : ?> 6 6 7 7 <div id="xpress_content" class="narrowcolumn"> -
trunk/wp-content/themes/xpress_default/single.php
r1 r32 13 13 14 14 <div class="xpress_single_navigation"> 15 <div class="alignleft"><?php kuro_previous_post_link('« %link') ?></div>16 <div class="alignright"><?php kuro_next_post_link('%link »') ?></div>15 <div class="alignleft"><?php xpress_left_arrow_post_link(true) ?></div> 16 <div class="alignright"><?php xpress_right_arrow_post_link(true) ?></div> 17 17 </div> 18 18 -
trunk/wp-content/themes/xpress_default/style.css
r25 r32 141 141 font-size: 0.9em; 142 142 } 143 144 #xpress_credit { 145 font-size: 0.9em; 146 color: darkgray; 147 } 148 #xpress_credit a { 149 font-size: 0.9em; 150 color: darkgray; 151 } 143 152 /* End Typography & Colors */ 144 153 … … 250 259 margin: 0; 251 260 padding: 20px 0; 261 text-align: center; 262 } 263 264 #xpress_credit { 265 margin: 0; 266 padding: 0; 252 267 text-align: center; 253 268 }
Note: See TracChangeset
for help on using the changeset viewer.