Changeset 54 for trunk/wp-content/plugins
- Timestamp:
- Dec 28, 2008, 2:28:17 AM (16 years ago)
- Location:
- trunk/wp-content/plugins/xpressme
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/plugins/xpressme/include/custom_functions.php
r51 r54 218 218 // Retrieves post views given a post ID or post object. 219 219 function xpress_post_views_count($post_id=0,$format= '',$show = true) { 220 global $ table_prefix;220 global $xoops_db; 221 221 222 222 static $post_cache_views; … … 230 230 if($post_id==0) return null; 231 231 if(!isset($post_cache_views[$post_id])){ 232 $sql = "SELECT post_views FROM " . $table_prefix . "views" . " WHERE post_id=$post_id"; 233 if (!$result = $GLOBALS["xoopsDB"]->query($sql)) { 232 $sql = "SELECT post_views FROM " . get_xoops_prefix() . "views" . " WHERE post_id=$post_id"; 233 $post_views = $xoops_db->get_var($sql); 234 if (!$post_views) { 234 235 $post_cache_views[$post_id] = 0; 235 236 }else{ 236 $row = $GLOBALS["xoopsDB"]->fetchArray($result); 237 $post_cache_views[$post_id] = $row["post_views"]; 237 $post_cache_views[$post_id] = $post_views; 238 238 } 239 239 } -
trunk/wp-content/plugins/xpressme/language/xpressme-ja.po
r51 r54 3 3 "Project-Id-Version: fckeditor for xpress\n" 4 4 "POT-Creation-Date: \n" 5 "PO-Revision-Date: 2008-12- 27 17:37+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" … … 12 12 "X-Poedit-Country: JAPAN\n" 13 13 "X-Poedit-KeywordsList: _e;__\n" 14 "X-Poedit-Basepath: C:\\xampp\\htdocs\\cube\\modules\\xpress2 x\\wp-content\\plugins\\xpressme\n"14 "X-Poedit-Basepath: C:\\xampp\\htdocs\\cube\\modules\\xpress2\\wp-content\\plugins\\xpressme\n" 15 15 "X-Poedit-SearchPath-0: .\n" 16 16 17 #: xpressme_class.php:2 617 #: xpressme_class.php:25 18 18 msgid "XPressME Settings" 19 19 msgstr "XPressME設定" 20 20 21 #: xpressme_class.php:4 322 #: xpressme_class.php:8 921 #: xpressme_class.php:42 22 #: xpressme_class.php:81 23 23 msgid "to Old Post" 24 24 msgstr "前の投稿へ" 25 25 26 #: xpressme_class.php:4 427 #: xpressme_class.php: 9126 #: xpressme_class.php:43 27 #: xpressme_class.php:83 28 28 msgid "to Newer Post" 29 29 msgstr "次の投稿へ" 30 30 31 #: xpressme_class.php:97 32 #: xpressme_class.php:157 33 #: xpressme_class.php:162 34 #: xpressme_class.php:183 31 #: xpressme_class.php:88 32 #: xpressme_class.php:148 33 #: xpressme_class.php:153 35 34 msgid "YES" 36 35 msgstr "はい" 37 36 38 #: xpressme_class.php:98 39 #: xpressme_class.php:158 40 #: xpressme_class.php:163 41 #: xpressme_class.php:184 37 #: xpressme_class.php:89 38 #: xpressme_class.php:149 39 #: xpressme_class.php:154 42 40 msgid "NO" 43 41 msgstr "いいえ" 44 42 45 #: xpressme_class.php:1 4743 #: xpressme_class.php:138 46 44 msgid "XPressME Configuration Page" 47 45 msgstr "XPressMEの設定ページ" 48 46 49 #: xpressme_class.php:1 5147 #: xpressme_class.php:142 50 48 msgid "Media Upload Base Path" 51 49 msgstr "メディアアップロードのベースパス設定" 52 50 53 #: xpressme_class.php:1 5251 #: xpressme_class.php:143 54 52 msgid "Use XOOPS UPLOAD PATH" 55 53 msgstr "XOOPSのアップロードパスを使用する。" 56 54 57 #: xpressme_class.php:1 5355 #: xpressme_class.php:144 58 56 msgid "USE WordPress BASE_PATH" 59 57 msgstr "WordPressのベースパスを使用する。" 60 58 61 #: xpressme_class.php:1 5659 #: xpressme_class.php:147 62 60 msgid "Thema Sidebar Display" 63 61 msgstr "テーマ表示時にサイドバー表示する。" 64 62 65 #: xpressme_class.php:1 6163 #: xpressme_class.php:152 66 64 msgid "The change tracking of the post is preserved" 67 65 msgstr "投稿の変更履歴を有効にする。" 68 66 69 #: xpressme_class.php:1 6667 #: xpressme_class.php:157 70 68 msgid "Select Display name of PostNavi Link" 71 69 msgstr "投稿記事リンクナビのタイトル設定" 72 70 73 #: xpressme_class.php:1 6771 #: xpressme_class.php:158 74 72 msgid "Title of post" 75 73 msgstr "投稿記事のタイトルを表示" 76 74 77 #: xpressme_class.php:1 6875 #: xpressme_class.php:159 78 76 msgid "Next and Previous" 79 77 msgstr "[次の投稿へ]、[前の投稿]へを表示" 80 78 81 #: xpressme_class.php:1 7179 #: xpressme_class.php:162 82 80 msgid "Adjustment of Navi link display position" 83 81 msgstr "投稿記事ナビリンクの表示位置設定" 84 82 85 #: xpressme_class.php:1 7283 #: xpressme_class.php:163 86 84 msgid "'Old Post Link' is displayed in the left, and 'Newer Post Link' is displayed in the right" 87 85 msgstr "古い記事へのリンクを左に、より新しい記事へのリンクを右に表示" 88 86 89 #: xpressme_class.php:1 7387 #: xpressme_class.php:164 90 88 msgid "'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right" 91 89 msgstr "より新しい記事へのリンクを左に、古い記事へのリンクを右に表示" 92 90 93 #: xpressme_class.php:1 7691 #: xpressme_class.php:167 94 92 msgid "Display Title of Old Post Link" 95 93 msgstr "古い記事へのリンクタイトルを設定" 96 94 97 #: xpressme_class.php:17 995 #: xpressme_class.php:170 98 96 msgid "Display Title of Newer Post Link" 99 97 msgstr "より新しい記事へのリンクタイトルを設定" 100 98 101 #: xpressme_class.php:182 102 msgid "Is the posts author views counted?" 103 msgstr "投稿者自身の閲覧をカウントしますか?" 104 105 #: xpressme_class.php:190 99 #: xpressme_class.php:178 106 100 msgid "Update Config" 107 101 msgstr "更新" 108 102 109 #: xpressme_class.php:1 91103 #: xpressme_class.php:179 110 104 msgid "Preset Config" 111 105 msgstr "プリセット" 112 106 113 #: include/custom_functions.php:242114 #, php-format115 msgid "views :%d"116 msgstr "閲覧数 :%d"117
Note: See TracChangeset
for help on using the changeset viewer.