-44 Removals
+24 Additions

Created by:phpboost

1# IF C_USER_NOTCONNECTED # 1# IF C_USER_NOTCONNECTED #
2 <script> 2<script>
3 <!-- 3<!--
4 function check_connect() 4 function check_connect()
5 { 5 {
6 if( document.getElementById('login').value == "" ) 6 if( document.getElementById('login').value == "" )
7 { 7 {
8 alert("{L_REQUIRE_PSEUDO}"); 8 alert("{L_REQUIRE_PSEUDO}");
9 return false; 9 return false;
10 } 10 }
11 if( document.getElementById('password').value == "" ) 11 if( document.getElementById('password').value == "" )
12 { 12 {
13 alert("{L_REQUIRE_PASSWORD}"); 13 alert("{L_REQUIRE_PASSWORD}");
14 return false; 14 return false;
15 } 15 }
16 } 16 }
17 --> 17-->
18 </script>
19# ENDIF #
20<script>
21 <!--
22 function open_submenu(myid)
23 {
24 jQuery('#' + myid).toggleClass('active');
25 }
26 -->
27</script> 18</script>
19# ENDIF #
28 20
29<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 #"> 21<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 #">
30 # IF C_USER_NOTCONNECTED # 22 # IF C_USER_NOTCONNECTED #
31 23
32 # IF C_VERTICAL # 24 # IF C_VERTICAL #
33 <div class="module-mini-top"> 25 <div class="module-mini-top">
34 <div class="sub-title">{@connection}</div> 26 <div class="sub-title">{@connection}</div>
35 </div> 27 </div>
36 <div class="module-mini-contents connect-contents"> 28 <div class="module-mini-contents connect-contents">
37 # ELSE # 29 # ELSE #
38 <div class="connect-contents"> 30 <div class="connect-contents">
39 <a href="" class="js-menu-button" onclick="open_submenu('module-connect');return false;"><i class="fa fa-sign-in"></i><span>{@connection}</span></a> 31 <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>
40 # ENDIF # 32 # ENDIF #
41 <div class="connect-containers"> 33 <div class="connect-containers">
42 <div class="connect-input-container# IF C_VERTICAL # vertical-fieldset# ELSE # horizontal-fieldset# ENDIF #" > 34 <div class="connect-input-container# IF C_VERTICAL # vertical-fieldset# ELSE # horizontal-fieldset# ENDIF #" >
43 <form action="{U_CONNECT}" method="post" onsubmit="return check_connect();" class="form-element"> 35 <form action="{U_CONNECT}" method="post" onsubmit="return check_connect();" class="form-element">
44 <label for="login"> 36 <label for="login">
45 <span>{@login}</span> 37 <span>{@login}</span>
46 <input type="text" id="login" name="login" title="{@login}" placeholder="{@login}"> 38 <input type="text" id="login" name="login" title="{@login.tooltip}" placeholder="{@login}">
47 </label> 39 </label>
48 <label for="password"> 40 <label for="password">
49 <span>{@password}</span> 41 <span>{@password}</span>
50 <input type="password" id="password" name="password" title="{@password}" placeholder="{@password}"> 42 <input type="password" id="password" name="password" title="{@password}" placeholder="{@password}">
51 </label> 43 </label>
52 <label for="autoconnect"> 44 <label for="autoconnect">
53 <span>{@autoconnect}</span> 45 <span>{@autoconnect}</span>
54 <input checked="checked" type="checkbox" id="autoconnect" name="autoconnect" title="{@autoconnect}"> 46 <input checked="checked" type="checkbox" id="autoconnect" name="autoconnect" title="{@autoconnect}">
55 </label> 47 </label>
56 <input type="hidden" name="redirect" value="{SITE_REWRITED_SCRIPT}"> 48 <input type="hidden" name="redirect" value="{SITE_REWRITED_SCRIPT}">
57 <input type="hidden" name="token" value="{TOKEN}"> 49 <input type="hidden" name="token" value="{TOKEN}">
58 <button type="submit" name="authenticate" value="internal" class="submit">{@connection}</button> 50 <button type="submit" name="authenticate" value="internal" class="submit">{@connection}</button>
59 </form> 51 </form>
60 </div> 52 </div>
61 53
62 # IF C_USER_REGISTER # 54 # IF C_USER_REGISTER #
63 <div class="connect-register-container"> 55 <div class="connect-register-container">
64 # IF C_VERTICAL # 56
65 <a class="connect-register small" href="${relative_url(UserUrlBuilder::registration())}">
66 <i class="fa fa-ticket"></i><span>{@register}</span>
67 </a>
68 # ELSE #
69 <form action="${relative_url(UserUrlBuilder::registration())}" method="post"> 57 <form action="${relative_url(UserUrlBuilder::registration())}" method="post">
70 <button type="submit" name="register" value="true" class="submit">{@register}</button> 58 <button type="submit" name="register" value="true" class="submit">{@register}</button>
71 <input type="hidden" name="token" value="{TOKEN}"> 59 <input type="hidden" name="token" value="{TOKEN}">
72 </form> 60 </form>
73 # ENDIF # 61 # START external_auth #
74 # IF C_FB_AUTH_ENABLED # 62 <a class="{external_auth.CSS_CLASS}" href="{external_auth.U_CONNECT}" title="{external_auth.NAME}">{external_auth.IMAGE_HTML}</a>
75 <a class="social-connect fb" href="${relative_url(UserUrlBuilder::connect('fb'))}"> 63 # END external_auth #
76 <i class="fa fa-facebook"></i><span>${LangLoader::get_message('facebook-connect', 'user-common')}</span>
77 </a>
78 # ENDIF #
79 # IF C_GOOGLE_AUTH_ENABLED #
80 <a class="social-connect google" href="${relative_url(UserUrlBuilder::connect('google'))}">
81 <i class="fa fa-google-plus"></i><span>${LangLoader::get_message('google-connect', 'user-common')}</span>
82 </a>
83 # ENDIF #
84 </div> 64 </div>
85 # ENDIF # 65 # ENDIF #
86 <div class="forget-pass-container"> 66 <div class="forget-pass-container">
87 <a class="forgot-pass small" href="${relative_url(UserUrlBuilder::forget_password())}"> 67 <a class="forgot-pass small" href="${relative_url(UserUrlBuilder::forget_password())}">
88 <i class="fa fa-question-circle"></i><span>${LangLoader::get_message('forget-password', 'user-common')}</span> 68 <i class="fa fa-question-circle" aria-hidden="true"></i><span>${LangLoader::get_message('forget-password', 'user-common')}</span>
89 </a> 69 </a>
90 </div> 70 </div>
91 </div> 71 </div>
92 </div> 72 </div>
93 # IF C_VERTICAL # 73 # IF C_VERTICAL #
94 <div class="module-mini-bottom"> 74 <div class="module-mini-bottom">
95 </div> 75 </div>
96 # ENDIF # 76 # ENDIF #
97 77
98 # ELSE # <!-- User Connected --> 78 # ELSE # <!-- User Connected -->
99 79
100 # IF C_VERTICAL # 80 # IF C_VERTICAL #
101 <div class="module-mini-top"> 81 <div class="module-mini-top">
102 <div class="sub-title">{L_PRIVATE_PROFIL}</div> 82 <div class="sub-title">{L_PRIVATE_PROFIL}</div>
103 </div> 83 </div>
104 <div class="module-mini-contents connect-contents"> 84 <div class="module-mini-contents connect-contents">
105 # ELSE # 85 # ELSE #
106 <div class="connect-contents"> 86 <div class="connect-contents">
107 <a href="" class="js-menu-button" onclick="open_submenu('module-connect');return false;" title="{@dashboard}"> 87 <a href="" class="js-menu-button" onclick="open_submenu('module-connect', 'active-connect');return false;" title="{@dashboard}">
108 <i class="fa fa-bars # IF NUMBER_TOTAL_ALERT # blink alert# ENDIF #"></i><span>{L_PRIVATE_PROFIL}</span> 88 <i class="fa fa-bars # IF NUMBER_TOTAL_ALERT # blink alert# ENDIF #" aria-hidden="true"></i><span>{L_PRIVATE_PROFIL}</span>
109 </a> 89 </a>
110 # ENDIF # 90 # ENDIF #
111 <ul class="connect-elements-container"> 91 <ul class="connect-elements-container">
112 <li class="connect-element connect-profil"> 92 <li class="connect-element connect-profil">
113 <a href="${relative_url(UserUrlBuilder::home_profile())}" class="small"> 93 <a href="${relative_url(UserUrlBuilder::home_profile())}" class="small">
114 <i class="fa fa-profil"></i><span>{@dashboard}</span> 94 <i class="fa fa-profil" aria-hidden="true"></i><span class="pbt-small-screen">{@dashboard}</span>
115 </a> 95 </a>
116 </li> 96 </li>
117 <li class="connect-element connect-pm# IF C_HAS_PM # connect-event# ENDIF #"> 97 <li class="connect-element connect-pm# IF C_HAS_PM # connect-event# ENDIF #">
118 <a href="{U_USER_PM}" class="small"> 98 <a href="{U_USER_PM}" class="small">
119 <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 # 99 <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 #
120 </a> 100 </a>
121 </li> 101 </li>
122 # IF C_ADMIN_AUTH # 102 # IF C_ADMIN_AUTH #
123 <li class="connect-element connect-admin# IF C_UNREAD_ALERT # connect-event# ENDIF #"> 103 <li class="connect-element connect-admin# IF C_UNREAD_ALERT # connect-event# ENDIF #">
124 <a href="${relative_url(UserUrlBuilder::administration())}" class="small"> 104 <a href="${relative_url(UserUrlBuilder::administration())}" class="small">
125 <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 # 105 <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 #
126 </a> 106 </a>
127 </li> 107 </li>
128 # ENDIF # 108 # ENDIF #
129 # IF C_MODERATOR_AUTH # 109 # IF C_MODERATOR_AUTH #
130 <li class="connect-element connect-modo"> 110 <li class="connect-element connect-modo">
131 <a href="${relative_url(UserUrlBuilder::moderation_panel())}" class="small"> 111 <a href="${relative_url(UserUrlBuilder::moderation_panel())}" class="small">
132 <i class="fa fa-legal"></i><span>{L_MODO_PANEL}</span> 112 <i class="fa fa-legal" aria-hidden="true"></i><span>{L_MODO_PANEL}</span>
133 </a> 113 </a>
134 </li> 114 </li>
135 # ENDIF # 115 # ENDIF #
136 <li class="connect-element connect-contribution# IF C_UNREAD_CONTRIBUTION # connect-event# ENDIF #"> 116 <li class="connect-element connect-contribution# IF C_UNREAD_CONTRIBUTION # connect-event# ENDIF #">
137 <a href="${relative_url(UserUrlBuilder::contribution_panel())}" class="small"> 117 <a href="${relative_url(UserUrlBuilder::contribution_panel())}" class="small">
138 <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 # 118 <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 #
139 </a> 119 </a>
140 </li> 120 </li>
141 <li class="connect-element connect-disconnect"> 121 <li class="connect-element connect-disconnect">
142 <a href="${relative_url(UserUrlBuilder::disconnect())}" class="small"> 122 <a href="${relative_url(UserUrlBuilder::disconnect())}" class="small">
143 <i class="fa fa-sign-out"></i><span>{@disconnect}</span> 123 <i class="fa fa-sign-out" aria-hidden="true"></i><span>{@disconnect}</span>
144 </a> 124 </a>
145 </li> 125 </li>
146 </ul> 126 </ul>
147 </div> 127 </div>
148 # IF C_VERTICAL # 128 # IF C_VERTICAL #
149 <div class="module-mini-bottom"> 129 <div class="module-mini-bottom">
150 </div> 130 </div>
151 # ENDIF # 131 # ENDIF #
152 # ENDIF # 132 # ENDIF #
153</div> 133</div>
Editor
Original Text
Changed Text
Recommended videos