~ubuntu-branches/debian/squeeze/movabletype-opensource/squeeze

« back to all changes in this revision

Viewing changes to php/lib/function.mtentryscorecount.php

  • Committer: Bazaar Package Importer
  • Author(s): Dominic Hargreaves
  • Date: 2008-07-23 22:56:37 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080723225637-zsorczl9nhy0t8ap
Tags: 4.2~rc4-1
* New upstream release
* Include SendMailPath explicitly as in some cases it seems
  to be required (closes: #491618)
* Add versioned Depends on libclass-trigger-perl (>= 0.13-1)
  as the version in etch is not compatible with MT.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# This program is distributed under the terms of the
4
4
# GNU General Public License, version 2.
5
5
#
6
 
# $Id: function.mtentryscorecount.php 1956 2008-04-17 21:48:11Z bchoate $
 
6
# $Id: function.mtentryscorecount.php 2786 2008-07-16 02:06:07Z fumiakiy $
7
7
 
8
8
require_once('rating_lib.php');
9
9
 
10
10
function smarty_function_mtentryscorecount($args, &$ctx) {
11
 
    $count = hdlr_score_count($ctx, 'entry', $args['namespace']);
12
 
    return $ctx->count_format($count, $args);
 
11
    return hdlr_score_count($ctx, 'entry', $args['namespace'], $args);
13
12
}