CloneSet59


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
72301.000root
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1721
templates/rhuk_milkyway/html/com_mailto/mailto/default.php
2721
templates/rhuk_milkyway/html/com_mailto/sent/default.php
3721
templates/rhuk_milkyway/html/com_newsfeeds/categories/default.php
Clone Instance
1
Line Count
72
Source Line
1
Source File
templates/rhuk_milkyway/html/com_mailto/mailto/default.php

<?php // no direct access
defined( "_JEXEC") or exit ('Restricted access');
                                               ?>
<script language="javascript" type="text/javascript">
<!--
	function submitbutton(pressbutton) {
	    var form = document.mailtoForm;

		// do field validation
		if (form.mailto.value == "" || form.from.value == "") {
			alert( '<?php echo JText::_('EMAIL_ERR_NOINFO'); ?>' ); return false; } form.submit(); } -->
</script>
<?php
$data=    $this->get('data');
?>
<form action="<?php echo JURI::base();?>index.php" name="mailtoForm" method="post">
<div style="padding: 10px;">
  <div style="text-align:right">
    <a href="javascript: void window.close()">
<?php echo JText::_('CLOSE_WINDOW'); ?>
<img src="<?php echo JURI::base();?>components/com_mailto/assets/close-x.png" border="0" alt="" title="" /></a>
</div>
<div class="componentheading">
<?php echo JText::_('EMAIL_THIS_LINK_TO_A_FRIEND'); ?>
</div>
<p>
<?php echo JText::_('EMAIL_TO'); ?>:
<br/>
<input type="text" name="mailto" class="inputbox" size="25" value="<?php echo $this->escape($data->mailto);?>"/>
</p>
<p>
<?php echo JText::_('SENDER'); ?>:
<br/>
<input type="text" name="sender" class="inputbox" value="<?php echo $this->escape($data->sender);?>" size="25" />
</p>
<p>
<?php echo JText::_('YOUR_EMAIL'); ?>:
<br/>
<input type="text" name="from" class="inputbox" value="<?php echo $this->escape($data->from);?>" size="25" />
</p>
<p>
<?php echo JText::_('SUBJECT'); ?>:
<br/>
<input type="text" name="subject" class="inputbox" value="<?php echo $this->escape($data->subject);?>" size="25" />
</p>
<p>
  <button class="button" onclick="return submitbutton('send');">
<?php echo JText::_('SEND'); ?>
</button>
<button class="button" onclick="window.close();return false;">
<?php echo JText::_('CANCEL'); ?>
</button>
</p>
</div>
<input type="hidden" name="layout" value="<?php echo $this->getLayout();?>" />
<input type="hidden" name="option" value="com_mailto"/>
<input type="hidden" name="task" value="send"/>
<input type="hidden" name="tmpl" value="component"/>
<input type="hidden" name="link" value="<?php echo $data->link; ?>" />
<?php echo JHTML::_( 'form.token');  ?>
</form>


Clone Instance
2
Line Count
72
Source Line
1
Source File
templates/rhuk_milkyway/html/com_mailto/sent/default.php

<?php // no direct access
defined( "_JEXEC") or exit ('Restricted access');
                                               ?>
<script language="javascript" type="text/javascript">
<!--
	function submitbutton(pressbutton) {
	    var form = document.mailtoForm;

		// do field validation
		if (form.mailto.value == "" || form.from.value == "") {
			alert( '<?php echo JText::_('EMAIL_ERR_NOINFO'); ?>' ); return false; } form.submit(); } -->
</script>
<?php
$data=    $this->get('data');
?>
<form action="<?php echo JURI::base();?>index.php" name="mailtoForm" method="post">
<div style="padding: 10px;">
  <div style="text-align:right">
    <a href="javascript: void window.close()">
<?php echo JText::_('CLOSE_WINDOW'); ?>
<img src="<?php echo JURI::base();?>components/com_mailto/assets/close-x.png" border="0" alt="" title="" /></a>
</div>
<div class="componentheading">
<?php echo JText::_('EMAIL_THIS_LINK_TO_A_FRIEND'); ?>
</div>
<p>
<?php echo JText::_('EMAIL_TO'); ?>:
<br/>
<input type="text" name="mailto" class="inputbox" size="25" value="<?php echo $this->escape($data->mailto);?>"/>
</p>
<p>
<?php echo JText::_('SENDER'); ?>:
<br/>
<input type="text" name="sender" class="inputbox" value="<?php echo $this->escape($data->sender);?>" size="25" />
</p>
<p>
<?php echo JText::_('YOUR_EMAIL'); ?>:
<br/>
<input type="text" name="from" class="inputbox" value="<?php echo $this->escape($data->from);?>" size="25" />
</p>
<p>
<?php echo JText::_('SUBJECT'); ?>:
<br/>
<input type="text" name="subject" class="inputbox" value="<?php echo $this->escape($data->subject);?>" size="25" />
</p>
<p>
  <button class="button" onclick="return submitbutton('send');">
<?php echo JText::_('SEND'); ?>
</button>
<button class="button" onclick="window.close();return false;">
<?php echo JText::_('CANCEL'); ?>
</button>
</p>
</div>
<input type="hidden" name="layout" value="<?php echo $this->getLayout();?>" />
<input type="hidden" name="option" value="com_mailto"/>
<input type="hidden" name="task" value="send"/>
<input type="hidden" name="tmpl" value="component"/>
<input type="hidden" name="link" value="<?php echo $data->link; ?>" />
<?php echo JHTML::_( 'form.token');  ?>
</form>


