' . JText::_('COM_ADMIN_WRITABLE') . '';
}
else
{
return '' . JText::_('COM_ADMIN_UNWRITABLE') . '';
}
}
/**
* Method to generate a message for a directory
*
* @param string $dir the directory
* @param boolean $message the message
* @param boolean $visible is the $dir visible?
*
* @return string html code
*/
public static function message($dir, $message, $visible = true)
{
if ($visible)
{
$output = $dir;
}
else
{
$output = '';
}
if (empty($message))
{
return $output;
}
else
{
return $output . ' ' . JText::_($message) . '';
}
}
}