From 6e04ce2d09c8ede49c476034cacc0e254742ac02 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 18 Jul 2016 18:14:56 +0200 Subject: [PATCH] Improved colors in template diff --- wcfsetup/install/files/acp/templates/templateDiff.tpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/templateDiff.tpl b/wcfsetup/install/files/acp/templates/templateDiff.tpl index db6b66eda5..04aeb7d12e 100644 --- a/wcfsetup/install/files/acp/templates/templateDiff.tpl +++ b/wcfsetup/install/files/acp/templates/templateDiff.tpl @@ -3,6 +3,7 @@

{lang}wcf.acp.template.diff{/lang}

+

{$template->templateName}

{hascontent} @@ -72,7 +73,7 @@ *}
  • {$line[1]}
  • {* *}{elseif $line[0] == '-'}{* *}{assign var=removeOffset value=$removeOffset + 1}{assign var=lineNo value=$lineNo + 1}{* - *}
  • {$line[1]}
  • {* + *}
  • {$line[1]}
  • {* *}{elseif $line[0] == '+'}{* *}{assign var=removeOffset value=$removeOffset - 1}{* *}{if $removeOffset < 0}
  •  
  • {/if}{* @@ -103,7 +104,7 @@ *}{assign var=removeOffset value=$removeOffset + 1}{* *}{elseif $line[0] == '+'}{* *}{assign var=removeOffset value=$removeOffset - 1}{assign var=lineNo value=$lineNo + 1}{* - *}
  • {$line[1]}
  • {* + *}
  • {$line[1]}
  • {* *}{/if}{* *}{/foreach}{* *}{* -- 2.20.1