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

Source for file modifier.userlink.php

Documentation is available at modifier.userlink.php

  1. <?php
  2. /**
  3.  * Smarty plugin
  4.  * @package Smarty
  5.  * @subpackage plugins
  6.  */
  7.  
  8. /**
  9.  * smarty_modifier_userlink
  10.  */
  11. function smarty_modifier_userlink($user,$class='username'{
  12.    return '<a class="'.$class.'" href="'.USERS_PKG_URL.'index.php?home='.$user.'">'.$user.'</a>';
  13. }
  14.  
  15. /* vim: set expandtab: */
  16.  
  17. ?>

Documentation generated on Wed, 29 Jul 2015 13:57:10 +0000 by phpDocumentor 1.5.0-lsces