| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 10 | 2 | 0.952 | toplevel_statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 14 | administrator/components/com_banners/admin.banners.php |
| 2 | 3 | 14 | administrator/components/com_config/admin.config.php |
| 3 | 3 | 16 | administrator/components/com_contact/admin.contact.php |
| 4 | 3 | 16 | administrator/components/com_installer/installer.php |
| 5 | 3 | 16 | administrator/components/com_languages/admin.languages.php |
| 6 | 3 | 16 | administrator/components/com_massmail/admin.massmail.php |
| 7 | 3 | 14 | administrator/components/com_media/media.php |
| 8 | 3 | 13 | administrator/components/com_modules/modules.php |
| 9 | 3 | 16 | administrator/components/com_newsfeeds/admin.newsfeeds.php |
| 10 | 3 | 16 | administrator/components/com_plugins/plugins.php |
| ||||
// Make sure the user is authorized to view this page
$user= & JFactory::getUser();
if (!$user->authorize('com_banners.manage')) {
$mainframe->redirect('index.php', JText::_('ALERTNOTAUTH'));
}
|
| ||||
// Make sure the user is authorized to view this page
$user= & JFactory::getUser();
if (!$user->authorize('core.config.manage')) {
$mainframe->redirect('index.php', JText::_('ALERTNOTAUTH'));
}
|
| ||||
/*
* Make sure the user is authorized to view this page
*/
$user= & JFactory::getUser();
if (!$user->authorize('com_contact.manage')) {
$mainframe->redirect('index.php', JText::_('ALERTNOTAUTH'));
}
|
| ||||
/*
* Make sure the user is authorized to view this page
*/
$user= & JFactory::getUser();
if (!$user->authorize('core.installer.manage')) {
$mainframe->redirect('index.php', JText::_('ALERTNOTAUTH'));
}
|
| ||||
/*
* Make sure the user is authorized to view this page
*/
$user= & JFactory::getUser();
if (!$user->authorize('core.languages.manage')) {
$mainframe->redirect('index.php', JText::_('ALERTNOTAUTH'));
}
|
| ||||
/*
* Make sure the user is authorized to view this page
*/
$user= & JFactory::getUser();
if (!$user->authorize('core.massmail.manage')) {
$mainframe->redirect('index.php', JText::_('ALERTNOTAUTH'));
}
|
| ||||
// Make sure the user is authorized to view this page
$user= & JFactory::getUser();
if (!$user->authorize('core.media.manage')) {
$mainframe->redirect('index.php', JText::_('ALERTNOTAUTH'));
}
|
| ||||
$user= & JFactory::getUser();
if (!$user->authorize('core.modules.manage')) {
JFactory::getApplication()->redirect('index.php', JText::_('ALERTNOTAUTH'));
}
|
| ||||
/*
* Make sure the user is authorized to view this page
*/
$user= & JFactory::getUser();
if (!$user->authorize('com_newsfeeds.manage')) {
$mainframe->redirect('index.php', JText::_('ALERTNOTAUTH'));
}
|
| ||||
/*
* Make sure the user is authorized to view this page
*/
$user= & JFactory::getUser();
if (!$user->authorize('core.plugins.manage')) {
$mainframe->redirect('index.php', JText::_('ALERTNOTAUTH'));
}
|
| |||
// Make sure the user is authorized to view this page
/*
* Make sure the user is authorized to view this page
*/
$user= &JFactory::getUser();
if (!$user->authorize( [[#variable3eb05780]])) {
[[#variable247425a0]]->redirect('index.php',JText::_('ALERTNOTAUTH'));
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#3eb05780]] | 'com_banners.manage' |
| 1 | 2 | [[#3eb05780]] | 'core.config.manage' |
| 1 | 3 | [[#3eb05780]] | 'com_contact.manage' |
| 1 | 4 | [[#3eb05780]] | 'core.installer.manage' |
| 1 | 5 | [[#3eb05780]] | 'core.languages.manage' |
| 1 | 6 | [[#3eb05780]] | 'core.massmail.manage' |
| 1 | 7 | [[#3eb05780]] | 'core.media.manage' |
| 1 | 8 | [[#3eb05780]] | 'core.modules.manage' |
| 1 | 9 | [[#3eb05780]] | 'com_newsfeeds.manage' |
| 1 | 10 | [[#3eb05780]] | 'core.plugins.manage' |
| 2 | 1 | [[#247425a0]] | $mainframe |
| 2 | 2 | [[#247425a0]] | $mainframe |
| 2 | 3 | [[#247425a0]] | $mainframe |
| 2 | 4 | [[#247425a0]] | $mainframe |
| 2 | 5 | [[#247425a0]] | $mainframe |
| 2 | 6 | [[#247425a0]] | $mainframe |
| 2 | 7 | [[#247425a0]] | $mainframe |
| 2 | 8 | [[#247425a0]] | JFactory::getApplication() |
| 2 | 9 | [[#247425a0]] | $mainframe |
| 2 | 10 | [[#247425a0]] | $mainframe |