40 |
40 |
<?php
|
41 |
41 |
|
42 |
42 |
$BT_REGISTER="REGISTER";
|
43 |
|
$BT_LOGIN="LOGIN | ";
|
44 |
|
|
|
43 |
$BT_LOGIN="SIGN IN ";
|
|
44 |
$BT_SEPERATOR="|";
|
|
45 |
|
45 |
46 |
if($params->get('enabled_login_tab', 1)){
|
46 |
47 |
?>
|
47 |
48 |
|
48 |
49 |
|
49 |
|
<span id="btl-panel-login" class="<?php echo $effect;?>"><?php echo JText::_($BT_LOGIN);?></span>
|
|
50 |
<span style="color: rgb(255, 255, 255); background-color: rgb(45, 114, 214); border: medium none rgb(255, 255, 255);" id="btl-panel-login" class="<?php echo $effect;?>">
|
|
51 |
<a class="loginLink"> <?php echo JText::_($BT_LOGIN);?></span></a>
|
|
52 |
<?php echo JText::_($BT_SEPERATOR);?>
|
50 |
53 |
<?php }?>
|
51 |
54 |
<!-- Registration button -->
|
52 |
55 |
<?php
|
|
56 |
//$enabledRegistration=false;
|
53 |
57 |
if($enabledRegistration && $params->get('enabled_registration_tab')){
|
54 |
58 |
$option = JRequest::getCmd('option');
|
55 |
59 |
$task = JRequest::getCmd('task');
|
56 |
60 |
if($option!='com_user' && $task != 'register' ){
|
57 |
61 |
?>
|
58 |
|
<span id="btl-panel-registration" class="<?php echo $effect;?>"><?php echo JText::_($BT_REGISTER);?></span>
|
|
62 |
<span style="color: rgb(255, 255, 255); background-color: rgb(45, 114, 214); border: medium none rgb(255, 255, 255);" id="btl-panel-registration"
|
|
63 |
class="<?php echo $effect;?>">
|
|
64 |
<a class="loginLink"> <?php echo JText::_($BT_REGISTER);?> </a></span>
|
59 |
65 |
<?php }
|
60 |
66 |
} ?>
|
61 |
67 |
|
... | ... | |
63 |
69 |
<?php endif; ?>
|
64 |
70 |
</div>
|
65 |
71 |
<!-- content dropdown/modal box -->
|
|
72 |
|
|
73 |
|
66 |
74 |
|
67 |
|
|
|
75 |
|
|
76 |
|
|
77 |
|
68 |
78 |
<div id="btl-content" >
|
69 |
79 |
|
70 |
80 |
<?php if($type == 'logout') { ?>
|
... | ... | |
75 |
85 |
<?php echo $loggedInHtml; ?>
|
76 |
86 |
</div>
|
77 |
87 |
<?php endif; ?>
|
78 |
|
|
79 |
|
<?php
|
80 |
|
//if($showLogout == 1):
|
81 |
|
?>
|
82 |
|
|
83 |
|
<!-- Hide logout button and replace it with option in menu-->
|
84 |
|
|
85 |
|
<!-- <div class="bt-button-submit">
|
86 |
|
<form action="<?php echo JRoute::_('index.php', true, $params->get('usesecure')); ?>" method="post"
|
87 |
|
name="logoutForm" style="margin-left: 30px; margin-top: 10px">
|
88 |
|
|
89 |
|
|
90 |
|
<button name="Submit" class="uk-button uk-button-primary"
|
91 |
|
style= "height: 40px; width: 120px; text-transform: none ! important; margin-right: 70px; font-family: Century Gothic!
|
92 |
|
important; font-size: 15px; background-color:none" onclick="document.logoutForm.submit();">
|
93 |
|
|
94 |
|
-->
|
95 |
|
<?php
|
96 |
|
// echo JText::_('JLOGOUT');
|
97 |
|
?>
|
98 |
|
<!--
|
99 |
|
</button>
|
100 |
|
<input type="hidden" name="option" value="com_users" />
|
101 |
|
<input type="hidden" name="task" value="user.logout" />
|
102 |
|
<input type="hidden" name="return" value="<?php echo $return; ?>" />
|
103 |
|
<?php echo JHtml::_('form.token'); ?>
|
104 |
|
|
105 |
|
</form>
|
106 |
|
|
107 |
|
|
108 |
|
</div>-->
|
109 |
|
<?php
|
110 |
|
//endif;
|
111 |
|
?>
|
|
88 |
|
|
89 |
|
112 |
90 |
</div>
|
113 |
91 |
<?php }else{ ?>
|
114 |
92 |
<!-- Form login -->
|
115 |
|
|
116 |
|
|
|
93 |
|
117 |
94 |
<div id="btl-content-login" class="btl-content-block">
|
118 |
|
<div id="main-block">
|
|
95 |
<div id="main-block">
|
119 |
96 |
|
120 |
97 |
<?php if(JPluginHelper::isEnabled('authentication', 'openid')) : ?>
|
121 |
98 |
<?php JHTML::_('script', 'openid.js'); ?>
|
... | ... | |
128 |
105 |
<div id="btl-login-in-process">
|
129 |
106 |
</div>
|
130 |
107 |
<div id= "btl-login-title">
|
131 |
|
<h3 class="omb_authTitle">
|
132 |
|
<?php echo JText::_('LOGIN_TO_YOUR_ACCOUNT') ?>
|
|
108 |
<p class="omb_authTitle">
|
|
109 |
<?php echo JText::_('LOGIN TO YOUR ACCOUNT') ?>
|
133 |
110 |
|
134 |
111 |
</h3>
|
135 |
112 |
|
... | ... | |
144 |
121 |
|
145 |
122 |
|
146 |
123 |
<div class="btl-error" id="btl-login-error"></div>
|
147 |
|
|
148 |
|
|
149 |
|
<div class="btl-field" >
|
|
124 |
<div class="btl-field" >
|
150 |
125 |
<div class="btl-label"><?php echo JText::_('Username') ?></div>
|
151 |
126 |
<div class="uk-form-large uk-form-width-small">
|
152 |
127 |
<input id="btl-input-username" type="text" name="username" />
|
... | ... | |
202 |
177 |
</ul>
|
203 |
178 |
|
204 |
179 |
</div>
|
205 |
|
|
|
180 |
|
206 |
181 |
<div id="btl-social">
|
207 |
|
|
208 |
|
|
209 |
|
|
210 |
|
<div class="uk-grid ">
|
211 |
|
<!--edu-orchid-github-g+-social alla ( t-f-l-windows_)-->
|
212 |
|
|
213 |
|
<hr></div>
|
214 |
|
|
215 |
|
|
216 |
|
<!-- <img src="/images/site_images/or.png" alt="or" style="margin-top: 40px; width:260px;"/> -->
|
|
182 |
<div id="socialMsg">
|
|
183 |
<?php echo JText::_('Or use Your Social Accounts:'); ?>
|
|
184 |
</div>
|
217 |
185 |
|
|
186 |
|
218 |
187 |
<div id="btl-slogin-buttons_group" >
|
219 |
188 |
<ul id='btl-horizontal-list'>
|
220 |
189 |
<li><a href="https://new.openaire.eu/index.php?option=com_sso" title="Edugain" rel="nofollow"><img src="/images/site_images/Edugain_001.png" width="45px" /></a></li>
|
... | ... | |
240 |
209 |
|
241 |
210 |
<div id="register-link">
|
242 |
211 |
|
243 |
|
<?php echo (JText::_('Don\'t have an account?'));
|
|
212 |
<?php
|
|
213 |
// echo (JText::_('Don\'t have an account?'));
|
244 |
214 |
?>
|
245 |
215 |
<div>
|
246 |
|
<a href="index.php?option=com_users&view=registration" title="Register Now!"> Register Now!</a>
|
|
216 |
|
|
217 |
<!-- This is an anchor toggling the modal -->
|
|
218 |
<!-- <a href="#registration-id" data-uk-modal title="Register Now!" >Register Now! </a>
|
|
219 |
-->
|
|
220 |
<!--
|
|
221 |
<a href="index.php?option=com_users&view=registration" title="Register Now!"> Register Now!</a>-->
|
|
222 |
|
247 |
223 |
</div>
|
248 |
224 |
</div>
|
249 |
225 |
|
250 |
|
<div class="spacer"></div>
|
|
226 |
|
251 |
227 |
|
252 |
228 |
<!-- if integrated with one component -->
|
253 |
229 |
<?php }else{ ?>
|
... | ... | |
258 |
234 |
|
259 |
235 |
<!--for <div id="main-block"> -->
|
260 |
236 |
</div>
|
261 |
|
</div>
|
|
237 |
</div>
|
262 |
238 |
|
263 |
|
<?php if($enabledRegistration ){ ?>
|
|
239 |
<?php
|
|
240 |
|
|
241 |
|
|
242 |
if($enabledRegistration ){ ?>
|
264 |
243 |
<div id="btl-content-registration" class="btl-content-block" >
|
265 |
244 |
<!-- if not integrated any component -->
|
266 |
245 |
<?php if($integrated_com==''){?>
|
|
246 |
<p class="omb_authTitle">
|
|
247 |
<?php echo JText::_('CREATE AN ACCOUNT') ?>
|
|
248 |
|
|
249 |
</p>
|
|
250 |
<div id="register-link">
|
|
251 |
|
|
252 |
<?php echo (JText::_('Don\'t have an account yet ?'));
|
|
253 |
?>
|
|
254 |
<div>
|
|
255 |
|
|
256 |
<!-- This is an anchor toggling the modal -->
|
|
257 |
<a href="#btl-content-registration-modal" data-uk-modal title="Register Now!" > Register Now ! </a>
|
|
258 |
|
|
259 |
|
|
260 |
</div>
|
|
261 |
</div>
|
|
262 |
|
|
263 |
|
|
264 |
<div id="btl-social" >
|
|
265 |
<div id="socialMsg">
|
|
266 |
Or use Your Social Accounts:
|
|
267 |
</div>
|
|
268 |
|
|
269 |
<div id="btl-slogin-buttons_group" >
|
|
270 |
<ul id='btl-horizontal-list'>
|
|
271 |
<li><a href="https://new.openaire.eu/index.php?option=com_sso" title="Edugain" rel="nofollow"><img src="/images/site_images/Edugain_001.png" width="45px" /></a></li>
|
|
272 |
<li><a href="/provider/orcid/auth" title="Orcid" rel="nofollow"><img src="/images/site_images/Orcid_001.png" width="45px" /></a></li>
|
|
273 |
|
|
274 |
|
|
275 |
<li><a href="/provider/github/auth" title="Github" rel="nofollow"><img src="/images/site_images/Github_001.png" width="45px" /></a></li>
|
|
276 |
<li><a href="/provider/google/auth" title="Google" rel="nofollow"><img src="/images/site_images/Google_001.jpg" width="45px" /></a></li>
|
|
277 |
|
|
278 |
<li><a href="/provider/twitter/auth" title="Twitter" rel="nofollow"><img src="/images/site_images/Twitter_001.jpg" width="45px" /> </a></li>
|
|
279 |
<li><a href="/provider/facebook/auth" title="Facebook" rel="nofollow"> <img src="/images/site_images/Facebook_001.jpg" width="45px" /> </a></li>
|
|
280 |
<li><a href="/provider/linkedin/auth" title="LinkedIN" rel="nofollow"><img src="/images/site_images/Linkedin_001.jpg" width="45px" /></a></li>
|
|
281 |
<li><a href=" " title="Windows Live( Available Soon)" rel="nofollow"><img src="/images/site_images/Live_001.png" width="45px" /></a></li>
|
|
282 |
|
|
283 |
</ul>
|
|
284 |
|
|
285 |
|
|
286 |
</div> </div>
|
|
287 |
|
|
288 |
|
|
289 |
<!-- if integrated any component -->
|
|
290 |
<?php }else{ ?>
|
|
291 |
<input type="hidden" name="integrated" value="<?php echo $linkOption?>" value="no" id="btl-integrated"/>
|
|
292 |
<?php }?>
|
|
293 |
</div>
|
267 |
294 |
|
|
295 |
<?php } ?>
|
|
296 |
<?php } ?>
|
|
297 |
|
|
298 |
</div>
|
|
299 |
|
|
300 |
</div>
|
|
301 |
|
|
302 |
|
|
303 |
|
|
304 |
<!-- This is the Register modal -->
|
|
305 |
<div id="btl-content-registration-modal" class="uk-modal">
|
|
306 |
<div class="uk-modal-dialog">
|
|
307 |
<a class="uk-modal-close uk-close"></a>
|
|
308 |
|
|
309 |
<div id="btl-content-registration-modal" class="btl-register-modal">
|
|
310 |
<div id="btl-success">
|
|
311 |
|
|
312 |
<p style="font-family: Roboto;font-size: 22px; line-height: 35px;text-transform: uppercase;"> Congratulations! </p>
|
|
313 |
<p>
|
|
314 |
You have just completed your registration at OpenAire. </p>
|
|
315 |
<p>Before you can login to the site, you will need to activate your account.
|
|
316 |
An e-mail will be sent to you with the proper instructions.
|
|
317 |
|
|
318 |
<div class="uk-alert uk-alert-danger" style=" font-size: 13px;">
|
|
319 |
|
|
320 |
Important!
|
|
321 |
<br>
|
|
322 |
<p>Please note that this site is currently undergoing Beta testing.<br>
|
|
323 |
|
|
324 |
Any new content you create is not guaranteed to be present to the final version
|
|
325 |
of the site upon release.
|
|
326 |
</p>
|
|
327 |
<p>
|
|
328 |
Thank you for your patience,
|
|
329 |
<br>
|
|
330 |
OpenAire Dev Team.
|
|
331 |
|
|
332 |
</p>
|
|
333 |
|
|
334 |
</div>
|
|
335 |
|
|
336 |
<a class="uk-modal-close" style="display: inline; text-decoration: none;">Close This Message</a>
|
|
337 |
</div>
|
268 |
338 |
<form name="btl-formregistration" class="btl-formregistration" autocomplete="off">
|
269 |
339 |
<div id="btl-register-in-process"></div>
|
270 |
|
<h3><?php echo JText::_('CREATE_AN_ACCOUNT') ?></h3>
|
271 |
|
<div id="btl-success" > </div>
|
272 |
|
<!--<div class="btl-note"><span><?php echo JText::_("All Fields Are Required"); ?></span></div> -->
|
273 |
340 |
|
|
341 |
|
|
342 |
|
|
343 |
|
|
344 |
|
|
345 |
<p class="omb_authTitle">
|
|
346 |
<?php echo JText::_('CREATE AN ACCOUNT') ?>
|
|
347 |
|
|
348 |
</p>
|
|
349 |
|
|
350 |
|
274 |
351 |
<div id="btl-registration-error" class="btl-error"></div>
|
275 |
|
|
276 |
|
<div class="btl-field">
|
|
352 |
<div class="btl-field">
|
277 |
353 |
<div class="blt-register-label"><?php echo JText::_( 'Name:' ); ?></div>
|
|
354 |
|
278 |
355 |
<div class="uk-form-large uk-form-width-small">
|
279 |
|
<input id="btl-input-name" type="text" name="jform[name]" />
|
280 |
|
</div>
|
|
356 |
<!--<span data-uk-tooltip="{pos:'top-right'}" title="Please Fill In Your Name"> -->
|
|
357 |
|
|
358 |
<!--<span class="uk-form-help-inline"> -->
|
|
359 |
|
|
360 |
<div class="uk-form-icon">
|
|
361 |
<i class="uk-icon-pencil"></i>
|
|
362 |
<input id="btl-input-name" type="text" name="jform[name]">
|
|
363 |
</div>
|
|
364 |
|
|
365 |
|
|
366 |
</div>
|
281 |
367 |
</div>
|
282 |
|
|
|
368 |
|
283 |
369 |
<div class="clear"></div>
|
284 |
370 |
|
285 |
371 |
<div class="btl-field">
|
286 |
372 |
<div class="blt-register-label"><?php echo JText::_( 'Username:' ); ?></div>
|
287 |
373 |
<div class="uk-form-large uk-form-width-small">
|
288 |
|
<input id="btl-input-username1" type="text" name="jform[username]" />
|
|
374 |
<div class="uk-form-icon">
|
|
375 |
<i class="uk-icon-user"></i>
|
|
376 |
<input id="btl-input-username1" type="text" name="jform[username]"/>
|
|
377 |
|
289 |
378 |
</div>
|
|
379 |
</div>
|
290 |
380 |
</div>
|
291 |
381 |
<div class="clear"></div>
|
292 |
382 |
|
293 |
383 |
<div class="btl-field">
|
294 |
384 |
<div class="blt-register-label"><?php echo JText::_( 'Password:' ); ?></div>
|
295 |
385 |
<div class="uk-form-large uk-form-width-small">
|
|
386 |
<div class="uk-form-icon">
|
|
387 |
<i class="uk-icon-lock"></i>
|
296 |
388 |
<input id="btl-input-password1" type="password" name="jform[password1]" />
|
297 |
389 |
</div>
|
|
390 |
|
|
391 |
<!--<div class="btl-note-small"><span><?php echo JText::_("*Must be at least 4 characters long."); ?></span></div>
|
|
392 |
-->
|
|
393 |
|
|
394 |
</div>
|
298 |
395 |
</div>
|
299 |
396 |
<div class="clear"></div>
|
300 |
397 |
|
301 |
398 |
<div class="btl-field">
|
302 |
399 |
<div class="blt-register-label"><?php echo JText::_( 'Verify Password:' ); ?></div>
|
303 |
|
<div class="uk-form-large uk-form-width-small">
|
|
400 |
<div class="uk-form-large uk-form-width-small">
|
|
401 |
<div class="uk-form-icon">
|
|
402 |
<i class="uk-icon-lock"></i>
|
304 |
403 |
<input id="btl-input-password2" type="password" name="jform[password2]" />
|
|
404 |
</div>
|
305 |
405 |
</div>
|
306 |
406 |
</div>
|
307 |
407 |
<div class="clear"></div>
|
... | ... | |
309 |
409 |
<div class="btl-field">
|
310 |
410 |
<div class="blt-register-label"><?php echo JText::_( 'E-mail:' ); ?></div>
|
311 |
411 |
<div class="uk-form-large uk-form-width-small">
|
312 |
|
<input id="btl-input-email1" type="text" name="jform[email1]" />
|
|
412 |
<div class="uk-form-icon">
|
|
413 |
<i class="uk-icon-at"></i>
|
|
414 |
<input id="btl-input-email1" type="text" name="jform[email1]" />
|
313 |
415 |
</div>
|
314 |
|
</div>
|
|
416 |
|
|
417 |
<!-- <div class="btl-note-small"><span><?php echo JText::_("*Must be a valid mail address."); ?></span></div>
|
|
418 |
-->
|
|
419 |
|
|
420 |
|
|
421 |
</div>
|
|
422 |
</div>
|
|
423 |
|
315 |
424 |
<div class="clear"></div>
|
|
425 |
|
316 |
426 |
<div class="btl-field">
|
317 |
427 |
<div class="blt-register-label"><?php echo JText::_( 'Verify E-mail:' ); ?></div>
|
318 |
428 |
<div class="uk-form-large uk-form-width-small">
|
|
429 |
<div class="uk-form-icon">
|
|
430 |
<i class="uk-icon-at"></i>
|
319 |
431 |
<input id="btl-input-email2" type="text" name="jform[email2]" />
|
320 |
|
</div>
|
|
432 |
</div></div>
|
321 |
433 |
</div>
|
322 |
434 |
<div class="clear"></div>
|
|
435 |
|
|
436 |
|
|
437 |
<div class="btl-note"><span><?php echo JText::_("*All Fields Are Required."); ?></span></div>
|
|
438 |
|
|
439 |
|
|
440 |
|
323 |
441 |
<!-- add captcha-->
|
|
442 |
|
324 |
443 |
<?php if($enabledRecaptcha){?>
|
325 |
444 |
|
|
445 |
<div class="clear"></div>
|
|
446 |
|
|
447 |
|
326 |
448 |
|
327 |
|
|
328 |
|
<div class="btl-field">
|
|
449 |
<div class="btl-field" style="margin-top:25px;">
|
|
450 |
|
329 |
451 |
<div class="blt-register-label">
|
|
452 |
<?php echo JText::_( 'Please Verify You Are Human:' ); ?>
|
330 |
453 |
</div>
|
331 |
|
<div id="recaptcha" class="recaptcha" ><?php echo $reCaptcha;?></div>
|
|
454 |
|
|
455 |
<div id="recaptcha" class="recaptcha"> <?php echo $reCaptcha;?></div>
|
332 |
456 |
</div>
|
333 |
457 |
<div id="btl-registration-captcha-error" class="btl-error-detail"></div>
|
334 |
458 |
<div class="clear"></div>
|
335 |
459 |
<!-- end add captcha -->
|
336 |
460 |
<?php }?>
|
337 |
|
|
338 |
|
<div style="margin-left: 25px; margin-top: 20px;">
|
339 |
|
<button type="submit" class="uk-button uk-button-primary"
|
340 |
|
|
341 |
|
style= "height: 40px; width: 120px; text-transform: none ! important; margin-right: 60px; font-family:
|
342 |
|
Century Gothic! important; font-size: 15px;"
|
343 |
|
|
|
461 |
<div style="margin-left: 25px; margin-top: 20px;">
|
|
462 |
<button type="submit" class="uk-button uk-button-primary" id="register-button"
|
|
463 |
|
344 |
464 |
onclick="return registerAjax()" >
|
345 |
465 |
<?php echo JText::_('JREGISTER');?>
|
346 |
466 |
|
... | ... | |
350 |
470 |
<?php echo JHtml::_('form.token');?>
|
351 |
471 |
</div>
|
352 |
472 |
</form>
|
353 |
|
|
354 |
|
|
|
473 |
|
|
474 |
|
|
475 |
|
|
476 |
</div>
|
|
477 |
|
355 |
478 |
|
356 |
|
|
357 |
|
<!-- Start of social Login
|
358 |
|
|
359 |
|
|
360 |
|
|
361 |
|
<div id="slogin-buttons_large" style="margin-top: 10px; margin-left: 35px;">
|
362 |
|
<a href="https://new.openaire.eu/index.php?option=com_sso" title="Edugain" rel="nofollow"><img src="/images/site_images/Edugain_001.png" width="45px" /></a>
|
363 |
|
<a href="/provider/orcid/auth" title="Orcid" rel="nofollow"><img src="/images/site_images/Orcid_001.png" width="45px" /></a>
|
364 |
|
<a href="/provider/github/auth" title="Github" rel="nofollow"><img src="/images/site_images/Github_001.png" width="45px" /></a>
|
365 |
|
<a href="/provider/google/auth" title="Google" rel="nofollow"><img src="/images/site_images/Google_001.jpg" width="45px" /></a>
|
366 |
|
<br>
|
367 |
|
<br>
|
368 |
|
<a href="/provider/twitter/auth" title="Twitter" rel="nofollow"><img src="/images/site_images/Twitter_001.jpg" width="45px" /> </a>
|
369 |
|
<a href="/provider/facebook/auth" title="Facebook" rel="nofollow"> <img src="/images/site_images/Facebook_001.jpg" width="45px" /> </a>
|
370 |
|
<a href="/provider/linkedin/auth" title="LinkedIN" rel="nofollow"><img src="/images/site_images/Linkedin_001.jpg" width="45px" /></a>
|
371 |
|
<a href=" " title="Windows Live( Available Soon)" rel="nofollow"><img src="/images/site_images/Live_001.png" width="45px" /></a>
|
372 |
|
</div>
|
373 |
|
End of social Login -->
|
374 |
479 |
|
375 |
|
|
376 |
|
<!-- if integrated any component -->
|
377 |
|
<?php }else{ ?>
|
378 |
|
<input type="hidden" name="integrated" value="<?php echo $linkOption?>" value="no" id="btl-integrated"/>
|
379 |
|
<?php }?>
|
380 |
|
</div>
|
381 |
|
|
382 |
|
<?php } ?>
|
383 |
|
<?php } ?>
|
384 |
|
|
385 |
|
</div>
|
386 |
|
<div class="clear"></div>
|
|
480 |
</div>
|
387 |
481 |
</div>
|
|
482 |
|
|
483 |
|
|
484 |
<!-- End of Register Modal-->
|
|
485 |
|
|
486 |
|
|
487 |
|
|
488 |
|
|
489 |
|
388 |
490 |
|
389 |
491 |
<script type="text/javascript">
|
390 |
492 |
/*<![CDATA[*/
|
new seperate forms for registeration; update for sleeker look and feel; fixed modal messages on register