Project

General

Profile

Bug #2270 » 2270b.patch

krileon, 31 January 2011 19:49

View differences:

administrator/components/com_comprofiler/admin.comprofiler.html.php
$link = $_CB_framework->backendUrl( "index.php?option=com_comprofiler&task=editPlugin&cid=$row->id" );
//Access
if ( !$row->access ) {
if ( ( ! $row->access ) || ( ( checkJversion() == 2 ) && ( $row->access == 1 ) ) ) {
$color_access = 'style="color: green;"';
$task_access = 'accessregistered';
} else if ( $row->access == 1 ) {
} else if ( ( $row->access == 1 ) || ( ( checkJversion() == 2 ) && ( $row->access == 2 ) ) ) {
$color_access = 'style="color: red;"';
$task_access = 'accessspecial';
} else {
(2-2/5)