Project

General

Profile

Bug #2086 » 2086.patch

krileon, 24 November 2010 21:52

View differences:

components/com_comprofiler/plugin/user/plug_cbsimpleboardtab/cb.simpleboardtab.model.php
$forums = null;
if ( file_exists( $path . '/administrator/components/com_joomlaboard/' ) ) {
$forums .= '<div>' . $installed . ' Joomlaboard</div>';
$forums .= '<div>' . $installed . ' ' . CBTxt::T( 'Joomlaboard' ) . '</div>';
} else {
$forums .= '<div>' . $uninstalled . ' Joomlaboard</div>';
$forums .= '<div>' . $uninstalled . ' ' . CBTxt::T( 'Joomlaboard' ) . '</div>';
}
if ( file_exists( $path . '/administrator/components/com_simpleboard/' ) ) {
$forums .= '<div>' . $installed . ' Simpleboard</div>';
$forums .= '<div>' . $installed . ' ' . CBTxt::T( 'Simpleboard' ) . '</div>';
} else {
$forums .= '<div>' . $uninstalled . ' Simpleboard</div>';
$forums .= '<div>' . $uninstalled . ' ' . CBTxt::T( 'Simpleboard' ) . '</div>';
}
if ( file_exists( $path . '/administrator/components/com_fireboard/' ) ) {
$forums .= '<div>' . $installed . ' Fireboard</div>';
$forums .= '<div>' . $installed . ' ' . CBTxt::T( 'Fireboard' ) . '</div>';
} else {
$forums .= '<div>' . $uninstalled . ' Fireboard</div>';
$forums .= '<div>' . $uninstalled . ' ' . CBTxt::T( 'Fireboard' ) . '</div>';
}
if ( file_exists( $path . '/administrator/components/com_kunena/' ) ) {
$forums .= '<div>' . $installed . ' Kunena (It is advised to select Kunena manually as Kunena has additional options)</div>';
$forums .= '<div>' . $installed . ' ' . CBTxt::T( 'Kunena (It is advised to select Kunena manually as Kunena has additional options)' ) . '</div>';
} else {
$forums .= '<div>' . $uninstalled . ' Kunena</div>';
$forums .= '<div>' . $uninstalled . ' ' . CBTxt::T( 'Kunena' ) . '</div>';
}
return $forums;
(1-1/2)