Project

General

Profile

Feature proposal #1230 ยป 1230.patch

CB 1.2.2 RC 1 Patch - krileon, 03 March 2010 16:17

View differences:

administrator/components/com_comprofiler/admin.comprofiler.html.php
outputCbTemplate( 2 );
outputCbJs( 2 );
global $_CB_Backend_Title;
global $_CB_Backend_Title, $ueConfig;
$_CB_Backend_Title = array( 0 => array( 'cbicon-48-tools', CBTxt::T('CB Tools Manager') ) );
$cbSpoofField = cbSpoofField();
......
?>
<div style="text-align:left;margin-top:30px;margin-bottom:20px;">
<?php
if ( version_compare( phpversion(), '5.0.0', '<' ) ) {
echo '<div class="cbWarning">' . sprintf( CBTxt::T( 'PHP Version %s is not compatible with %s: Please upgrade to PHP %s or greater.' ), phpversion(), $ueConfig['version'], '5.0.0' ) . '</div>';
}
if ( getCBprofileItemid( 0 ) ) {
echo '<div class="cbWarning">' . CBTxt::T( 'Manadatory CB Joomla/Mambo menu link is missing, not published, or public. Please ensure mandatory component menu is present and configured correctly: public level and published..' ) . '</div>';
echo '<div class="cbWarning">' . CBTxt::T( 'Hint:' ) . ' ' . CBTxt::T( 'You can hide the public profile menu in a menu module which is of registered level if needed (like the User menu).' ) . '</div>';
}
?>
<table width="90%" border="0" cellpadding="10" cellspacing="2" class="adminForm">
<tr>
<td width="25%">
    (1-1/1)