CloneSet79


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
62260.955php_sequence[12]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16216
components/com_contact/views/contact/tmpl/default.php
26216
templates/rhuk_milkyway/html/com_contact/contact/default.php
Clone Instance
1
Line Count
62
Source Line
16
Source File
components/com_contact/views/contact/tmpl/default.php

<?php if ($this->params->get('show_contact_list')
          &&                                         count($this->contacts)>  1):  ;
                                                                                   ?>
<tr>
  <td colspan="2" align="center">
    <br/>
    <form action="<?php             echo JRoute::_('index.php');?>" method="post" name="selectForm" id="selectForm">
<?php                 echo JText::_('Select Contact'); ?>:
<br/>
<?php                         echo JHtml::_('select.genericlist',  $this->contacts ,'contact_id', 'class="inputbox" onchange="this.form.submit()"', 'id', 'name', $this->contact->id);?>
<input type="hidden" name="option" value="com_contact"/>
</form>
</td>
</tr>
<?php
      endif; ?>
<?php if ($this->contact->name
          &&                      $this->contact->params->get('show_name')):  ;
                                                                              ?>
<tr>
  <td width="100%" class="contentheading<?php       echo $this->params->get('pageclass_sfx'); ?>">
<?php                 echo $this->contact->name; ?>
</td>
</tr>
<?php
      endif; ?>
<?php if ($this->contact->con_position
          &&                              $this->contact->params->get('show_position')):  ;
                                                                                          ?>
<tr>
  <td colspan="2">
<?php         echo $this->contact->con_position; ?>
<br/><br/>
</td>
</tr>
<?php
      endif; ?>
<tr>
  <td>
    <table border="0" width="100%">
      <tr>
        <td></td>
        <td rowspan="2" align="right" valign="top">
<?php if ($this->contact->image
          &&                       $this->contact->params->get('show_image')):  ;
                                                                                ?>
<div style="float: right;">
<?php                 echo JHtml::_('image', 'images/stories'
                                             .                  '/'
                                             .                      $this->contact->image ,JText::_('Contact'), array('align' => 'middle')); ?>
</div>
<?php
      endif; ?>
</td>
</tr>
<tr>
  <td>
<?php echo $this->loadTemplate('address'); ?>
</td>
</tr>
</table>
</td>
<td>&nbsp;</td>
</tr>
<?php if ($this->contact->params->get('allow_vcard')):  ;
                                                        ?>
<tr>
  <td colspan="2">
<?php         echo JText::_('Download information as a');?>
<a href="<?php                 echo JURI::base(); ?>index.php?option=com_contact&amp;task=vcard&amp;contact_id=<?php echo $this->contact->id; ?>&amp;format=raw&amp;tmpl=component">
<?php                         echo JText::_('VCard');?></a>
</td>
</tr>
<?php
      endif;
if ($this->contact->params->get('show_email_form')
    &&                                                ($this->contact->email_to
                                                       ||                          $this->contact->user_id))
        echo $this->loadTemplate('form');
?>
</table>
</div>


Clone Instance
2
Line Count
62
Source Line
16
Source File
templates/rhuk_milkyway/html/com_contact/contact/default.php

<?php if ( $this->params->get( 'show_contact_list')
           &&                                           count( $this->contacts)>   1):  ;
                                                                                        ?>
<tr>
  <td colspan="2" align="center">
    <br/>
    <form action="<?php             echo JRoute::_('index.php');?>" method="post" name="selectForm" id="selectForm">
<?php                 echo JText::_( 'Select Contact');  ?>:
<br/>
<?php                         echo JHTML::_('select.genericlist',  $this->contacts ,'contact_id', 'class="inputbox" onchange="this.form.submit()"', 'id', 'name', $this->contact->id);?>
<input type="hidden" name="option" value="com_contact"/>
</form>
</td>
</tr>
<?php
      endif; ?>
<?php if ( $this->contact->name
           &&                      $this->contact->params->get( 'show_name')):    ;
                                                                                  ?>
<tr>
  <td width="100%" class="contentheading<?php       echo $this->escape($this->params->get('pageclass_sfx')); ?>">
<?php                 echo $this->escape($this->contact->name); ?>
</td>
</tr>
<?php
      endif; ?>
<?php if ( $this->contact->con_position
           &&                              $this->contact->params->get( 'show_position')):    ;
                                                                                              ?>
<tr>
  <td colspan="2">
<?php         echo $this->escape($this->contact->con_position); ?>
<br/><br/>
</td>
</tr>
<?php
      endif; ?>
<tr>
  <td>
    <table border="0" width="100%">
      <tr>
        <td></td>
        <td rowspan="2" align="right" valign="top">
