andre 4 年 前
コミット
938f135835
1 ファイル変更2 行追加3 行削除
  1. 2 3
      templates/client/default/controlers/main.tpl

+ 2 - 3
templates/client/default/controlers/main.tpl

@@ -75,13 +75,12 @@
 		                  {else}
             			        <tr>
 		                            <td class="list-heading" style="font-size: 85%;"><strong>Trial Account</strong></td>
-                                    {$days = (14 - (($smarty.now - ($regdate|@strtotime)) / 86400)|round)}
                                     {if ($smarty.now - ($regdate|@strtotime)) > 950400} {* wenn Heute - RegisterDatum > 11 Tage *}
-		                                <td class="list-text" style="color:orange;font-size:85%;">{$LANG.trialEnds}</td>
+		                                <td class="list-text" style="color:orange;font-size:85%;">{$LANG.trialEnds} {(14 - (($smarty.now - ($regdate|@strtotime)) / 86400)|round)} {$LANG.days}</td>
             			            {elseif ($smarty.now - ($regdate|@strtotime)) > 1123200} {* wenn Heute - RegisterDatum > 13 Tage *}
                             			<td class="list-text" style="color:red;font-size:85%;">{$LANG.trialLastDay}</td>
 		                            {else}
-		                                <td class="list-text" style="font-size: 85%;">{$LANG.trialEnds}</td>
+		                                <td class="list-text" style="font-size: 85%;">{$LANG.trialEnds} {(14 - (($smarty.now - ($regdate|@strtotime)) / 86400)|round)} {$LANG.days}</td>
 		                            {/if}
 		                        </tr>
             			        <tr>