-81 Removals
+76 Additions

Created by:phpboost

# IF C_POLL_MAIN # # IF C_POLL_MAIN #
<section id="module-poll-main"> <section id="module-poll-main">
<header> <header>
<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> <div class="cat-actions">
# 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 #
</div>
<h1>{L_POLL}</h1>
</header> </header>
<div class="content center"> <div class="content center">
{L_POLL_MAIN} {L_POLL_MAIN}
# START list # # START list #
<div class="poll-question-container"> <div class="poll-question-container">
<a id="poll-question-{list.U_POLL_ID}" class="poll-question" href="{PATH_TO_ROOT}/poll/poll{list.U_POLL_ID}"> <a id="poll-question-{list.U_POLL_ID}" class="poll-question" href="{PATH_TO_ROOT}/poll/poll{list.U_POLL_ID}">
{list.QUESTION}<br /> <span class="infos-options">{list.QUESTION}</span>
<img src="{PATH_TO_ROOT}/poll/poll.png" alt="{list.QUESTION}" title="{list.QUESTION}"/> <img src="{PATH_TO_ROOT}/poll/poll.png" alt="{list.QUESTION}" title="{list.QUESTION}"/>
</a> </a>
</div> </div>
# END list # # END list #
<p class="center">{U_ARCHIVE}</p> <p class="center">{U_ARCHIVE}</p>
</div> </div>
<footer></footer> <footer></footer>
</section> </section>
# ENDIF # # ENDIF #
# IF C_POLL_VIEW # # IF C_POLL_VIEW #
<form method="post" action="{PATH_TO_ROOT}/poll/poll{U_POLL_ACTION}"> <form method="post" action="{PATH_TO_ROOT}/poll/poll{U_POLL_ACTION}">
<section id="module-poll"> <section id="module-poll">
<header> <header>
<h1>{L_MINI_POLL}</h1> <div class="cat-actions">{L_MINI_POLL}</div>
<h1>{QUESTION}</h1>
</header> </header>
<div class="content">
# INCLUDE message_helper # # INCLUDE message_helper #
<article id="article-poll-{IDPOLL}" class="article-poll block">
<header> <div id="article-poll-{IDPOLL}" class="article-poll">
<h2> # IF C_IS_ADMIN #
{QUESTION} <span class="actions">
# IF C_IS_ADMIN # <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 class="actions"> <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>
<a href="{U_EDIT}" title="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit"></i></a> </span>
<a href="{U_DEL}" title="${LangLoader::get_message('delete', 'common')}" data-confirmation="delete-element"><i class="fa fa-delete"></i></a> # ENDIF #
</span> <div class="content">
# ENDIF # # IF C_POLL_QUESTION #
</h2> <div>
</header> # START radio #
<div class="content"> <p class="poll-question-select"><label><input type="{radio.TYPE}" name="radio" value="{radio.NAME}"> {radio.ANSWERS}</label></p>
# IF C_POLL_QUESTION # # END radio #
<div>
# START radio # # START checkbox #
<p class="poll-question-select"><label><input type="{radio.TYPE}" name="radio" value="{radio.NAME}"> {radio.ANSWERS}</label></p> <p class="poll-question-select"><label><input type="{checkbox.TYPE}" name="{checkbox.NAME}" value="{checkbox.NAME}"> {checkbox.ANSWERS}</label></p>
# END radio # # END checkbox #
# START checkbox # <p class="center">
<p class="poll-question-select"><label><input type="{checkbox.TYPE}" name="{checkbox.NAME}" value="{checkbox.NAME}"> {checkbox.ANSWERS}</label></p> <button name="valid_poll" type="submit" value="{L_VOTE}">{L_VOTE}</button>
# END checkbox # <input type="hidden" name="token" value="{TOKEN}">
</p>
<p class="center"> <p class="center">
<button name="valid_poll" type="submit" value="{L_VOTE}">{L_VOTE}</button> <a class="small" href="{PATH_TO_ROOT}/poll/poll{U_POLL_RESULT}">{L_RESULT}</a>
<input type="hidden" name="token" value="{TOKEN}"> </p>
</p> </div>
<p class="center"> # ENDIF #
<a class="small" href="{PATH_TO_ROOT}/poll/poll{U_POLL_RESULT}">{L_RESULT}</a>
</p> # IF C_POLL_RESULTS #
</div> # IF C_DISPLAY_RESULTS #
# ENDIF # # START result #
<div>
# IF C_POLL_RESULTS # <h6>{result.ANSWERS} - ({result.NBRVOTE} {L_VOTE})</h6>
# IF C_DISPLAY_RESULTS # <div class="progressbar-container" title="{result.PERCENT}%">
# START result # <div class="progressbar-infos">{result.PERCENT}%</div>
<div> <div class="progressbar" style="width:{result.PERCENT}%;"></div>
<h6>{result.ANSWERS} - ({result.NBRVOTE} {L_VOTE})</h6>
<div class="progressbar-container" title="{result.PERCENT}%">
<div class="progressbar-infos">{result.PERCENT}%</div>
<div class="progressbar" style="width:{result.PERCENT}%;"></div>
</div>
<br/>
</div> </div>
# END result # </div>
<div> # END result #
<span class="smaller left">{VOTES} {L_VOTE}</span> <div>
<span class="smaller right">${LangLoader::get_message('on', 'main')} : {DATE} </span> <span class="smaller left">{VOTES} {L_VOTE}</span>
&nbsp; <span class="smaller right">${LangLoader::get_message('on', 'main')} : {DATE} </span>
</div> &nbsp;
# ELSE # </div>
<div class="notice"># IF C_NO_VOTE #{L_NO_VOTE}# ELSE #{L_RESULTS_NOT_DISPLAYED_YET}# ENDIF #</div> # ELSE #
# ENDIF # <div class="message-helper notice"># IF C_NO_VOTE #{L_NO_VOTE}# ELSE #{L_RESULTS_NOT_DISPLAYED_YET}# ENDIF #</div>
# ENDIF # # ENDIF #
</div> # ENDIF #
<footer></footer> </div>
</article> <footer></footer>
</div> </div>
<footer></footer> <footer></footer>
</section> </section>
</form> </form>
# ENDIF # # ENDIF #
# IF C_POLL_ARCHIVES # # IF C_POLL_ARCHIVES #
<section id="module-poll-archives"> <section id="module-poll-archives">
<header> <header>
<h1>{L_ARCHIVE}</h1> <h1>{L_ARCHIVE}</h1>
# IF C_PAGINATION #<span class="right"># INCLUDE PAGINATION #</span># ENDIF # # IF C_PAGINATION #<span class="right"># INCLUDE PAGINATION #</span># ENDIF #
</header> </header>
<div class="content"> <div class="content">
# START list # # START list #
<article id="article-poll-{list.ID}" class="article-poll article-several block"> <article id="article-poll-{list.ID}" class="article-poll article-several block">
<header> <header>
<h2> <h2>
{list.QUESTION} {list.QUESTION}
<span class="actions"> <span class="actions">
# IF C_IS_ADMIN # # IF C_IS_ADMIN #
<a href="{list.U_EDIT}" title="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit"></i></a> <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>
<a href="{list.U_DEL}" title="${LangLoader::get_message('delete', 'common')}" data-confirmation="delete-element"><i class="fa fa-delete"></i></a> <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>
# ENDIF # # ENDIF #
</span> </span>
</h2> </h2>
</header> </header>
<div class="content"> <div class="content">
# START list.result # # START list.result #
<div> <div>
<h6>{list.result.ANSWERS} - ({list.result.NBRVOTE} {list.L_VOTE})</h6> <h6>{list.result.ANSWERS} - ({list.result.NBRVOTE} {list.L_VOTE})</h6>
<div class="progressbar-container" title="{list.result.PERCENT}%"> <div class="progressbar-container" title="{list.result.PERCENT}%">
<div class="progressbar-infos">{list.result.PERCENT}%</div> <div class="progressbar-infos">{list.result.PERCENT}%</div>
<div class="progressbar" style="width:{list.result.PERCENT}%"></div> <div class="progressbar" style="width:{list.result.PERCENT}%"></div>
</div> </div>
<br/>
</div> </div>
# END list.result # # END list.result #
<div> <div>
<span class="smaller left">{list.VOTE} {list.L_VOTE}</span> <span class="smaller left">{list.VOTE} {list.L_VOTE}</span>
<span class="smaller right">${LangLoader::get_message('on', 'main')} : {list.DATE} </span> <span class="smaller right">${LangLoader::get_message('on', 'main')} : {list.DATE} </span>
&nbsp; &nbsp;
</div> </div>
</div> </div>
</article> </article>
# END list # # END list #
</div> </div>
<footer># IF C_PAGINATION #<span class="right"># INCLUDE PAGINATION #</span># ENDIF #</footer> <footer># IF C_PAGINATION #<span class="right"># INCLUDE PAGINATION #</span># ENDIF #</footer>
</section> </section>
# ENDIF # # ENDIF #
Editor
Original Text
Changed Text
Recommended videos