Changeset 641

Show
Ignore:
Timestamp:
06/23/09 22:26:52 (9 months ago)
Author:
inureyes
Message:
  • [640] 의 변경사항을 trunk 에 반영
Location:
plugins/trunk
Files:
7 modified

Legend:

Unmodified
Added
Removed
  • plugins/trunk

  • plugins/trunk/CT_Needlworks_stories/index.xml

    r538 r641  
    44  <title xml:lang="ko">Needlworks 이야기</title> 
    55  <link>http://needlworks.org/</link> 
    6   <version>1.7</version> 
     6  <version>1.7.9</version> 
    77  <description xml:lang="en">Shows stories from Tatter and Friends official blog.</description> 
    88  <description xml:lang="ko">Needlworks 블로그의 글을 보여줍니다.</description> 
     
    1212  <safety changeData="no" exposeData="no" accessLocal="no" accessRemote="no" accessRaw="yes" /> 
    1313  <requirements> 
    14     <textcube>1.7</textcube> 
     14    <textcube>1.7.9</textcube> 
    1515  </requirements> 
    1616  <binding> 
  • plugins/trunk/CT_RecentRG_Default/index.php

    r592 r641  
    11<?php 
    2 /* Recent Guestbook plugin for Tattertools 1.1 
     2/* Recent Guestbook plugin for Textcube 1.7 backport 
    33   ---------------------------------- 
    4    Version 1.0 
    5    Tatter and Friends development team. 
     4   Version 1.7.9 
     5   Tatter Network Foundation development team / Needlworks 
    66 
    77   Creator          : Peris 
     
    1010 
    1111   Created at       : 2006.7.25 
    12    Last modified at : 2007.08.10 
     12   Last modified at : 2009.6.11 
    1313 
    1414 This plugin shows recent eeplies on 'quilt'. 
     
    3434    $repliesChk = ($data['repliesChk'] == 1)?"":" AND replier is NULL "; 
    3535    $limitLine = ($data['repliesList'])?$data['repliesList']:$skinSetting['commentsOnRecent']; 
    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 = POD::query($sql)) { 
    38         while ($comment = POD::fetch($result, 'array')) { 
    39             if ($data['repliesChk'] == 2) { 
    40                 $row = POD::queryCell("select count(*) from {$database['prefix']}Comments where blogid = $blogid AND parent = ".$comment['id']); 
    41                 $comment['replier'] = ($row)?"<img src=\"{$pluginURL}/replier.gif\" width=\"11\" height=\"9\" align=\"top\" style=\"margin-left:2px;\"/>":""; 
    42             }else{$comment['replier'] = "";} 
    43             $comment['secret'] = ($comment['secret'] == 1)?"<img src=\"{$pluginURL}/secret.gif\" width=\"9\" height=\"11\" style=\"margin-left:2px;\"/>":""; 
    44             array_push($comments, $comment); 
     36    $query = new TableQuery($database['prefix']. 'Comments'); 
     37    $query->setQualifier('blogid','equals',$blogid); 
     38    $query->setQualifier('entry','equals',0); 
     39    if($data['repliesChk'] != 1) $query->setQualifier('replier'); 
     40    $query->setQualifier('isfiltered','equals',0); 
     41    $query->setOrder('written','DESC'); 
     42    $query->setLimit(0,$limitLine); 
     43    $result = $query->getAll(); 
     44    $rowquery = new TableQuery($database['prefix']. 'Comments'); 
     45    foreach($result as $comment) { 
     46        if($data['repliesChk'] == 2) { 
     47            $rowquery->reset(); 
     48            $rowquery->setQualifier('blogid','equals',$blogid); 
     49            $rowquery->setQualifier('parent','equals',$comment['id']); 
     50            $row = $rowquery->getCell('COUNT(*)'); 
     51            $comment['replier'] = ($row)?"<img src=\"{$pluginURL}/replier.gif\" width=\"11\" height=\"9\" align=\"top\" style=\"margin-left:2px;\"/>":""; 
     52        } else { 
     53            $comment['replier'] = ''; 
    4554        } 
     55        array_push($comments, $comment); 
    4656    } 
    4757    return $comments; 
  • plugins/trunk/CT_RecentRG_Default/index.xml

    r592 r641  
    55  <title xml:lang="ja">最新 ゲストブック</title> 
    66  <link>http://http://needlworks.org/</link> 
    7   <version>1.709</version> 
     7  <version>1.7.9</version> 
    88  <description xml:lang="en">Shows recent guestbook</description> 
    99  <description xml:lang="ko">최근에 작성된 방명록 글들을 보여줍니다</description> 
    1010  <description xml:lang="ja">最新 ゲストブック ・プラグ・イン</description> 
    1111  <license>GPL</license> 
    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> 
     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> 
    1515  <safety changeData="no" exposeData="no" accessLocal="no" accessRemote="no" accessRaw="yes" /> 
    1616  <requirements> 
    17     <textcube>1.5</textcube> 
     17    <textcube>1.7.9</textcube> 
    1818  </requirements> 
    1919  <binding> 
  • plugins/trunk/CT_Textcube_Notice/index.xml

    r538 r641  
    44  <title xml:lang="ko">텍스트큐브 공지</title> 
    55  <link>http://needlworks.org/</link> 
    6   <version>1.6</version> 
     6  <version>1.7.9</version> 
    77  <description xml:lang="en">Shows notices from textcube official blog.</description> 
    88  <description xml:lang="ko">텍스트큐브 블로그의 공지를 보여줍니다.</description> 
     
    1212  <safety changeData="no" exposeData="no" accessLocal="no" accessRemote="no" accessRaw="yes" /> 
    1313  <requirements> 
    14     <textcube>1.6</textcube> 
     14    <textcube>1.7.9</textcube> 
    1515  </requirements> 
    1616  <binding> 
  • plugins/trunk/CT_Textcube_Plugin_N_Skin/index.xml

    r594 r641  
    33  <title xml:lang="ko"><![CDATA[텍스트큐브 최근 플러그인/스킨]]></title> 
    44  <link>http://textcube.org/</link> 
    5   <version>1.6.0603</version> 
     5  <version>1.7.9</version> 
    66  <description xml:lang="ko"><![CDATA[텍스트큐브 플러그인/스킨 블로그의 글을 보여줍니다.]]></description> 
    77  <license>GPL</license> 
     
    1010  <safety changeData="no" exposeData="no" accessLocal="no" accessRemote="no" accessRaw="yes" /> 
    1111  <requirements> 
    12     <textcube>1.6</textcube> 
    13     <textcube>1.7</textcube> 
     12    <textcube>1.7.9</textcube> 
    1413  </requirements> 
    1514  <binding> 
  • plugins/trunk/CT_textcube_howto/index.xml

    r594 r641  
    44  <title xml:lang="ko">텍스트큐브 팁</title> 
    55  <link>http://howto.textcube.org/</link> 
    6   <version>1.6.0531</version> 
     6  <version>1.7.9</version> 
    77  <description xml:lang="en">Shows latest posts from howto.textcube.org.</description> 
    88  <description xml:lang="ko">텍스트큐브 팁 블로그의 글을 보여줍니다.</description> 
     
    1212  <safety changeData="no" exposeData="no" accessLocal="no" accessRemote="no" accessRaw="yes" /> 
    1313  <requirements> 
    14     <textcube>1.6</textcube> 
     14    <textcube>1.7.9</textcube> 
    1515  </requirements> 
    1616  <binding>