Zikula_Template_Plugins
[ class tree: Zikula_Template_Plugins ] [ index: Zikula_Template_Plugins ] [ all elements ]

Procedural File: modifier.userprofilelink.php

Source Location: /system/pnRender/plugins/modifier.userprofilelink.php



Page Details:

Zikula Application Framework



Tags:

version:  $Id: modifier.userprofilelink.php 24342 2008-06-06 12:03:14Z markwest $
copyright:  (c) 2004, Zikula Development Team
link:  http://www.zikula.org
filesource:  Source Code for this file
license:  GNU/GPL








smarty_modifier_userprofilelink [line 39]

string smarty_modifier_userprofilelink( $string $string, [$class $class = ''], [$image $image = ''])

Smarty modifier to create a link to a users profile

Example

Simple version, shows $username <!--[$username|userprofilelink]--> Simple version, shows $username, using class="classname" <!--[$username|userprofilelink:classname]--> Using profile.gif instead of username, no class <!--[$username|userprofilelink:'':'images/profile.gif']-->

Using language depending image from pnimg. Note that we pass the pnimg result array to the modifier as-is <!--[ pnimg src='profile.gif' assign=profile]--> <!--[$username|userprofilelink:'classname':$profile]-->




Tags:

return:  the output
author:  The pnForum team
author:  Frank Schummertz
version:  $Id: modifier.userprofilelink.php 24342 2008-06-06 12:03:14Z markwest $


Parameters

$string   $string   string the users name
$class   $class   string the class name for the link (optional)
$image   $image   string/array the image to show instead of the username (optional) may be an array as created by pnimg
[ Top ]



Documentation generated on Fri, 18 Jul 2008 21:47:53 +0200 by phpDocumentor 1.4.1