|
Revision 1956, 377 bytes
(checked in by bchoate, 20 months ago)
|
|
Added support for phrases on count tags. BugId:79359
|
-
Property svn:keywords set to
Author Id Date Revision
|
| 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 | require_once('rating_lib.php'); |
|---|
| 9 | |
|---|
| 10 | function smarty_function_mtentryscorecount($args, &$ctx) { |
|---|
| 11 | $count = hdlr_score_count($ctx, 'entry', $args['namespace']); |
|---|
| 12 | return $ctx->count_format($count, $args); |
|---|
| 13 | } |
|---|