Project

General

Profile

« Previous | Next » 

Revision 38508

Added by Eri Katsari over 9 years ago

new seperate forms for registeration; update for sleeker look and feel; fixed modal messages on register

View differences:

modules/uoa-joomla/trunk/joomla-3.4/modules/mod_bt_login/helper.php
201 201
		}
202 202
		else{
203 203
			$document->addStyleSheet(JURI::root(true).'/modules/mod_bt_login/tmpl/css/style2.0.css');
204
			$document->addStyleSheet(JURI::root(true).'/modules/mod_bt_login/tmpl/css/login.css');
204
			 
205 205
		}
206 206

  
207 207
	}
modules/uoa-joomla/trunk/joomla-3.4/modules/mod_bt_login/tmpl/css/style2.0.css
35 35
    text-align: left;	
36 36
	font-size:12px;
37 37
	position:relative;
38
 width: 280px; 
39
 height: 630px;
38
 width: 260px; 
39
 height: 520px;
40 40
}
41 41
.btl-content-block form{
42 42
	margin:0;
......
53 53
	font-size:18px;
54 54
}
55 55

  
56
.omb_authTitle{
57
	 
58
   font-family: Roboto;
59
       font-weight: light  important;
60
	line-height: 35px;
61
	margin:0px;
62
         padding: 3px 0px 0px 19px!important;
63
	text-transform: uppercase;
64
	font-size:18px;
65
}
66

  
67
#btl-success
68
{
69
 font-family: Roboto;
70
       
71
	line-height: 25px;
72
	    
73
	 
74

  
75
}   
76
#btl-success h3
77
{
78
 font-family: Roboto !important;
79
   
80
	 
81
	 
82

  
83
}
84

  
56 85
.btl-input > input[type=text],
57 86
.btl-input > input[type=password],
58 87
#recaptcha > input{
......
130 159
}
131 160
.btl-error-detail{
132 161
	display:none;
133
	float: right;
162
	float: left;
134 163
	color: #FF0000;
135 164
	margin-bottom:4px;
136 165
}
......
139 168
	margin-right:25px!important;
140 169
	overflow:hidden;
141 170
}
171

  
172
#register-link{
173
	margin-left:20px;
174
	margin-right:25px!important;
175
	overflow:hidden;
176
	font-size:15px;
177
}
178
#register-link div a{
179
	font-size:17px;
180
}
181

  
182
 
183

  
184

  
142 185
 .btl-label{
143 186
	float:left!important;
144 187
	font-size: 13px!important; 
145 188
}
146 189
 .btl-input{
147
	float:right!important;
190
	float:left!important;
148 191
}
149 192
.btl-label, .btl-input {
150 193
          height:38px;
......
169 212
#btl-input-remember{
170 213
font-size: 12px;
171 214
 color: grey;
172
margin-left: 0px;margin-right: 57%; margin-top: 10px;
215
margin-left: 8%;
216
margin-top: 10px;
173 217
}
174 218

  
175 219
#btl-checkbox-remember{
......
214 258
#btl-content {
215 259

  
216 260
 /*font-family: Proxima Nova ;*/
217
 font-family:  Century Gothic 
261
 font-family:  Roboto ;
218 262
 
219 263
}
220 264
#btl-content ul li a:hover{
......
227 271
	position:absolute!important;
228 272
	z-index:9999;
229 273
}
230
#btl-content #btl-content-login{
231
	width:300px;
274
#btl-re #btl-content-login{
275
	width:250px;
276
	height: 540px;
232 277
}
233 278

  
234 279
#btl-content-registration{
235
	 width: 360px; height:810px; 
280
	 width: 250px; height:300px; 
236 281
	 
237 282
	 
238 283
}
284
 
285
 
286
#btl-content-registration-modal{
287
	font-family:roboto;   
288
}
289
 
290
 
239 291
.btl-note,#register-link{
240 292
	padding:18px 0px;
241 293
}
242 294

  
243 295
 #btl-content-login .btl-input{
244
	float:right;
296
	float:left;
245 297
}
246 298
#btl-content-login .spacer{
247 299
	height:14px;
......
265 317
}
266 318

  
267 319
#btl-login-button
268
{height: 38px; width: 130px; text-transform: none ! important; margin-right: 42%; font-family: Century Gothic! important; font-size: 15px;}
320
{height: 38px; 
321
width: 110px;
322
text-transform: none ! important;
323
 margin-left: 9.2%; 
324
float:left;
325
font-family:
326
Roboto! important; 
327
font-size: 15px;}
269 328

  
270 329
#btl-forgot
271
{padding-left: 0px; margin-left: 0px; margin-top: 20px;margin-right: 28%;}
330
{
331
float:left;
332
padding-left: 0px ! important;
333
 margin-left: -3%;
334
  margin-top: 20px;
272 335

  
336
}
273 337

  
338

  
274 339
#btl-content #btl-content-profile #module-in-profile ul{
275 340
	position: static;	