<?php if ( $this->contact->image
           &&                       $this->contact->params->get( 'show_image')):    ;
                                                                                    ?>
<div style="float: right;">
<?php                 echo JHTML::_('image', 'images/stories'
                                             .                  '/'
                                             .                      $this->contact->image ,JText::_( 'Contact'),  array('align' => 'middle')); ?>
</div>
<?php
      endif; ?>
</td>
</tr>
<tr>
  <td>
<?php echo $this->loadTemplate('address'); ?>
</td>
</tr>
</table>
</td>
<td>&nbsp;</td>
</tr>
<?php if ( $this->contact->params->get( 'allow_vcard')):    ;
                                                            ?>
<tr>
  <td colspan="2">
<?php         echo JText::_( 'Download information as a'); ?>
<a href="<?php                 echo JURI::base(); ?>index.php?option=com_contact&amp;task=vcard&amp;contact_id=<?php echo $this->contact->id; ?>&amp;format=raw&amp;tmpl=component">
<?php                         echo JText::_( 'VCard'); ?></a>
</td>
</tr>
<?php
      endif;
if ( $this->contact->params->get('show_email_form')
     &&                                                ($this->contact->email_to
                                                        ||                          $this->contact->user_id))
        echo $this->loadTemplate('form');
?>
</table>
</div>


Clone AbstractionParameter Count: 6Parameter Bindings

<?php
  if ($this->params->get('show_contact_list')
      && count($this->contacts)>1):
    ;
    ?>
<tr>
  <td colspan="2" align="center">
    <br/>
    <form action="<?php
    echo JRoute::_('index.php');
    ?>" method="post" name="selectForm" id="selectForm">
<?php
    echo JText::_('Select Contact');
    ?>:
<br/>
<?php
    echo [[#variable523e02e0]]::_('select.genericlist',$this->contacts ,'contact_id','class="inputbox" onchange="this.form.submit()"','id','name',$this->contact->id);
    ?>
<input type="hidden" name="option" value="com_contact"/>
</form>
</td>
</tr>
<?php
  endif;
?>
<?php
  if ($this->contact->name
      && $this->contact->params->get('show_name')):
    ;
    ?>
<tr>
  <td width="100%" class="contentheading<?php
    echo [[#variable523e0240]]-> [[#variable523e0160]]( [[#variable523e0120]]);
    ?>">
<?php
    echo [[#variable523e0080]];
    ?>
</td>
</tr>
<?php
  endif;
?>
<?php
  if ($this->contact->con_position
      && $this->contact->params->get('show_position')):
    ;
    ?>
<tr>
  <td colspan="2">
<?php
    echo [[#variable249b0fc0]];
    ?>
<br/><br/>
</td>
</tr>
<?php
  endif;
?>
<tr>
  <td>
    <table border="0" width="100%">
      <tr>
        <td></td>
        <td rowspan="2" align="right" valign="top">
<?php
  if ($this->contact->image
      && $this->contact->params->get('show_image')):
    ;
    ?>
<div style="float: right;">
<?php
    echo [[#variable523e02e0]]::_('image','images/stories'
                                          . '/'
                                          . $this->contact->image ,JText::_('Contact'),array('align' => 'middle'));
    ?>
</div>
<?php
  endif;
?>
</td>
</tr>
<tr>
  <td>
<?php
  echo $this->loadTemplate('address');
?>
</td>
</tr>
</table>
</td>
<td>&nbsp;</td>
</tr>
<?php
  if ($this->contact->params->get('allow_vcard')):
    ;
    ?>
<tr>
  <td colspan="2">
<?php
    echo JText::_('Download information as a');
    ?>
<a href="<?php
    echo JURI::base();
    ?>index.php?option=com_contact&amp;task=vcard&amp;contact_id=<?php
    echo $this->contact->id;
    ?>&amp;format=raw&amp;tmpl=component">
<?php
    echo JText::_('VCard');
    ?></a>
</td>
</tr>
<?php
  endif;
  if ($this->contact->params->get('show_email_form')
      && ($this->contact->email_to
          || $this->contact->user_id))
    echo $this->loadTemplate('form');
?>
</table>
</div>
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#523e02e0]]
JHTML 
12[[#523e02e0]]
JHtml 
21[[#523e0240]]
$this 
22[[#523e0240]]
$this->params 
31[[#523e0160]]
escape 
32[[#523e0160]]
get 
41[[#523e0120]]
$this->params->get('pageclass_sfx') 
42[[#523e0120]]
'pageclass_sfx' 
51[[#523e0080]]
$this->escape($this->contact->name) 
52[[#523e0080]]
$this->contact->name 
61[[#249b0fc0]]
$this->escape($this->contact->con_position) 
62[[#249b0fc0]]
$this->contact->con_position