Deprecated variables for templates removed, mor EL-rewrites, getMessage() rewritten:
[mailer.git] / templates / de / html / guest / guest_doubler.tpl
index 9a22586dcabc73b99d18a0b8b51b4a2f174af1a7..de737c5e17ffecdbeb27d14cea37909395e5af10 100644 (file)
@@ -1,66 +1,52 @@
 <div align="center">
 <table border="0" cellspacing="0" cellpadding="0" class="doubler_table dashed">
        <tr>
-               <td align="center" class="doubler_header bottom2"><strong
-                       class="big">{--DOUBLER_GENERAL_INFOS--}:</strong></td>
+               <td align="center" class="doubler_header bottom">
+                       <strong class="big">{--DOUBLER_GENERAL_INFOS--}:</strong>
+               </td>
        </tr>
        <tr>
-               <td class="doubler_main bottom2"
-                       style="padding-left: 0px; padding-right: 10px; padding-top: 10px; padding-bottom: 10px">
-               <ul>
-
-                       <li>{--DOUBLER_MINIMUM_IS--} <strong>{!__MIN_VALUE!}
-                       {?POINTS?}</strong> {--DOUBLER_MAXIMUM_IS--} <strong>{!__MAX_VALUE!}
-                       {?POINTS?}</strong></li>
-                       <li>{--DOUBLER_ALREADY_PAYED_1--} <strong>{!__TOTAL_VALUE!}
-                       {?POINTS?}</strong> {--DOUBLER_ALREADY_PAYED_2--}</li>
-                       <li>{--DOUBLER_POINTS_LEFT_1--} <strong>{!__LEFT_VALUE!}
-                       {?POINTS?}</strong> {--DOUBLER_POINTS_LEFT_2--}</li>
-                       <li>{--DOUBLER_USAGE_COUNTER_1--} <strong>{!__DOUBLER_COUNTER!}</strong>
-                       {--DOUBLER_USAGE_COUNTER_2--}</li>
-                       <li>{!DOUBLER_PAYOUT_TIME!}</li>
+               <td class="doubler_main bottom" style="padding-left: 0px; padding-right: 10px; padding-top: 10px; padding-bottom: 10px">
+                       <ul>
+                       <li>{--DOUBLER_MINIMUM_IS--} <strong>{%config,translateComma=doubler_min%} {?POINTS?}</strong> {--DOUBLER_MAXIMUM_IS--} <strong>{%config,translateComma=doubler_max%} {?POINTS?}</strong></li>
+                       <li>{%message,DOUBLER_ALREADY_PAYED={%config,translateComma=doubler_points%}%}</li>
+                       <li>{--DOUBLER_POINTS_LEFT_1--} <strong>{%pipe,getDoublerTotalPointsLeft,translateComma%} {?POINTS?}</strong> {--DOUBLER_POINTS_LEFT_2--}</li>
+                       <li>{--DOUBLER_USAGE_COUNTER_1--} <strong>{%config,translateComma=doubler_counter%}</strong> {--DOUBLER_USAGE_COUNTER_2--}</li>
+                       <li>$content[payout_time]</li>
                        <li><strong>{--DOUBLER_FULL_PAYOUT--}</strong></li>
