diff.php 274 B

123456789
  1. <?php if($diff===false): ?>
  2. <div class="error">Diff is not supported for this file type.</div>
  3. <?php elseif(empty($diff)): ?>
  4. <div class="error">No changes.</div>
  5. <?php else: ?>
  6. <div class="content">
  7. <pre class="diff"><?php echo $diff; ?></pre>
  8. </div>
  9. <?php endif; ?>