From: Marcel Werk Date: Mon, 18 Jul 2016 16:14:56 +0000 (+0200) Subject: Improved colors in template diff X-Git-Tag: 3.0.0_Beta_1~1046 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6e04ce2d09c8ede49c476034cacc0e254742ac02;p=GitHub%2FWoltLab%2FWCF.git Improved colors in template diff --- 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}{* *}{*