diff options
| author | Patrick Seeger <pseeger@ccwn.org> | 2012-04-13 23:11:05 +0200 |
|---|---|---|
| committer | Patrick Seeger <pseeger@ccwn.org> | 2012-04-13 23:11:05 +0200 |
| commit | 341cc4dd9c53ffbfb863e026dd58549c1082c7a7 (patch) | |
| tree | 1bbbed20313bafb9b063b6b4d894fe580d8b000f /framework/gii/views/common/diff.php | |
Diffstat (limited to 'framework/gii/views/common/diff.php')
| -rw-r--r-- | framework/gii/views/common/diff.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/framework/gii/views/common/diff.php b/framework/gii/views/common/diff.php new file mode 100644 index 0000000..ed3f89c --- /dev/null +++ b/framework/gii/views/common/diff.php @@ -0,0 +1,9 @@ +<?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; ?> |
