Changeset 6357

Show
Ignore:
Timestamp:
06/30/08 00:45:25 (6 months ago)
Author:
inureyes
Message:

#948

  • [6355] 반영
  • 버전 번호 변경
Location:
branches/1.7
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/1.7/lib/config.php

    r6298 r6357  
    66// Define basic signatures. 
    77define('TEXTCUBE_NAME', 'Textcube'); 
    8 define('TEXTCUBE_VERSION', '1.7.1 : Risoluto'); 
     8define('TEXTCUBE_VERSION', '1.7.2 : Risoluto'); 
    99define('TEXTCUBE_COPYRIGHT', 'Copyright © 2004-2008. Needlworks / Tatter Network Foundation. All rights reserved. Licensed under the GPL.'); 
    1010define('TEXTCUBE_HOMEPAGE', 'http://www.textcube.org/'); 
  • branches/1.7/plugins/MT_Meta_RecentPS_Default/index.php

    r6119 r6357  
    7777            $tagLabelView = "<div class=\"post_tags\"><span>TAG : </span>".implode(",\r\n", array_values($tags))."</div>"; 
    7878        } 
    79         $categoryName = htmlspecialchars(empty($entry['category']) ? _text('분류없음') : $entry['label']); 
    80         $categoryLink = "{$defaultURL}/" . (empty($entry['category']) ? "category/" : "category/".encodeURL($categoryName)); 
    81         $permalink = "{$defaultURL}/" . (setting::getBlogSettingGlobal('useSloganOnPost',true) ? "entry/" . encodeURL($entry['slogan']) : $entry['id']); 
     79         
     80        if (empty($entry['category'])) { 
     81            $entry['label'] = _text('분류없음'); 
     82            $entry['link'] = "{$defaultURL}/category"; 
     83        } else { 
     84            $entry['link'] = "{$defaultURL}/category/" . (setting::getBlogSettingGlobal('useSloganOnCategory',true) ? URL::encode($entry['label'],$service['useEncodedURL']) : $entry['category']); 
     85        } 
     86        $permalink = "{$defaultURL}/" . (setting::getBlogSettingGlobal('useSloganOnPost',true) ? "entry/" . URL::encode($entry['slogan'],$service['useEncodedURL']) : $entry['id']); 
    8287 
    8388        $html .= '<div class="coverpost">'.CRLF; 
     
    9095        $html .= '      <h2><a href="'.$permalink.'">'.htmlspecialchars($entry['title']).'</a></h2>'.CRLF; 
    9196        $html .= '      <div class="post_info">'.CRLF; 
    92         $html .= '          <span class="category"><a href="'.$categoryLink.'">'.$categoryName.'</a></span>'.CRLF; 
     97        $html .= '          <span class="category"><a href="'.htmlspecialchars($entry['link']).'">'.htmlspecialchars($entry['label']).'</a></span>'.CRLF; 
    9398        $html .= '          <span class="date">'.Timestamp::format5($entry['published']).'</span>'.CRLF; 
    9499        $html .= '          <span class="author"><span class="preposition">by </span>'.User::getName($entry['userid']).'</span>'.CRLF;