Commit | Line | Data |
---|---|---|
4d8036f5 MW |
1 | {include file='documentHeader'} |
2 | ||
3 | <head> | |
4 | <title>{lang}wcf.user.menu.settings.paidSubscription{/lang} - {lang}wcf.user.menu.settings{/lang} - {PAGE_TITLE|language}</title> | |
5 | ||
6 | {include file='headInclude'} | |
7 | </head> | |
8 | ||
9 | <body id="tpl{$templateName|ucfirst}" data-template="{$templateName}" data-application="{$templateNameApplication}"> | |
10 | ||
11 | {include file='userMenuSidebar'} | |
12 | ||
13 | {include file='header' sidebarOrientation='left'} | |
14 | ||
15 | <header class="boxHeadline"> | |
16 | <h1>{lang}wcf.user.menu.settings.paidSubscription{/lang}</h1> | |
17 | </header> | |
18 | ||
19 | {include file='userNotice'} | |
20 | ||
21 | <div class="contentNavigation"> | |
22 | {hascontent} | |
23 | <nav> | |
24 | <ul> | |
25 | {content} | |
26 | {event name='contentNavigationButtonsTop'} | |
27 | {/content} | |
28 | </ul> | |
29 | </nav> | |
30 | {/hascontent} | |
31 | </div> | |
32 | ||
33 | {if $subscriptions|count} | |
34 | <header class="boxHeadline boxSubHeadline"> | |
35 | <h2>{lang}wcf.paidSubscription.availableSubscriptions{/lang}</h2> | |
36 | </header> | |
37 | ||
38 | <div class="container marginTop"> | |
39 | <ul class="containerList"> | |
40 | {foreach from=$subscriptions item=subscription} | |
41 | <li> | |
42 | <div class="containerHeadline"> | |
43 | <h3>{$subscription->title|language}</h3> | |
44 | <p>{$subscription->description|language}</p> | |
45 | ||
46 | <p class="marginTopTiny">{lang}wcf.paidSubscription.formattedCost{/lang}</p> | |
47 | ||
48 | <ul class="buttonList marginTopTiny"> | |
49 | {foreach from=$subscription->getPurchaseButtons() item=button} | |
50 | <li>{@$button}</li> | |
51 | {/foreach} | |
52 | </ul> | |
53 | </div> | |
54 | </li> | |
55 | {/foreach} | |
56 | </ul> | |
57 | </div> | |
58 | {/if} | |
59 | ||
60 | {if $userSubscriptions|count} | |
61 | <header class="boxHeadline boxSubHeadline"> | |
62 | <h2>{lang}wcf.paidSubscription.purchasedSubscriptions{/lang}</h2> | |
63 | </header> | |
64 | ||
65 | <div class="container marginTop"> | |
66 | <ul class="containerList"> | |
67 | {foreach from=$userSubscriptions item=userSubscription} | |
68 | <li> | |
69 | <div class="containerHeadline"> | |
70 | <h3>{$userSubscription->getSubscription()->title|language}</h3> | |
71 | <p>{$userSubscription->getSubscription()->description|language}</p> | |
72 | ||
73 | {if $userSubscription->endDate} | |
74 | <p>{lang}wcf.paidSubscription.expires{/lang}: {@$userSubscription->endDate|time}</p> | |
75 | {/if} | |
76 | </div> | |
77 | </li> | |
78 | {/foreach} | |
79 | </ul> | |
80 | </div> | |
81 | {/if} | |
82 | ||
83 | {if !$subscriptions|count && !$userSubscriptions|count} | |
84 | <p class="warning">{lang}wcf.global.noItems{/lang}</p> | |
85 | {/if} | |
86 | ||
87 | <div class="contentNavigation"> | |
88 | {hascontent} | |
89 | <nav> | |
90 | <ul> | |
91 | {content} | |
92 | {event name='contentNavigationButtonsBottom'} | |
93 | {/content} | |
94 | </ul> | |
95 | </nav> | |
96 | {/hascontent} | |
97 | </div> | |
98 | ||
99 | {include file='footer'} | |
100 | ||
101 | </body> | |
102 | </html> |