1
0
www.mikescher.com/framework/gii/views/common/diff.php

10 lines
274 B
PHP
Raw Permalink Normal View History

2014-05-13 12:40:42 +02:00
<?php if($diff===false): ?>
<div class="error">Diff is not supported for this file type.</div>
<?php elseif(empty($diff)): ?>
<div class="error">No changes.</div>
<?php else: ?>
<div class="content">
<pre class="diff"><?php echo $diff; ?></pre>
</div>
<?php endif; ?>