Browse Source

remove payment singens if free product

andre 4 năm trước cách đây
mục cha
commit
de0b16f298
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      templates/clientarea.tpl

+ 1 - 1
templates/clientarea.tpl

@@ -99,7 +99,7 @@
                   {else}
                     <li>{debug}
                       <span class="list-heading">Trial Account</span>
-                      <span class="list-text">Ende: {(14 + mktime($regdate))|date_format:'%Y-%m-%d %H:%M:%S'}</span>
+                      <span class="list-text">Ende: {(14*24*60*60 - $smarty.now + mktime($regdate))|date_format:'%Y-%m-%d %H:%M:%S'}</span>
                     </li>
                   {/if}
                 </ul>