-44 Removals
+24 Additions
# IF C_USER_NOTCONNECTED # # IF C_USER_NOTCONNECTED #
<script> <script>
<!-- <!--
function check_connect() function check_connect()
{ {
if( document.getElementById('login').value == "" ) if( document.getElementById('login').value == "" )
{ {
alert("{L_REQUIRE_PSEUDO}"); alert("{L_REQUIRE_PSEUDO}");
return false; return false;
} }
if( document.getElementById('password').value == "" ) if( document.getElementById('password').value == "" )
{ {
alert("{L_REQUIRE_PASSWORD}"); alert("{L_REQUIRE_PASSWORD}");
return false; return false;
} }
} }
--> -->
</script>
# ENDIF #
<script>
<!--
function open_submenu(myid)
{
jQuery('#' + myid).toggleClass('active');
}
-->
</script> </script>
# ENDIF #
<div id="module-connect" class="connect-menu# IF C_USER_NOTCONNECTED # not-connected# ELSE # connected# ENDIF## IF C_VERTICAL # module-mini-container vertical# ELSE # horizontal# ENDIF #"> <div id="module-connect" class="connect-menu# IF C_USER_NOTCONNECTED # not-connected# ELSE # connected# ENDIF## IF C_VERTICAL # module-mini-container vertical# ELSE # horizontal# ENDIF #">
# IF C_USER_NOTCONNECTED # # IF C_USER_NOTCONNECTED #
# IF C_VERTICAL # # IF C_VERTICAL #
<div class="module-mini-top"> <div class="module-mini-top">
<div class="sub-title">{@connection}</div> <div class="sub-title">{@connection}</div>
</div> </div>
<div class="module-mini-contents connect-contents"> <div class="module-mini-contents connect-contents">
# ELSE # # ELSE #
<div class="connect-contents"> <div class="connect-contents">
<a href="" class="js-menu-button" onclick="open_submenu('module-connect');return false;"><i class="fa fa-sign-in"></i><span>{@connection}</span></a> <a href="" class="js-menu-button" onclick="open_submenu('module-connect', 'active-connect');return false;"><i class="fa fa-sign-in" aria-hidden="true"></i><span>{@connection}</span></a>
# ENDIF # # ENDIF #
<div class="connect-containers"> <div class="connect-containers">
<div class="connect-input-container# IF C_VERTICAL # vertical-fieldset# ELSE # horizontal-fieldset# ENDIF #" > <div class="connect-input-container# IF C_VERTICAL # vertical-fieldset# ELSE # horizontal-fieldset# ENDIF #" >
<form action="{U_CONNECT}" method="post" onsubmit="return check_connect();" class="form-element"> <form action="{U_CONNECT}" method="post" onsubmit="return check_connect();" class="form-element">
<label for="login"> <label for="login">
<span>{@login}</span> <span>{@login}</span>
<input type="text" id="login" name="login" title="{@login}" placeholder="{@login}"> <input type="text" id="login" name="login" title="{@login.tooltip}" placeholder="{@login}">
</label> </label>
<label for="password"> <label for="password">
<span>{@password}</span> <span>{@password}</span>
<input type="password" id="password" name="password" title="{@password}" placeholder="{@password}"> <input type="password" id="password" name="password" title="{@password}" placeholder="{@password}">
</label> </label>
<label for="autoconnect"> <label for="autoconnect">
<span>{@autoconnect}</span> <span>{@autoconnect}</span>
<input checked="checked" type="checkbox" id="autoconnect" name="autoconnect" title="{@autoconnect}"> <input checked="checked" type="checkbox" id="autoconnect" name="autoconnect" title="{@autoconnect}">
</label> </label>
<input type="hidden" name="redirect" value="{SITE_REWRITED_SCRIPT}"> <input type="hidden" name="redirect" value="{SITE_REWRITED_SCRIPT}">
<input type="hidden" name="token" value="{TOKEN}"> <input type="hidden" name="token" value="{TOKEN}">
<button type="submit" name="authenticate" value="internal" class="submit">{@connection}</button> <button type="submit" name="authenticate" value="internal" class="submit">{@connection}</button>
</form> </form>
</div> </div>
# IF C_USER_REGISTER # # IF C_USER_REGISTER #
<div class="connect-register-container"> <div class="connect-register-container">
# IF C_VERTICAL #
<a class="connect-register small" href="${relative_url(UserUrlBuilder::registration())}">
<i class="fa fa-ticket"></i><span>{@register}</span>
</a>
# ELSE #
<form action="${relative_url(UserUrlBuilder::registration())}" method="post"> <form action="${relative_url(UserUrlBuilder::registration())}" method="post">
<button type="submit" name="register" value="true" class="submit">{@register}</button> <button type="submit" name="register" value="true" class="submit">{@register}</button>
<input type="hidden" name="token" value="{TOKEN}"> <input type="hidden" name="token" value="{TOKEN}">
</form> </form>
# ENDIF # # START external_auth #
# IF C_FB_AUTH_ENABLED # <a class="{external_auth.CSS_CLASS}" href="{external_auth.U_CONNECT}" title="{external_auth.NAME}">{external_auth.IMAGE_HTML}</a>
<a class="social-connect fb" href="${relative_url(UserUrlBuilder::connect('fb'))}"> # END external_auth #
<i class="fa fa-facebook"></i><span>${LangLoader::get_message('facebook-connect', 'user-common')}</span>
</a>
# ENDIF #
# IF C_GOOGLE_AUTH_ENABLED #
<a class="social-connect google" href="${relative_url(UserUrlBuilder::connect('google'))}">
<i class="fa fa-google-plus"></i><span>${LangLoader::get_message('google-connect', 'user-common')}</span>
</a>
# ENDIF #
</div> </div>
# ENDIF # # ENDIF #
<div class="forget-pass-container"> <div class="forget-pass-container">
<a class="forgot-pass small" href="${relative_url(UserUrlBuilder::forget_password())}"> <a class="forgot-pass small" href="${relative_url(UserUrlBuilder::forget_password())}">
<i class="fa fa-question-circle"></i><span>${LangLoader::get_message('forget-password', 'user-common')}</span> <i class="fa fa-question-circle" aria-hidden="true"></i><span>${LangLoader::get_message('forget-password', 'user-common')}</span>
</a> </a>
</div> </div>
</div> </div>
</div> </div>
# IF C_VERTICAL # # IF C_VERTICAL #
<div class="module-mini-bottom"> <div class="module-mini-bottom">
</div> </div>
# ENDIF # # ENDIF #
# ELSE # <!-- User Connected --> # ELSE # <!-- User Connected -->
# IF C_VERTICAL # # IF C_VERTICAL #
<div class="module-mini-top"> <div class="module-mini-top">
<div class="sub-title">{L_PRIVATE_PROFIL}</div> <div class="sub-title">{L_PRIVATE_PROFIL}</div>
</div> </div>
<div class="module-mini-contents connect-contents"> <div class="module-mini-contents connect-contents">
# ELSE # # ELSE #
<div class="connect-contents"> <div class="connect-contents">
<a href="" class="js-menu-button" onclick="open_submenu('module-connect');return false;" title="{@dashboard}"> <a href="" class="js-menu-button" onclick="open_submenu('module-connect', 'active-connect');return false;" title="{@dashboard}">
<i class="fa fa-bars # IF NUMBER_TOTAL_ALERT # blink alert# ENDIF #"></i><span>{L_PRIVATE_PROFIL}</span> <i class="fa fa-bars # IF NUMBER_TOTAL_ALERT # blink alert# ENDIF #" aria-hidden="true"></i><span>{L_PRIVATE_PROFIL}</span>
</a> </a>
# ENDIF # # ENDIF #
<ul class="connect-elements-container"> <ul class="connect-elements-container">
<li class="connect-element connect-profil"> <li class="connect-element connect-profil">
<a href="${relative_url(UserUrlBuilder::home_profile())}" class="small"> <a href="${relative_url(UserUrlBuilder::home_profile())}" class="small">
<i class="fa fa-profil"></i><span>{@dashboard}</span> <i class="fa fa-profil" aria-hidden="true"></i><span class="pbt-small-screen">{@dashboard}</span>
</a> </a>
</li> </li>
<li class="connect-element connect-pm# IF C_HAS_PM # connect-event# ENDIF #"> <li class="connect-element connect-pm# IF C_HAS_PM # connect-event# ENDIF #">
<a href="{U_USER_PM}" class="small"> <a href="{U_USER_PM}" class="small">
<i class="fa fa-envelope# IF C_HAS_PM # blink# ENDIF #"></i><span>{L_PM_PANEL}</span># IF C_HAS_PM #<span class="blink">({NUMBER_PM})</span># ENDIF # <i class="fa fa-envelope# IF C_HAS_PM # blink# ENDIF #" aria-hidden="true"></i><span>{L_PM_PANEL}</span># IF C_HAS_PM #<span class="blink">({NUMBER_PM})</span># ENDIF #
</a> </a>
</li> </li>
# IF C_ADMIN_AUTH # # IF C_ADMIN_AUTH #
<li class="connect-element connect-admin# IF C_UNREAD_ALERT # connect-event# ENDIF #"> <li class="connect-element connect-admin# IF C_UNREAD_ALERT # connect-event# ENDIF #">
<a href="${relative_url(UserUrlBuilder::administration())}" class="small"> <a href="${relative_url(UserUrlBuilder::administration())}" class="small">
<i class="fa fa-wrench# IF C_UNREAD_ALERT # blink# ENDIF #"></i><span>{L_ADMIN_PANEL}</span># IF C_UNREAD_ALERT #<span class="blink">({NUMBER_UNREAD_ALERTS})</span># ENDIF # <i class="fa fa-wrench# IF C_UNREAD_ALERT # blink# ENDIF #" aria-hidden="true"></i><span>{L_ADMIN_PANEL}</span># IF C_UNREAD_ALERT #<span class="blink">({NUMBER_UNREAD_ALERTS})</span># ENDIF #
</a> </a>
</li> </li>
# ENDIF # # ENDIF #
# IF C_MODERATOR_AUTH # # IF C_MODERATOR_AUTH #
<li class="connect-element connect-modo"> <li class="connect-element connect-modo">
<a href="${relative_url(UserUrlBuilder::moderation_panel())}" class="small"> <a href="${relative_url(UserUrlBuilder::moderation_panel())}" class="small">
<i class="fa fa-legal"></i><span>{L_MODO_PANEL}</span> <i class="fa fa-legal" aria-hidden="true"></i><span>{L_MODO_PANEL}</span>
</a> </a>
</li> </li>
# ENDIF # # ENDIF #
<li class="connect-element connect-contribution# IF C_UNREAD_CONTRIBUTION # connect-event# ENDIF #"> <li class="connect-element connect-contribution# IF C_UNREAD_CONTRIBUTION # connect-event# ENDIF #">
<a href="${relative_url(UserUrlBuilder::contribution_panel())}" class="small"> <a href="${relative_url(UserUrlBuilder::contribution_panel())}" class="small">
<i class="fa fa-file-text# IF C_UNREAD_CONTRIBUTION # blink# ENDIF #"></i><span>{L_CONTRIBUTION_PANEL}</span># IF C_UNREAD_CONTRIBUTION #<span class="blink">({NUMBER_UNREAD_CONTRIBUTIONS})</span># ENDIF # <i class="fa fa-file-alt# IF C_UNREAD_CONTRIBUTION # blink# ENDIF #" aria-hidden="true"></i><span>{L_CONTRIBUTION_PANEL}</span># IF C_UNREAD_CONTRIBUTION #<span class="blink">({NUMBER_UNREAD_CONTRIBUTIONS})</span># ENDIF #
</a> </a>
</li> </li>
<li class="connect-element connect-disconnect"> <li class="connect-element connect-disconnect">
<a href="${relative_url(UserUrlBuilder::disconnect())}" class="small"> <a href="${relative_url(UserUrlBuilder::disconnect())}" class="small">
<i class="fa fa-sign-out"></i><span>{@disconnect}</span> <i class="fa fa-sign-out" aria-hidden="true"></i><span>{@disconnect}</span>
</a> </a>
</li> </li>
</ul> </ul>
</div> </div>
# IF C_VERTICAL # # IF C_VERTICAL #
<div class="module-mini-bottom"> <div class="module-mini-bottom">
</div> </div>
# ENDIF # # ENDIF #
# ENDIF # # ENDIF #
</div> </div>
Editor
Original Text
Changed Text