276 341
	text-align: left;
......
295 360
	color: #6b6b6b;
296 361
	text-decoration: none !important;
297 362
	text-transform: none!important;
298
	font-family: arial,tahoma;
363
	font-family: roboto;
299 364
}
300 365

  
301 366

  
......
333 398
	padding-left:1px;
334 399
}
335 400

  
401

  
402

  
336 403
/* style panel when register success */
337 404
#btl-success{
338 405
	 display: none;
......
345 412
*/
346 413
}
347 414

  
348

  
349

  
350

  
415
#registration-id
416
{  }
417
 #btl-content-registration-modal.uk-modal.uk-open div.uk-modal-dialog
418
{
419
width:420px;
420
}
351 421
/* style for ul in login panel*/
352 422
#bt_ul {font-size: 10px;
353 423
list-style-type: none;
354 424
	margin-top:20 px!important;
355 425
	margin-bottom:20px!important;
356 426
	margin-right: 25px!important;
357
	float:right;
427
	float:left;
358 428
	line-height: 1.3;
359 429
}
360 430

  
......
404 474
 }
405 475
 
406 476
#btl-social div.uk-grid hr{
407
 width: 200px; margin-top: 50px;
477
 width: 200px;
408 478
 height:5px;
409 479
 
410 480
 }
......
412 482
 
413 483
 display: inline-block;padding-left:0px; 
414 484
 width: 240px;
485
   margin-top: 10px;
415 486

  
416 487
 }
417 488
 
489
 #socialMsg{
490
 float:left;
491
  
492
  }
493
  
418 494
 #btl-horizontal-list li{
419 495
 padding: .2em  ;
420 496
 display: inline-block;padding-left:0px; 
......
457 533
}
458 534

  
459 535
 
536
 #btl-content-registration.btl-content-block div#btl-social
537
{
538
margin-top:10px;
539
}
460 540

  
461
    
541
 #register-button{
462 542

  
543
   height: 40px; 
544
   width: 120px;
545
   text-transform: none ! important; 
546
   margin-right: 60px;
547
   font-family: Roboto! important; 
548
   font-size: 15px; 
549
}
550

  
551
  #btl-content-profile.btl-content-block
552
{height: 344px;
553
 width: 220px;
554
}
555
  #btl-content-registration-modal.btl-register-modal form.btl-formregistration p.omb_authTitle
556
{font-size:24px;
557
/*
558
color:#2d72d6;
559
*/
560
}
561
  .btl-note-small{
562
 font-size: 10px;
563
 font-family: "Roboto";
564
 width: 200px;
565
 }
566
.loginLink:hover, .loginLink:focus {
567
    color: #50bdd4 !important;
568
    text-decoration: none !important;
569
}
570
.loginLink {
571
    color: #646464 !important;
572
}
573

  
574

  
463 575
    }
464 576

  
465 577
 
modules/uoa-joomla/trunk/joomla-3.4/modules/mod_bt_login/tmpl/default.php
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[*/
modules/uoa-joomla/trunk/joomla-3.4/modules/mod_bt_login/tmpl/js/default.js
209 209
		window.location.href=BTLJ("#btl-integrated").val();
210 210
		return;
211 211
	}
212
	
212 213
	BTLJ('.btl-panel span').removeClass("active");
214
	
213 215
	BTLJ.modal.close();
216
	
214 217
	var el = '#btl-panel-registration';
215 218
	var containerWidth = 0;
216 219
	var containerHeight = 0;
......
398 401
					});
399 402
				  }
400 403
				  
401
			   }else{				   
402
				   BTLJ(".btl-formregistration").children("div").hide();
403
				   BTLJ("#btl-success").html(html);	
404
				   BTLJ("#btl-success").show();	
405
				   setTimeout(function() {window.location.reload();},7000);
404
			   }else{	
405
			   
406
			    	   
407
		        BTLJ("#btl-content-registration-modal.btl-register-modal").children().hide();
408
			 //sos sos sos: in we need # before the id to span the correct element
409
			 BTLJ("#btl-content-registration-modal.btl-register-modal").children("#btl-success").show();
410
			 
411
			 
412
			 setTimeout($('#btl-content-registration-modal.btl-register-modal').modal('hide'), 1000);
413
			//setTimeout(function() {window.location.reload();},7000); 
406 414

  
407 415
			   }
408 416
		   },
409 417
		   error: function (XMLHttpRequest, textStatus, errorThrown) {
410
				alert(textStatus + ': Ajax request failed');
418
				
419
			  
420
				 
421
		  BTLJ("#btl-content-registration-modal.btl-register-modal").children().hide();
422
	
423
				   
424
			// alert(textStatus + ': Ajax request failed');
411 425
		   }
412 426
		});
413 427
		return false;

Also available in: Unified diff