You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

diff.php 400B

12345678910111213
  1. <?php
  2. /* @var $this yii\web\View */
  3. /* @var $diff mixed */
  4. ?>
  5. <div class="default-diff">
  6. <?php if ($diff === false): ?>
  7. <div class="alert alert-danger">Diff is not supported for this file type.</div>
  8. <?php elseif (empty($diff)): ?>
  9. <div class="alert alert-success">Identical.</div>
  10. <?php else: ?>
  11. <div class="content"><?= $diff ?></div>
  12. <?php endif; ?>
  13. </div>