Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
25 | 2 | 6 | 0.976 | statement_sequence[7] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 25 | 213 | administrator/components/com_banners/views/banner.php |
2 | 25 | 150 | administrator/components/com_banners/views/client.php |
| ||||
JRequest::setVar('hidemainmenu', 1); JFilterOutput::objectHTMLSafe($row, ENT_QUOTES, 'custombannercode'); ?> <script language="javascript" type="text/javascript"> <!-- function changeDisplayImage() { if (document.adminForm.imageurl.value !='') { document.adminForm.imagelib.src='../images/banners/' + document.adminForm.imageurl.value; } else { document.adminForm.imagelib.src='images/blank.png'; } } function submitbutton(pressbutton) { var form = document.adminForm; if (pressbutton == 'cancel') { submitform(pressbutton); return; } // do field validation if (form.name.value == "") { alert("<?php echo JText::_('You must provide a banner name.', TRUE); ?>"); } else if (getSelectedValue('adminForm','cid') <1) { alert("<?php echo JText::_('Please select a client.', TRUE); ?>"); /*} else if (!getSelectedValue('adminForm','imageurl')) { alert("<?php |
| ||||
JRequest::setVar('hidemainmenu', 1); JFilterOutput::objectHTMLSafe($row, ENT_QUOTES, 'extrainfo'); ?> <script language="javascript" type="text/javascript"> <!-- function submitbutton(pressbutton) { var form = document.adminForm; if (pressbutton == 'cancel') { submitform(pressbutton); return; } // do field validation if (form.name.value == "") { alert("<?php echo JText::_('Please fill in the Client Name.', TRUE); ?>"); } else if (form.contact.value == "") { alert("<?php echo JText::_('Please fill in the Contact Name.', TRUE); ?>"); } else if (form.email.value == "") { alert("<?php |
| |||
JRequest::setVar('hidemainmenu',1); JFilterOutput::objectHTMLSafe($row,ENT_QUOTES, [[#variable456f8680]]); ?> [[#variable456f8600]]<?php echo JText::_( [[#variable456f8580]],TRUE); ?> [[#variable456f84e0]]<?php echo JText::_( [[#variable456f8480]],TRUE); ?> [[#variable456f83e0]]<?php |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#456f8680]] | 'custombannercode' |
1 | 2 | [[#456f8680]] | 'extrainfo' |
2 | 1 | [[#456f8600]] | <script language="javascript" type="text/javascript"> <!-- function changeDisplayImage() { if (document.adminForm.imageurl.value !='') { document.adminForm.imagelib.src='../images/banners/' + document.adminForm.imageurl.value; } else { document.adminForm.imagelib.src='images/blank.png'; } } function submitbutton(pressbutton) { var form = document.adminForm; if (pressbutton == 'cancel') { submitform(pressbutton); return; } // do field validation if (form.name.value == "") { alert(" |
2 | 2 | [[#456f8600]] | <script language="javascript" type="text/javascript"> <!-- function submitbutton(pressbutton) { var form = document.adminForm; if (pressbutton == 'cancel') { submitform(pressbutton); return; } // do field validation if (form.name.value == "") { alert(" |
3 | 1 | [[#456f8580]] | 'You must provide a banner name.' |
3 | 2 | [[#456f8580]] | 'Please fill in the Client Name.' |
4 | 1 | [[#456f84e0]] | "); } else if (getSelectedValue('adminForm','cid') <1) { alert(" |
4 | 2 | [[#456f84e0]] | "); } else if (form.contact.value == "") { alert(" |
5 | 1 | [[#456f8480]] | 'Please select a client.' |
5 | 2 | [[#456f8480]] | 'Please fill in the Contact Name.' |
6 | 1 | [[#456f83e0]] | "); /*} else if (!getSelectedValue('adminForm','imageurl')) { alert(" |
6 | 2 | [[#456f83e0]] | "); } else if (form.email.value == "") { alert(" |