CloneSet150


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
31020.952toplevel_statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1314
administrator/components/com_banners/admin.banners.php
2314
administrator/components/com_config/admin.config.php
3316
administrator/components/com_contact/admin.contact.php
4316
administrator/components/com_installer/installer.php
5316
administrator/components/com_languages/admin.languages.php
6316
administrator/components/com_massmail/admin.massmail.php
7314
administrator/components/com_media/media.php
8313
administrator/components/com_modules/modules.php
9316
administrator/components/com_newsfeeds/admin.newsfeeds.php
10316
administrator/components/com_plugins/plugins.php
Clone Instance
1
Line Count
3
Source Line
14
Source File
administrator/components/com_banners/admin.banners.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'));
      }


Clone Instance
2
Line Count
3
Source Line
14
Source File
administrator/components/com_config/admin.config.php

// 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'));
      }


Clone Instance
3
Line Count
3
Source Line
16
Source File
administrator/components/com_contact/admin.contact.php

/*
 * 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'));
      }


Clone Instance
4
Line Count
3
Source Line
16
Source File
administrator/components/com_installer/installer.php

/*
 * 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'));
      }


Clone Instance
5
Line Count
3
Source Line
16
Source File
administrator/components/com_languages/admin.languages.php

/*
 * 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'));
      }


Clone Instance
6
Line Count
3
Source Line
16
Source File
administrator/components/com_massmail/admin.massmail.php

/*
 * 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'));
      }


Clone Instance
7
Line Count
3
Source Line
14
Source File
administrator/components/com_media/media.php

// 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'));
      }


Clone Instance
8
Line Count
3
Source Line
13
Source File
administrator/components/com_modules/modules.php

$user=  & JFactory::getUser();
if (!$user->authorize('core.modules.manage')) {
        JFactory::getApplication()->redirect('index.php', JText::_('ALERTNOTAUTH'));
      }


Clone Instance
9
Line Count
3
Source Line
16
Source File
administrator/components/com_newsfeeds/admin.newsfeeds.php

/*
 * 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'));
      }


Clone Instance
10
Line Count
3
Source Line
16
Source File
administrator/components/com_plugins/plugins.php

/*
 * 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'));
              }


Clone AbstractionParameter Count: 2Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3eb05780]]
'com_banners.manage' 
12[[#3eb05780]]
'core.config.manage' 
13[[#3eb05780]]
'com_contact.manage' 
14[[#3eb05780]]
'core.installer.manage' 
15[[#3eb05780]]
'core.languages.manage' 
16[[#3eb05780]]
'core.massmail.manage' 
17[[#3eb05780]]
'core.media.manage' 
18[[#3eb05780]]
'core.modules.manage' 
19[[#3eb05780]]
'com_newsfeeds.manage' 
110[[#3eb05780]]
'core.plugins.manage' 
21[[#247425a0]]
$mainframe 
22[[#247425a0]]
$mainframe 
23[[#247425a0]]
$mainframe 
24[[#247425a0]]
$mainframe 
25[[#247425a0]]
$mainframe 
26[[#247425a0]]
$mainframe 
27[[#247425a0]]
$mainframe 
28[[#247425a0]]
JFactory::getApplication() 
29[[#247425a0]]
$mainframe 
210[[#247425a0]]
$mainframe