-                       <li>{--DOUBLER_POINTS_1--} <strong>{!__CHARGE_VALUE!}%</strong>
-                       {--DOUBLER_POINTS_2--}</li>
-                       <li>{--DOUBLER_EXAMPLE_1--} <strong>500 {?POINTS?}</strong>
-                       &raquo;&raquo; {--DOUBLER_EXAMPLE_2--} <strong>1000 {?POINTS?}</strong>{--DOUBLER_EXAMPLE_3--}</li>
-                       <li>{--DOUBLER_REFERRAL_1--} <strong>{!__REF_VALUE!}%</strong>
-                       {--DOUBLER_REFERRAL_2--} {--DOUBLER_REFERRAL_3--}
-                       {--DOUBLER_REFERRAL_4--}
-                       <li>{--DOUBLER_REFERRAL_5--} <strong>100 {?POINTS?}</strong>
-                       {--DOUBLER_REFERRAL_6--} <strong>100 {?POINTS?}</strong>
-                       {--DOUBLER_REFERRAL_8--} <strong>300 {?POINTS?}</strong>
-                       {--DOUBLER_REFERRAL_8--}</li>
-                       <li>{--DOUBLER_REFERRAL_LINK--}</li>
-                       <li>{--DOUBLER_TIMEOUT_1--} <strong>{!__TIMEOUT_MARK!}</strong>
-                       {--DOUBLER_TIMEOUT_2--}</li>
+                       <li>{--DOUBLER_POINTS_1--} <strong>{%config,translateComma=doubler_charge%}%</strong> {--DOUBLER_POINTS_2--}</li>
+                       <li>{--DOUBLER_EXAMPLE_1--} <strong>500 {?POINTS?}</strong> &raquo;&raquo; {--DOUBLER_EXAMPLE_2--} <strong>1000 {?POINTS?}</strong>{--DOUBLER_EXAMPLE_3--}</li>
+                       <li>{--DOUBLER_REFERAL_1--} <strong>{%config,translateComma=doubler_ref%}]%</strong> {--DOUBLER_REFERAL_2--} {--DOUBLER_REFERAL_3--} {--DOUBLER_REFERAL_4--}
+                       <li>{--DOUBLER_REFERAL_5--} <strong>100 {?POINTS?}</strong> {--DOUBLER_REFERAL_6--} <strong>100 {?POINTS?}</strong> {--DOUBLER_REFERAL_8--} <strong>300 {?POINTS?}</strong> {--DOUBLER_REFERAL_8--}</li>
+                       <li>{--DOUBLER_REFERAL_LINK--}</li>
+                       <li>{--DOUBLER_TIMEOUT_1--} <strong>{%config,createFancyTime=doubler_timeout%}</strong> {--DOUBLER_TIMEOUT_2--}</li>
                        <li>{--DOUBLER_HAVE_FUN--}</li>
                        <li><strong><a href="{?URL?}/doubler.php">{--DOUBLER_WANNA_TRY--}</a></strong></li>
-                       </ol>
+                       </ul>
                </td>
        </tr>
        <tr>
-               <td align="center" class="doubler_header bottom2"><strong
+               <td align="center" class="doubler_header bottom"><strong
                        class="big">{--DOUBLER_REGISTER_ADVERT--}:</strong></td>
        </tr>
        <tr>
-               <td class="doubler_main"
-                       style="padding-left: 0px; padding-right: 10px; padding-top: 10px; padding-bottom: 10px">
-               <ul>
-                       <li>{--DOUBLER_NOT_YET_REGISTERED--} <a
-                               href="{?URL?}/ref.php?refid={!__REFID!}">{--DOUBLER_REGISTER_NOW--}</a></li>
-                       <li>{--DOUBLER_YOUR_ADVERTISING_HERE--} <a
-                               href="{?URL?}/modules.php?module=index&amp;what=impressum&amp;refid={!__REFID!}">{--DOUBLER_CONTACT_US--}</a></li>
-                       </ol>
+               <td class="doubler_main" style="padding-left: 0px; padding-right: 10px; padding-top: 10px; padding-bottom: 10px">
+                       <ul>
+                       <li>{--DOUBLER_NOT_YET_REGISTERED--} <a href="{?URL?}/ref.php?refid={%pipe,determineReferalId%}">{--DOUBLER_REGISTER_NOW--}</a></li>
+                       <li>{--DOUBLER_YOUR_ADVERTISING_HERE--} <a href="{%url=modules.php?module=index&amp;what=impressum&amp;refid={%pipe,determineReferalId%}%}">{--DOUBLER_CONTACT_US--}</a></li>
+                       </ul>
                </td>
        </tr>
 </table>
 
-<div class="big">{--DOUBLER_ALREADY_PAYOUT--}:</div>
-<br />
-{!__DOUBLER_PAYOUT_HISTORY!}</P>
+<div class="big">
+       {--DOUBLER_ALREADY_PAYOUT--}:</div>
+       <br />
+       $content[payout_history]
+</div>
 
-<div class="big">{--DOUBLER_NEXT_PAYOUT--}:</div>
-<br />
-{!__DOUBLER_PAYOUT_NEXT!}
+<div class="big">
+       {--DOUBLER_NEXT_PAYOUT--}:</div>
+       <br />
+       {%pipe,generateDoublerTable%}
 </div>