Changeset 2798

Show
Ignore:
Timestamp:
01/10/07 01:07:13 (2 years ago)
Author:
daybreaker
Message:
  • tag에 표시되는 주소를 http://를 포함한 절대경로 permalink로 변경함 (eouia님 지적)
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/1.1-beta/lib/piece/blog/entries.php

    r2776 r2798  
    3838            $tags = array(); 
    3939            foreach ($entryTags as $entryTag) 
    40                 array_push($tags, "<a href=\"$blogURL/tag/" . encodeURL($entryTag['name']) . '"' . ((count($entries) == 1 && getUserSetting('useRelTag', false)) ? ' rel="tag"' : '') . '>' . htmlspecialchars($entryTag['name']) . '</a>'); 
     40                array_push($tags, "<a href=\"$defaultURL/tag/" . encodeURL($entryTag['name']) . '"' . ((count($entries) == 1 && getUserSetting('useRelTag', false)) ? ' rel="tag"' : '') . '>' . htmlspecialchars($entryTag['name']) . '</a>'); 
    4141            $tags = fireEvent('ViewTagLists', $tags, $entry['id']); 
    4242            dress('tag_label_rep', implode(",\r\n", $tags), $tagLabelView); 
  • sandbox/lib/piece/blog/entries.php

    r2777 r2798  
    3838            $tags = array(); 
    3939            foreach ($entryTags as $entryTag) 
    40                 array_push($tags, "<a href=\"$blogURL/tag/" . encodeURL($entryTag['name']) . '"' . ((count($entries) == 1 && getUserSetting('useRelTag', false)) ? ' rel="tag"' : '') . '>' . htmlspecialchars($entryTag['name']) . '</a>'); 
     40                array_push($tags, "<a href=\"$defaultURL/tag/" . encodeURL($entryTag['name']) . '"' . ((count($entries) == 1 && getUserSetting('useRelTag', false)) ? ' rel="tag"' : '') . '>' . htmlspecialchars($entryTag['name']) . '</a>'); 
    4141            $tags = fireEvent('ViewTagLists', $tags, $entry['id']); 
    4242            dress('tag_label_rep', implode(",\r\n", $tags), $tagLabelView);