Ejemplo n.º 1
0
/**
 * Process the data returned from the results of a SiteCheck scan and generate
 * the HTML code to display the information in the malware scan page inside the
 * modified files tab.
 *
 * @param  array $scan_results       Array with information of the scanning.
 * @param  array $template_variables Array with psuedo-variables to build the template.
 * @return array                     Array with psuedo-variables to build the template including extra information.
 */
function sucuriscan_sitecheck_modified_files($scan_results = false, $template_variables = array())
{
    $template_variables['ModifiedFiles.Content'] = sucuriscan_modified_files();
    return $template_variables;
}
Ejemplo n.º 2
0
/**
 * Process the data returned from the results of a SiteCheck scan and generate
 * the HTML code to display the information in the malware scan page inside the
 * modified files tab.
 *
 * @param  array $scan_results Array with information of the scanning.
 * @param  array $params       Array with psuedo-variables to build the template.
 * @return array               Psuedo-variables to build the template including extra info.
 */
function sucuriscan_sitecheck_modified_files($scan_results = false, $params = array())
{
    $params['ModifiedFiles.Content'] = sucuriscan_modified_files();
    return $params;
}