Changeset 592
- Timestamp:
- 03/02/09 16:52:47 (12 months ago)
- Location:
- plugins/trunk
- Files:
-
- 1 removed
- 12 modified
-
CT_RecentRG_Default/index.php (modified) (3 diffs)
-
CT_RecentRG_Default/index.xml (modified) (1 diff)
-
CT_RecentTB_Default/index.php (modified) (3 diffs)
-
CT_RecentTB_Default/index.xml (modified) (2 diffs)
-
CT_Textcube_Plugin_N_Skin/index.php (modified) (3 diffs)
-
CT_Textcube_Plugin_N_Skin/index.xml (modified) (2 diffs)
-
CT_textcube_howto/index.php (modified) (5 diffs)
-
CT_textcube_howto/index.xml (modified) (2 diffs)
-
JP_CT_RecentCommentNotifies/index.php (modified) (1 diff)
-
JP_CT_RecentCommentNotifies/index.xml (modified) (1 diff)
-
JP_FlashCounterViewTT/help.txt (deleted)
-
JP_FlashCounterViewTT/index.xml (modified) (2 diffs)
-
JP_FlickrYoutubeMediaSearch/index.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
plugins/trunk/CT_RecentRG_Default/index.php
r538 r592 1 1 <?php 2 /* Recent Guestbook plugin for T extcube 1.62 /* Recent Guestbook plugin for Tattertools 1.1 3 3 ---------------------------------- 4 Version 1. 65 Tatter Network Foundation development team / Needlworks4 Version 1.0 5 Tatter and Friends development team. 6 6 7 7 Creator : Peris … … 10 10 11 11 Created at : 2006.7.25 12 Last modified at : 200 8.02.2512 Last modified at : 2007.08.10 13 13 14 14 This plugin shows recent eeplies on 'quilt'. … … 35 35 $limitLine = ($data['repliesList'])?$data['repliesList']:$skinSetting['commentsOnRecent']; 36 36 $sql = "SELECT * FROM {$database['prefix']}Comments WHERE blogid = {$blogid} AND entry=0 AND isFiltered = 0 {$repliesChk} ORDER BY written DESC LIMIT {$limitLine}"; 37 if ($result = mysql_query($sql)) {38 while ($comment = mysql_fetch_array($result)) {37 if ($result = POD::query($sql)) { 38 while ($comment = POD::fetch($result, 'array')) { 39 39 if ($data['repliesChk'] == 2) { 40 $row = DBQuery::queryCell("select count(*) from {$database['prefix']}Comments where blogid = $blogid AND parent = ".$comment['id']);40 $row = POD::queryCell("select count(*) from {$database['prefix']}Comments where blogid = $blogid AND parent = ".$comment['id']); 41 41 $comment['replier'] = ($row)?"<img src=\"{$pluginURL}/replier.gif\" width=\"11\" height=\"9\" align=\"top\" style=\"margin-left:2px;\"/>":""; 42 42 }else{$comment['replier'] = "";} -
plugins/trunk/CT_RecentRG_Default/index.xml
r538 r592 10 10 <description xml:lang="ja">最新 ゲストブック ・プラグ・イン</description> 11 11 <license>GPL</license> 12 <author xml:lang="en" link="http://needlworks.org"> <![CDATA[Yong-ju, Park (jparker / Needlworks)]]></author>13 <author xml:lang="ko" link="http://needlworks.org"> <![CDATA[박용주 (jparker / Needlworks)]]></author>14 <author xml:lang="ja" link="http://needlworks.org"> <![CDATA[Yong-ju, Park (jparker / Needlworks)]]></author>12 <author xml:lang="en" link="http://needlworks.org">Needlworks</author> 13 <author xml:lang="ko" link="http://needlworks.org">Needlworks</author> 14 <author xml:lang="ja" link="http://needlworks.org">Needlworks</author> 15 15 <safety changeData="no" exposeData="no" accessLocal="no" accessRemote="no" accessRaw="yes" /> 16 16 <requirements> 17 <textcube>1. 6</textcube>17 <textcube>1.5</textcube> 18 18 </requirements> 19 19 <binding> -
plugins/trunk/CT_RecentTB_Default/index.php
r538 r592 1 1 <?php 2 /* Recent Trackbacks plugin for Textcube 1. 52 /* Recent Trackbacks plugin for Textcube 1.8 3 3 ---------------------------------- 4 Version 1. 04 Version 1.1 5 5 Tatter and Friends development team. 6 6 7 7 Creator : NANI 8 Maintainer : Peris, inureyes, graphittie 8 Maintainer : Peris, inureyes, graphittie, J.Parker 9 9 10 10 Created at : 2006.10.10 11 Last modified at : 200 7.8.1011 Last modified at : 2009.1.05 (J.Parker) 12 12 13 13 This plugin shows recent trackback on 'quilt'. … … 25 25 */ 26 26 27 // lib/model/trackback.php : 46 line28 27 function _getRecentTrackbacks($blogid) { 29 28 global $database; 30 29 global $skinSetting; 31 30 $trackbacks = array(); 32 $sql = doesHaveOwnership() ? "SELECT * 33 FROM 34 {$database['prefix']}Trackbacks 35 WHERE 36 blogid = $blogid AND isFiltered = 0 37 ORDER BY 38 written 39 DESC LIMIT 40 {$skinSetting['trackbacksOnRecent']}" : 41 "SELECT t.* 42 FROM 43 {$database['prefix']}Trackbacks t 44 LEFT JOIN {$database['prefix']}Entries e ON t.blogid = e.blogid AND t.entry = e.id 45 LEFT JOIN {$database['prefix']}Categories c ON e.blogid = c.blogid AND e.category = c.id 46 WHERE 47 t.blogid = $blogid AND e.draft = 0 AND e.visibility >= 2 AND (c.visibility > 1 OR e.category = 0) AND t.isFiltered = 0 48 ORDER BY 49 t.written 50 DESC LIMIT 31 $sql = "SELECT * FROM {$database['prefix']}RemoteResponses 32 WHERE 33 blogid = $blogid AND type = 'trackback' AND isFiltered = 0 34 ORDER BY 35 written 36 DESC LIMIT 51 37 {$skinSetting['trackbacksOnRecent']}"; 52 if ($result = DBQuery::query($sql)) { 53 while ($trackback = mysql_fetch_array($result)) 38 39 if ($result = POD::query($sql)) { 40 while ($trackback = POD::fetch($result, 'array')) 54 41 array_push($trackbacks, $trackback); 55 42 } … … 58 45 59 46 function CT_RecentTB_Default($target) { 60 global $blogid; 61 global $blogURL; 47 global $blogid, $blogURL; 62 48 requireComponent("Eolin.PHP.Core"); 63 49 requireComponent("Textcube.Function.misc"); 64 50 65 51 $target .= '<ul>'; 66 52 $trackbacks = _getRecentTrackbacks($blogid); -
plugins/trunk/CT_RecentTB_Default/index.xml
r441 r592 4 4 <title xml:lang="ko">최근 글걸기</title> 5 5 <link>http://http://needlworks.org/</link> 6 <version>1. 1</version>6 <version>1.8.0105</version> 7 7 <description xml:lang="en">Shows recent trackbacks</description> 8 8 <description xml:lang="ko">최근에 걸린 글들을 보여줍니다</description> … … 12 12 <safety changeData="no" exposeData="no" accessLocal="no" accessRemote="no" accessRaw="yes" /> 13 13 <requirements> 14 <textcube>1. 5</textcube>14 <textcube>1.7</textcube> 15 15 </requirements> 16 16 <binding> -
plugins/trunk/CT_Textcube_Plugin_N_Skin/index.php
r542 r592 29 29 <li id="Addon-tab-4" class="no-selected-tab" onclick="selectAddonTab('Addon-tab-4', 'Addon-tab-1', 'Addon-tab-2', 'Addon-tab-3');hideLayer('CT_Addon3');hideLayer('CT_Addon2');hideLayer('CT_Addon1');showLayer('CT_Addon4');">검색</li> 30 30 </ul> 31 </div> 31 </div> 32 32 <? 33 33 $target .= ob_get_contents(); 34 34 ob_end_clean(); 35 36 35 $recentRssURLS = array('http://textcube.org/plugin/plugin/newRecentRSS?blogname=all', 'http://textcube.org/plugin/plugin/newRecentRSS?blogname=plugin', 'http://textcube.org/plugin/plugin/newRecentRSS?blogname=theme'); 37 36 $OL_CNT = 0; 38 37 foreach ($recentRssURLS as $recentRssURL){ 39 38 $OL_CNT++; 40 if(!is_null(getServiceSetting('TextcubePSAddon'.$OL_CNT))) { 41 $AddonEntries = unserialize(getServiceSetting('TextcubePSAddon'.$OL_CNT)); 39 if(!is_null(getServiceSetting('Textcube_PS_Addon_'.$OL_CNT))) { 40 41 $AddonEntries = unserialize(getServiceSetting('Textcube_PS_Addon_'.$OL_CNT)); 42 42 $result = 0; 43 43 } else { 44 44 list($result, $feed, $xml, $AddonEntries) = CT_textcube_Plugin_N_Skin_getRemoteFeed($recentRssURL); 45 setServiceSetting('Textcube PSAddon'.$OL_CNT,serialize($AddonEntries));45 setServiceSetting('Textcube_PS_Addon_'.$OL_CNT,serialize($AddonEntries)); 46 46 } 47 47 if ($result == 0) { … … 116 116 else if(isset($rssInfo['path'])) { 117 117 if($rssInfo['path']{0} == '/') 118 $rssURL = "{$urlInfo['scheme']}://{$urlInfo['host']}{$rssInfo['path']}"; 118 $rssURL = "{$urlInfo['scheme']}://{$urlInfo['host']}{$rssInfo['path']}"; 119 119 else 120 120 $rssURL = "{$urlInfo['scheme']}://{$urlInfo['host']}".(isset($urlInfo['path']) ? rtrim($urlInfo['path'], '/') : '').'/'.$rssInfo['path']; … … 163 163 } 164 164 165 function CT_textcube_Plugin_N_Skin_sweep($target, $mother = true) { 166 requireModel('common.setting'); 167 removeServiceSetting('TextcubePSAddon1'); 168 removeServiceSetting('TextcubePSAddon2'); 169 removeServiceSetting('TextcubePSAddon3'); 170 return $target; 165 function CT_textcube_Plugin_N_Skin_sweep() { 166 CT_PNS_removeServiceSetting('Textcube_PS_Addon_1'); 167 CT_PNS_removeServiceSetting('Textcube_PS_Addon_2'); 168 CT_PNS_removeServiceSetting('Textcube_PS_Addon_3'); 169 return true; 170 } 171 172 function CT_PNS_removeServiceSetting($name,$pruneSimilarEntries = false) { 173 global $database; 174 clearServiceSettingCache(); 175 if($pruneSimilarEntries) return POD::execute("DELETE FROM {$database['prefix']}ServiceSettings WHERE name like '".POD::escapeString($name)."'"); 176 else return POD::execute("DELETE FROM {$database['prefix']}ServiceSettings WHERE name = '".POD::escapeString($name)."'"); 171 177 } 172 178 ?> -
plugins/trunk/CT_Textcube_Plugin_N_Skin/index.xml
r542 r592 3 3 <title xml:lang="ko"><![CDATA[텍스트큐브 최근 플러그인/스킨]]></title> 4 4 <link>http://textcube.org/</link> 5 <version>1. 6.0603</version>5 <version>1.9.0302</version> 6 6 <description xml:lang="ko"><![CDATA[텍스트큐브 플러그인/스킨 블로그의 글을 보여줍니다.]]></description> 7 7 <license>GPL</license> … … 15 15 <binding> 16 16 <center handler="CT_textcube_Plugin_N_Skin" /> 17 <listener event="Cron 12h">CT_textcube_Plugin_N_Skin_sweep</listener>17 <listener event="Cron6h">CT_textcube_Plugin_N_Skin_sweep</listener> 18 18 <listener event="AddPostEditorToolbox">Null</listener> 19 19 </binding> -
plugins/trunk/CT_textcube_howto/index.php
r538 r592 26 26 <li id="howto-tab-3" class="no-selected-tab" onclick="selectTab('howto-tab-3', 'howto-tab-1', 'howto-tab-2');hideLayer('CT_howTo2');hideLayer('CT_howTo1');showLayer('CT_howTo3');">팁 검색</li> 27 27 </ul> 28 </div> 28 </div> 29 29 <? 30 30 $target .= ob_get_contents(); … … 35 35 foreach ($noticeURLS as $noticeURL){ 36 36 $OL_CNT++; 37 if(!is_null(getServiceSetting('Textcube howto'.$OL_CNT))) {38 $howtoEntries = unserialize(getServiceSetting('Textcube howto'.$OL_CNT));37 if(!is_null(getServiceSetting('Textcube_howto_'.$OL_CNT))) { 38 $howtoEntries = unserialize(getServiceSetting('Textcube_howto_'.$OL_CNT)); 39 39 $result = 0; 40 40 } else { 41 41 list($result, $feed, $xml, $howtoEntries) = CT_textcube_howto_getRemoteFeed($noticeURL); 42 setServiceSetting('Textcube howto'.$OL_CNT,serialize($howtoEntries));42 setServiceSetting('Textcube_howto_'.$OL_CNT,serialize($howtoEntries)); 43 43 } 44 44 if ($result == 0) { … … 74 74 $target .= ' <p style="height: 30px; padding-top: 20px; text-align: center;">'.CRLF; 75 75 $target .= ' <input type="text" size="12" id="searchhowtokey" name="searchhowtokey" value="" onkeypress="if (event.keyCode == 13) { searchHowTo(); return false; }" class="searchfield" />'.CRLF; 76 $target .= ' <input type="button" size="8" value=" '._t('검색').'" onclick="searchHowTo();" class="searchbutton" />'.CRLF;76 $target .= ' <input type="button" size="8" value="검 색" onclick="searchHowTo();" class="searchbutton" />'.CRLF; 77 77 $target .= ' </p>'.CRLF; 78 78 $target .= '</ol>'.CRLF; … … 109 109 else if(isset($rssInfo['path'])) { 110 110 if($rssInfo['path']{0} == '/') 111 $rssURL = "{$urlInfo['scheme']}://{$urlInfo['host']}{$rssInfo['path']}"; 111 $rssURL = "{$urlInfo['scheme']}://{$urlInfo['host']}{$rssInfo['path']}"; 112 112 else 113 113 $rssURL = "{$urlInfo['scheme']}://{$urlInfo['host']}".(isset($urlInfo['path']) ? rtrim($urlInfo['path'], '/') : '').'/'.$rssInfo['path']; … … 153 153 } 154 154 155 function CT_textcube_howto_sweep($target, $mother = true) { 156 requireModel('common.setting'); 157 removeServiceSetting('Textcubehowto1'); 158 removeServiceSetting('Textcubehowto2'); 159 return $target; 155 function CT_textcube_howto_sweep() { 156 CT_HWT_removeServiceSetting('Textcube_howto_1'); 157 CT_HWT_removeServiceSetting('Textcube_howto_2'); 158 return true; 159 } 160 function CT_HWT_removeServiceSetting($name,$pruneSimilarEntries = false) { 161 global $database; 162 clearServiceSettingCache(); 163 if($pruneSimilarEntries) return POD::execute("DELETE FROM {$database['prefix']}ServiceSettings WHERE name like '".POD::escapeString($name)."'"); 164 else return POD::execute("DELETE FROM {$database['prefix']}ServiceSettings WHERE name = '".POD::escapeString($name)."'"); 160 165 } 161 166 ?> -
plugins/trunk/CT_textcube_howto/index.xml
r538 r592 4 4 <title xml:lang="ko">텍스트큐브 팁</title> 5 5 <link>http://howto.textcube.org/</link> 6 <version>1. 6.0531</version>6 <version>1.9.0302</version> 7 7 <description xml:lang="en">Shows latest posts from howto.textcube.org.</description> 8 8 <description xml:lang="ko">텍스트큐브 팁 블로그의 글을 보여줍니다.</description> … … 16 16 <binding> 17 17 <center handler="CT_textcube_howto" /> 18 <listener event="Cron 12h">CT_textcube_howto_sweep</listener>18 <listener event="Cron6h">CT_textcube_howto_sweep</listener> 19 19 <listener event="AddPostEditorToolbox">Null</listener> 20 20 </binding> -
plugins/trunk/JP_CT_RecentCommentNotifies/index.php
r441 r592 33 33 WHERE c.blogid = $blogid AND c.parent=$parent"; 34 34 $sql .= ' ORDER BY c.written ASC'; 35 if ($result = DBQuery::query($sql)) {36 while ($comment = mysql_fetch_array($result)) {35 if ($result = POD::query($sql)) { 36 while ($comment = POD::fetch($result, 'array')) { 37 37 if (($comment['secret'] == 1) && !$authorized) { 38 38 $comment['name'] = ''; -
plugins/trunk/JP_CT_RecentCommentNotifies/index.xml
r538 r592 3 3 <title xml:lang="en">Recent Comment Notifies</title> 4 4 <title xml:lang="ko">최근 댓글 알리미</title> 5 <version>1. 6.0225</version>5 <version>1.9.0302</version> 6 6 <description xml:lang="en">Shows recent comment notifies</description> 7 7 <description xml:lang="ko">최근에 작성된 댓글 알림 내역을 보여줍니다</description> -
plugins/trunk/JP_FlashCounterViewTT/index.xml
r538 r592 2 2 <plugin version="1.0"> 3 3 <title>JP Flash Counter View</title> 4 <version>1. 6.0609</version>4 <version>1.9.0302</version> 5 5 <description>태터 0.9* 구버젼부터 써오던 혀니님(http://www.web2dew.com/blog.bung)께서 만드신 플래쉬카운터를 Textcube 1.5 코어에 맞게 플러그인화 했습니다. 플래쉬카운터의 원 저작권은 혀니님께 있습니다. (IE패치용)</description> 6 6 <license>GPL</license> … … 11 11 <requirements> 12 12 <textcube>1.6</textcube> 13 <textcube>1.7</textcube>14 13 </requirements> 15 14 <binding> -
plugins/trunk/JP_FlickrYoutubeMediaSearch/index.xml
r590 r592 4 4 <title xml:lang="ko">JP Flickr와 YouTube 미디어 검색.</title> 5 5 <link>http://create74.com/</link> 6 <version>1. 8.0108</version>6 <version>1.9.0108</version> 7 7 <description xml:lang="en"><![CDATA[Flickr and YouTube media search.]]></description> 8 8 <description xml:lang="ko"><![CDATA[Flickr와 YouTube의 미디어를 검색합니다.]]></description>