-81 Removals
+76 Additions

Created by:phpboost

1 # IF C_POLL_MAIN # 1 # IF C_POLL_MAIN #
2 <section id="module-poll-main"> 2 <section id="module-poll-main">
3 <header> 3 <header>
4 <h1>{L_POLL}# IF C_IS_ADMIN # <span class="actions"><a href="{U_EDIT}" title="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit"></i></a></span># ENDIF #</h1> 4 <div class="cat-actions">
5 # IF C_IS_ADMIN # <span class="actions"><a href="{U_EDIT}" aria-label="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit" aria-hidden="true" title="${LangLoader::get_message('edit', 'common')}"></i></a></span># ENDIF #
6 </div>
7 <h1>{L_POLL}</h1>
5 </header> 8 </header>
6 9
7 <div class="content center"> 10 <div class="content center">
8 {L_POLL_MAIN} 11 {L_POLL_MAIN}
9 # START list # 12 # START list #
10 <div class="poll-question-container"> 13 <div class="poll-question-container">
11 <a id="poll-question-{list.U_POLL_ID}" class="poll-question" href="{PATH_TO_ROOT}/poll/poll{list.U_POLL_ID}"> 14 <a id="poll-question-{list.U_POLL_ID}" class="poll-question" href="{PATH_TO_ROOT}/poll/poll{list.U_POLL_ID}">
12 {list.QUESTION}<br /> 15 <span class="infos-options">{list.QUESTION}</span>
13 <img src="{PATH_TO_ROOT}/poll/poll.png" alt="{list.QUESTION}" title="{list.QUESTION}"/> 16 <img src="{PATH_TO_ROOT}/poll/poll.png" alt="{list.QUESTION}" title="{list.QUESTION}"/>
14 </a> 17 </a>
15 </div> 18 </div>
16 # END list # 19 # END list #
17 20
18 <p class="center">{U_ARCHIVE}</p> 21 <p class="center">{U_ARCHIVE}</p>
19 </div> 22 </div>
20 <footer></footer> 23 <footer></footer>
21 </section> 24 </section>
22 # ENDIF # 25 # ENDIF #
23 26
24 27
25 # IF C_POLL_VIEW # 28 # IF C_POLL_VIEW #
26 <form method="post" action="{PATH_TO_ROOT}/poll/poll{U_POLL_ACTION}"> 29 <form method="post" action="{PATH_TO_ROOT}/poll/poll{U_POLL_ACTION}">
27 <section id="module-poll"> 30 <section id="module-poll">
28 <header> 31 <header>
29 <h1>{L_MINI_POLL}</h1> 32 <div class="cat-actions">{L_MINI_POLL}</div>
33 <h1>{QUESTION}</h1>
30 </header> 34 </header>
31 <div class="content">
32 # INCLUDE message_helper # 35 # INCLUDE message_helper #
33 36
34 <article id="article-poll-{IDPOLL}" class="article-poll block"> 37
35 <header> 38 <div id="article-poll-{IDPOLL}" class="article-poll">
36 <h2> 39 # IF C_IS_ADMIN #
37 {QUESTION} 40 <span class="actions">
38 # IF C_IS_ADMIN # 41 <a href="{U_EDIT}" aria-label="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit" aria-hidden="true" title="${LangLoader::get_message('edit', 'common')}"></i></a>
39 <span class="actions"> 42 <a href="{U_DEL}" aria-label="${LangLoader::get_message('delete', 'common')}" data-confirmation="delete-element"><i class="fa fa-delete" aria-hidden="true" title="${LangLoader::get_message('delete', 'common')}"></i></a>
40 <a href="{U_EDIT}" title="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit"></i></a> 43 </span>
41 <a href="{U_DEL}" title="${LangLoader::get_message('delete', 'common')}" data-confirmation="delete-element"><i class="fa fa-delete"></i></a> 44 # ENDIF #
42 </span> 45 <div class="content">
43 # ENDIF # 46 # IF C_POLL_QUESTION #
44 </h2> 47 <div>
45 </header> 48 # START radio #
46 <div class="content"> 49 <p class="poll-question-select"><label><input type="{radio.TYPE}" name="radio" value="{radio.NAME}"> {radio.ANSWERS}</label></p>
47 # IF C_POLL_QUESTION # 50 # END radio #
48 <div> 51
49 # START radio # 52 # START checkbox #
50 <p class="poll-question-select"><label><input type="{radio.TYPE}" name="radio" value="{radio.NAME}"> {radio.ANSWERS}</label></p> 53 <p class="poll-question-select"><label><input type="{checkbox.TYPE}" name="{checkbox.NAME}" value="{checkbox.NAME}"> {checkbox.ANSWERS}</label></p>
51 # END radio # 54 # END checkbox #
52 55
53 # START checkbox # 56 <p class="center">
54 <p class="poll-question-select"><label><input type="{checkbox.TYPE}" name="{checkbox.NAME}" value="{checkbox.NAME}"> {checkbox.ANSWERS}</label></p> 57 <button name="valid_poll" type="submit" value="{L_VOTE}">{L_VOTE}</button>
55 # END checkbox # 58 <input type="hidden" name="token" value="{TOKEN}">
56 59 </p>
57 <p class="center"> 60 <p class="center">
58 <button name="valid_poll" type="submit" value="{L_VOTE}">{L_VOTE}</button> 61 <a class="small" href="{PATH_TO_ROOT}/poll/poll{U_POLL_RESULT}">{L_RESULT}</a>
59 <input type="hidden" name="token" value="{TOKEN}"> 62 </p>
60 </p> 63 </div>
61 <p class="center"> 64 # ENDIF #
62 <a class="small" href="{PATH_TO_ROOT}/poll/poll{U_POLL_RESULT}">{L_RESULT}</a> 65
63 </p> 66 # IF C_POLL_RESULTS #
64 </div> 67 # IF C_DISPLAY_RESULTS #
65 # ENDIF # 68 # START result #
66 69 <div>
67 # IF C_POLL_RESULTS # 70 <h6>{result.ANSWERS} - ({result.NBRVOTE} {L_VOTE})</h6>
68 # IF C_DISPLAY_RESULTS # 71 <div class="progressbar-container" title="{result.PERCENT}%">
69 # START result # 72 <div class="progressbar-infos">{result.PERCENT}%</div>
70 <div> 73 <div class="progressbar" style="width:{result.PERCENT}%;"></div>
71 <h6>{result.ANSWERS} - ({result.NBRVOTE} {L_VOTE})</h6>
72 <div class="progressbar-container" title="{result.PERCENT}%">
73 <div class="progressbar-infos">{result.PERCENT}%</div>
74 <div class="progressbar" style="width:{result.PERCENT}%;"></div>
75
76 </div>
77 <br/>
78 </div> 74 </div>
79 # END result # 75 </div>
80 <div> 76 # END result #
81 <span class="smaller left">{VOTES} {L_VOTE}</span> 77 <div>
82 <span class="smaller right">${LangLoader::get_message('on', 'main')} : {DATE} </span> 78 <span class="smaller left">{VOTES} {L_VOTE}</span>
83 &nbsp; 79 <span class="smaller right">${LangLoader::get_message('on', 'main')} : {DATE} </span>
84 </div> 80 &nbsp;
85 # ELSE # 81 </div>
86 <div class="notice"># IF C_NO_VOTE #{L_NO_VOTE}# ELSE #{L_RESULTS_NOT_DISPLAYED_YET}# ENDIF #</div> 82 # ELSE #
87 # ENDIF # 83 <div class="message-helper notice"># IF C_NO_VOTE #{L_NO_VOTE}# ELSE #{L_RESULTS_NOT_DISPLAYED_YET}# ENDIF #</div>
88 # ENDIF # 84 # ENDIF #
89 </div> 85 # ENDIF #
90 <footer></footer> 86 </div>
91 </article> 87 <footer></footer>
92 </div> 88 </div>
93 <footer></footer> 89 <footer></footer>
94 </section> 90 </section>
95 </form> 91 </form>
96 # ENDIF # 92 # ENDIF #
97 93
98 94
99 # IF C_POLL_ARCHIVES # 95 # IF C_POLL_ARCHIVES #
100 <section id="module-poll-archives"> 96 <section id="module-poll-archives">
101 <header> 97 <header>
102 <h1>{L_ARCHIVE}</h1> 98 <h1>{L_ARCHIVE}</h1>
103 # IF C_PAGINATION #<span class="right"># INCLUDE PAGINATION #</span># ENDIF # 99 # IF C_PAGINATION #<span class="right"># INCLUDE PAGINATION #</span># ENDIF #
104 </header> 100 </header>
105 <div class="content"> 101 <div class="content">
106 # START list # 102 # START list #
107 <article id="article-poll-{list.ID}" class="article-poll article-several block"> 103 <article id="article-poll-{list.ID}" class="article-poll article-several block">
108 <header> 104 <header>
109 <h2> 105 <h2>
110 {list.QUESTION} 106 {list.QUESTION}
111 <span class="actions"> 107 <span class="actions">
112 # IF C_IS_ADMIN # 108 # IF C_IS_ADMIN #
113 <a href="{list.U_EDIT}" title="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit"></i></a> 109 <a href="{list.U_EDIT}" aria-label="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit" aria-hidden="true" title="${LangLoader::get_message('edit', 'common')}"></i></a>
114 <a href="{list.U_DEL}" title="${LangLoader::get_message('delete', 'common')}" data-confirmation="delete-element"><i class="fa fa-delete"></i></a> 110 <a href="{list.U_DEL}" aria-label="${LangLoader::get_message('delete', 'common')}" data-confirmation="delete-element"><i class="fa fa-delete" aria-hidden="true" title="${LangLoader::get_message('delete', 'common')}"></i></a>
115 # ENDIF # 111 # ENDIF #
116 </span> 112 </span>
117 </h2> 113 </h2>
118 </header> 114 </header>
119 <div class="content"> 115 <div class="content">
120 # START list.result # 116 # START list.result #
121 <div> 117 <div>
122 <h6>{list.result.ANSWERS} - ({list.result.NBRVOTE} {list.L_VOTE})</h6> 118 <h6>{list.result.ANSWERS} - ({list.result.NBRVOTE} {list.L_VOTE})</h6>
123 <div class="progressbar-container" title="{list.result.PERCENT}%"> 119 <div class="progressbar-container" title="{list.result.PERCENT}%">
124 <div class="progressbar-infos">{list.result.PERCENT}%</div> 120 <div class="progressbar-infos">{list.result.PERCENT}%</div>
125 <div class="progressbar" style="width:{list.result.PERCENT}%"></div> 121 <div class="progressbar" style="width:{list.result.PERCENT}%"></div>
126 </div> 122 </div>
127 <br/>
128 </div> 123 </div>
129 # END list.result # 124 # END list.result #
130 <div> 125 <div>
131 <span class="smaller left">{list.VOTE} {list.L_VOTE}</span> 126 <span class="smaller left">{list.VOTE} {list.L_VOTE}</span>
132 <span class="smaller right">${LangLoader::get_message('on', 'main')} : {list.DATE} </span> 127 <span class="smaller right">${LangLoader::get_message('on', 'main')} : {list.DATE} </span>
133 &nbsp; 128 &nbsp;
134 </div> 129 </div>
135 </div> 130 </div>
136 </article> 131 </article>
137 # END list # 132 # END list #
138 </div> 133 </div>
139 <footer># IF C_PAGINATION #<span class="right"># INCLUDE PAGINATION #</span># ENDIF #</footer> 134 <footer># IF C_PAGINATION #<span class="right"># INCLUDE PAGINATION #</span># ENDIF #</footer>
140 </section> 135 </section>
141 # ENDIF # 136 # ENDIF #
Editor
Original Text
Changed Text
Recommended videos