atrsimilar_render_old

Versions
6.1
atrsimilar_render_old($diff)

Render the old string with deletions.

Code

atr/modules/atrsimilar/includes/atrsimilar.result.inc, line 78

<?php
function atrsimilar_render_old($diff) {
  $rendered = '';

  foreach ($diff[0] as $i => $token) {
    $string = htmlspecialchars($token['string']);
    $rendered .= $token['common'] == TRUE ? $string : theme('atrsimilar_token_old', $string);
  }

  return $rendered;
}
?>