if ($goto == 'null') { $msg = T_('There is no link associated with this item'); mosRedirect('index2.php?option=com_admin&task=listcomponents', $msg); exit; } $goto = str_replace("'", '', $goto); mosRedirect($goto); break; case 'listcomponents': HTML_admin_misc::ListComponents(); break; case 'sysinfo': HTML_admin_misc::system_info($version, $option); break; case 'versioninfo': HTML_admin_misc::version_info(); break; case 'help': HTML_admin_misc::help(); break; case 'preview': HTML_admin_misc::preview(); break; case 'preview2': HTML_admin_misc::preview(1); break; case 'cpanel': default: HTML_admin_misc::controlPanel(); break; }