CloneSet281


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
46240.963php_sequence[21]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14628
components/com_contact/views/contact/tmpl/default_form.php
24628
templates/rhuk_milkyway/html/com_contact/contact/default_form.php
Clone Instance
1
Line Count
46
Source Line
28
Source File
components/com_contact/views/contact/tmpl/default_form.php

               
<tr>
  <td colspan="2">
    <br/><br/>
    <form action="<?php echo JRoute::_('index.php');?>" method="post" name="emailForm" id="emailForm" class="form-validate">
<div class="contact_email<?php echo $this->params->get('pageclass_sfx'); ?>">
<label for="contact_name"> &nbsp;<?php echo JText::_('Enter your name');?>:
</label>
<br/>
<input type="text" name="name" id="contact_name" size="30" class="inputbox" value=""/>
<br/>
<label id="contact_emailmsg" for="contact_email"> &nbsp;<?php echo JText::_('Email address');?>:
</label>
<br/>
<input type="text" id="contact_email" name="email" size="30" value="" class="inputbox required validate-email"
  maxlength="100"/>
<br/>
<label for="contact_subject"> &nbsp;<?php echo JText::_('Message subject');?>:
</label>
<br/>
<input type="text" name="subject" id="contact_subject" size="30" class="inputbox" value=""/>
<br/><br/>
<label id="contact_textmsg" for="contact_text"> &nbsp;<?php echo JText::_('Enter your message');?>:
</label>
<br/>
<textarea cols="50" rows="10" name="text" id="contact_text" class="inputbox required"></textarea>
<?php if ($this->contact->params->get('show_email_copy')):  ;
                                                            ?>
<br/>
<input type="checkbox" name="email_copy" id="contact_email_copy" value="1"/>
<label for="contact_email_copy">
<?php                 echo JText::_('EMAIL_A_COPY'); ?>
</label>
<?php
      endif; ?>
<br/>
<br/>
<button class="button validate" type="submit"><?php echo JText::_('Send'); ?></button>
</div>
<input type="hidden" name="option" value="com_contact"/>
<input type="hidden" name="view" value="contact"/>
<input type="hidden" name="id" value="<?php echo $this->contact->id; ?>" />
<input type="hidden" name="task" value="submit"/>
<?php echo JHtml::_('form.token'); ?>
</form>
<br/>
</td>
</tr>


Clone Instance
2
Line Count
46
Source Line
28
Source File
templates/rhuk_milkyway/html/com_contact/contact/default_form.php

               
<tr>
  <td colspan="2">
    <br/><br/>
    <form action="<?php echo JRoute::_( 'index.php'); ?>" method="post" name="emailForm" id="emailForm" class="form-validate">
<div class="contact_email<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
<label for="contact_name"> &nbsp;<?php echo JText::_( 'Enter your name'); ?>:
</label>
<br/>
<input type="text" name="name" id="contact_name" size="30" class="inputbox" value=""/>
<br/>
<label id="contact_emailmsg" for="contact_email"> &nbsp;<?php echo JText::_( 'Email address'); ?>:
</label>
<br/>
<input type="text" id="contact_email" name="email" size="30" value="" class="inputbox required validate-email"
  maxlength="100"/>
<br/>
<label for="contact_subject"> &nbsp;<?php echo JText::_( 'Message subject'); ?>:
</label>
<br/>
<input type="text" name="subject" id="contact_subject" size="30" class="inputbox" value=""/>
<br/><br/>
<label id="contact_textmsg" for="contact_text"> &nbsp;<?php echo JText::_( 'Enter your message'); ?>:
</label>
<br/>
<textarea cols="50" rows="10" name="text" id="contact_text" class="inputbox required"></textarea>
<?php if ($this->contact->params->get( 'show_email_copy')):   ;
                                                              ?>
<br/>
<input type="checkbox" name="email_copy" id="contact_email_copy" value="1"/>
<label for="contact_email_copy">
<?php                 echo JText::_( 'EMAIL_A_COPY');  ?>
</label>
<?php
      endif; ?>
<br/>
<br/>
<button class="button validate" type="submit"><?php echo JText::_('Send'); ?></button>
</div>
<input type="hidden" name="option" value="com_contact"/>
<input type="hidden" name="view" value="contact"/>
<input type="hidden" name="id" value="<?php echo $this->contact->id; ?>" />
<input type="hidden" name="task" value="submit"/>
<?php echo JHTML::_( 'form.token');  ?>
</form>
<br/>
</td>
</tr>


Clone AbstractionParameter Count: 4Parameter Bindings

<tr>
  <td colspan="2">
    <br/><br/>
    <form action="<?php
                    echo JRoute::_('index.php');
                  ?>" method="post" name="emailForm" id="emailForm" class="form-validate">
<div class="contact_email<?php
                           echo [[#variable512b1c00]]-> [[#variable512b1bc0]]( [[#variable512b1b60]]);
                         ?>">
<label for="contact_name"> &nbsp;<?php
                                   echo JText::_('Enter your name');
                                 ?>:
</label>
<br/>
<input type="text" name="name" id="contact_name" size="30" class="inputbox" value=""/>
<br/>
<label id="contact_emailmsg" for="contact_email"> &nbsp;<?php
                                                          echo JText::_('Email address');
                                                        ?>:
</label>
<br/>
<input type="text" id="contact_email" name="email" size="30" value="" class="inputbox required validate-email"
  maxlength="100"/>
<br/>
<label for="contact_subject"> &nbsp;<?php
                                      echo JText::_('Message subject');
                                    ?>:
</label>
<br/>
<input type="text" name="subject" id="contact_subject" size="30" class="inputbox" value=""/>
<br/><br/>
<label id="contact_textmsg" for="contact_text"> &nbsp;<?php
                                                        echo JText::_('Enter your message');
                                                      ?>:
</label>
<br/>
<textarea cols="50" rows="10" name="text" id="contact_text" class="inputbox required"></textarea>
<?php
  if ($this->contact->params->get('show_email_copy')):
    ;
    ?>
<br/>
<input type="checkbox" name="email_copy" id="contact_email_copy" value="1"/>
<label for="contact_email_copy">
<?php
    echo JText::_('EMAIL_A_COPY');
    ?>
</label>
<?php
  endif;
?>
<br/>
<br/>
<button class="button validate" type="submit"><?php
                                                echo JText::_('Send');
                                              ?></button>
</div>
<input type="hidden" name="option" value="com_contact"/>
<input type="hidden" name="view" value="contact"/>
<input type="hidden" name="id" value="<?php
                                        echo $this->contact->id;
                                      ?>" />
<input type="hidden" name="task" value="submit"/>
<?php
  echo [[#variable512b1b00]]::_('form.token');
?>
</form>
<br/>
</td>
</tr>
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#512b1c00]]
$this 
12[[#512b1c00]]
$this->params 
21[[#512b1bc0]]
escape 
22[[#512b1bc0]]
get 
31[[#512b1b60]]
$this->params->get('pageclass_sfx') 
32[[#512b1b60]]
'pageclass_sfx' 
41[[#512b1b00]]
JHTML 
42[[#512b1b00]]
JHtml