root/branches/release-26/php/lib/function.mtauthorauthiconurl.php @ 1174

Revision 1174, 0.5 kB (checked in by bchoate, 23 months ago)

Updated copyright year for source.

  • Property svn:keywords set to Id Author 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
8function smarty_function_mtauthorauthiconurl($args, &$ctx) {
9    $author = $ctx->stash('author');
10    if (!$author) {
11        return "";
12    }
13    require_once "function.mtstaticwebpath.php";
14    $static_path = smarty_function_mtstaticwebpath($args, $ctx);
15    require_once "commenter_auth_lib.php";
16    return _auth_icon_url($static_path, $author);
17}
18?>
Note: See TracBrowser for help on using the browser.