Clone Instance
3
Line Count
72
Source Line
1
Source File
templates/rhuk_milkyway/html/com_newsfeeds/categories/default.php

<?php // no direct access
defined( "_JEXEC") or exit ('Restricted access');
                                               ?>
<script language="javascript" type="text/javascript">
<!--
	function submitbutton(pressbutton) {
	    var form = document.mailtoForm;

		// do field validation
		if (form.mailto.value == "" || form.from.value == "") {
			alert( '<?php echo JText::_('EMAIL_ERR_NOINFO'); ?>' ); return false; } form.submit(); } -->
</script>
<?php
$data=    $this->get('data');
?>
<form action="<?php echo JURI::base();?>index.php" name="mailtoForm" method="post">
<div style="padding: 10px;">
  <div style="text-align:right">
    <a href="javascript: void window.close()">
<?php echo JText::_('CLOSE_WINDOW'); ?>
<img src="<?php echo JURI::base();?>components/com_mailto/assets/close-x.png" border="0" alt="" title="" /></a>
</div>
<div class="componentheading">
<?php echo JText::_('EMAIL_THIS_LINK_TO_A_FRIEND'); ?>
</div>
<p>
<?php echo JText::_('EMAIL_TO'); ?>:
<br/>
<input type="text" name="mailto" class="inputbox" size="25" value="<?php echo $this->escape($data->mailto);?>"/>
</p>
<p>
<?php echo JText::_('SENDER'); ?>:
<br/>
<input type="text" name="sender" class="inputbox" value="<?php echo $this->escape($data->sender);?>" size="25" />
</p>
<p>
<?php echo JText::_('YOUR_EMAIL'); ?>:
<br/>
<input type="text" name="from" class="inputbox" value="<?php echo $this->escape($data->from);?>" size="25" />
</p>
<p>
<?php echo JText::_('SUBJECT'); ?>:
<br/>
<input type="text" name="subject" class="inputbox" value="<?php echo $this->escape($data->subject);?>" size="25" />
</p>
<p>
  <button class="button" onclick="return submitbutton('send');">
<?php echo JText::_('SEND'); ?>
</button>
<button class="button" onclick="window.close();return false;">
<?php echo JText::_('CANCEL'); ?>
</button>
</p>
</div>
<input type="hidden" name="layout" value="<?php echo $this->getLayout();?>" />
<input type="hidden" name="option" value="com_mailto"/>
<input type="hidden" name="task" value="send"/>
<input type="hidden" name="tmpl" value="component"/>
<input type="hidden" name="link" value="<?php echo $data->link; ?>" />
<?php echo JHTML::_( 'form.token');  ?>
</form>


Clone AbstractionParameter Count: 0Parameter Bindings

<?php // no direct access
  defined( "_JEXEC") or exit ('Restricted access');
?>
<script language="javascript" type="text/javascript">
<!--
	function submitbutton(pressbutton) {
	    var form = document.mailtoForm;

		// do field validation
		if (form.mailto.value == "" || form.from.value == "") {
			alert( '<?php
                                  echo JText::_('EMAIL_ERR_NOINFO');
                                ?>' ); return false; } form.submit(); } -->
</script>
<?php
  $data=$this->get('data');
?>
<form action="<?php
                echo JURI::base();
              ?>index.php" name="mailtoForm" method="post">
<div style="padding: 10px;">
  <div style="text-align:right">
    <a href="javascript: void window.close()">
<?php
  echo JText::_('CLOSE_WINDOW');
?>
<img src="<?php
            echo JURI::base();
          ?>components/com_mailto/assets/close-x.png" border="0" alt="" title="" /></a>
</div>
<div class="componentheading">
<?php
  echo JText::_('EMAIL_THIS_LINK_TO_A_FRIEND');
?>
</div>
<p>
<?php
  echo JText::_('EMAIL_TO');
?>:
<br/>
<input type="text" name="mailto" class="inputbox" size="25" value="<?php
                                                                     echo $this->escape($data->mailto);
                                                                   ?>"/>
</p>
<p>
<?php
  echo JText::_('SENDER');
?>:
<br/>
<input type="text" name="sender" class="inputbox" value="<?php
                                                           echo $this->escape($data->sender);
                                                         ?>" size="25" />
</p>
<p>
<?php
  echo JText::_('YOUR_EMAIL');
?>:
<br/>
<input type="text" name="from" class="inputbox" value="<?php
                                                         echo $this->escape($data->from);
                                                       ?>" size="25" />
</p>
<p>
<?php
  echo JText::_('SUBJECT');
?>:
<br/>
<input type="text" name="subject" class="inputbox" value="<?php
                                                            echo $this->escape($data->subject);
                                                          ?>" size="25" />
</p>
<p>
  <button class="button" onclick="return submitbutton('send');">
<?php
  echo JText::_('SEND');
?>
</button>
<button class="button" onclick="window.close();return false;">
<?php
  echo JText::_('CANCEL');
?>
</button>
</p>
</div>
<input type="hidden" name="layout" value="<?php
                                            echo $this->getLayout();
                                          ?>" />
<input type="hidden" name="option" value="com_mailto"/>
<input type="hidden" name="task" value="send"/>
<input type="hidden" name="tmpl" value="component"/>
<input type="hidden" name="link" value="<?php
                                          echo $data->link;
                                        ?>" />
<?php
  echo JHTML::_('form.token');
?>
</form>
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None