|
Revision 2338, 418 bytes
(checked in by takayama, 19 months ago)
|
|
Fixed BugId:79735
* Fixed to work
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | # Movable Type (r) Open Source (C) 2001-2008 Six Apart, Ltd. |
|---|
| 3 | # This program is distributed under the terms of the |
|---|
| 4 | # GNU General Public License, version 2. |
|---|
| 5 | # |
|---|
| 6 | # $Id$ |
|---|
| 7 | |
|---|
| 8 | function smarty_function_mtcommentlink($args, &$ctx) { |
|---|
| 9 | $c = $ctx->stash('comment'); |
|---|
| 10 | $args['no_anchor'] = 1; |
|---|
| 11 | $entry_link = $ctx->tag('EntryPermalink', $args); |
|---|
| 12 | $entry_link .= '#comment-' . $c['comment_id']; |
|---|
| 13 | return $entry_link; |
|---|
| 14 | } |
|---|