I use by myself a changed version of function createlink from class.module.inc.php.
This is the changed part:
Code: Select all
function CreateLink($id, $action, $returnid='', $contents='', $params=array(), $warn_message='', $onlyhref=false, $inline=false, $addttext='')
{
debug_buffer($addttext);
$text = '';
$goto = 'moduleinterface.php';
$class = $params['class'];
if ($inline && $returnid != '')
{
$goto = 'index.php';
}
if (!$onlyhref)
{
if (strlen($class)>0)
{
$text .='<a class="'.$class.'" href="';
}else
{
$text .= '<a href="';
}
}
I mean this changes are good for all. What do you mean ?