Ignore:
Timestamp:
01/11/14 12:08:40 (6 years ago)
Author:
mistic100
Message:

finish updating guides, fix flow issues, update language file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/oAuth/template/identification_common.tpl

    r26605 r26608  
    2828function open_auth(url) { 
    2929  window.open( 
    30     url + '&t=' + (new Date()).getTime(),  
     30    '{$OAUTH.u_login}' + url + '&key={$OAUTH.key}',  
    3131    'hybridauth_social_sign_on',  
    3232    'location=0,status=0,scrollbars=0,width=800,height=500' 
     
    4545        case 'OpenID': 
    4646          jQuery('#openid_label').html('{'Please enter your OpenID URL'|translate|escape:javascript}'); break; 
    47         case 'Wordpress': case 'Flickr': case 'Steam': 
     47        case 'Wordpress': case 'Steam': 
    4848          jQuery('#openid_label').html('{'Please enter your username'|translate|escape:javascript}'); break; 
     49        case 'Flickr':  
     50          jQuery('#openid_label').html('{'Please enter your user ID'|translate|escape:javascript}'); break; 
    4951      } 
    5052       
     
    7072       
    7173    default: 
    72       open_auth('{$OAUTH.u_login}'+ idp); 
     74      open_auth(idp); 
    7375  } 
    7476}); 
     
    9395  } 
    9496 
    95   open_auth('{$OAUTH.u_login}OpenID&openid_identifier=' + encodeURI(oi)); 
     97  open_auth('OpenID&openid_identifier=' + encodeURI(oi)); 
    9698 
    9799  jQuery.colorbox.close(); 
     
    111113}); 
    112114 
     115{if not empty($OAUTH.persona_email)} 
    113116jQuery('a[href$="act=logout"]').click(function(e) { 
    114117  e.preventDefault(); 
    115118  navigator.id.logout(); 
    116119}); 
     120{/if} 
    117121 
    118122navigator.id.watch({ 
     
    124128      url: '{$OAUTH.u_login}Persona', 
    125129      dataType: 'json', 
    126       data: { assertion: assertion }, 
     130      data: { 
     131        assertion: assertion, 
     132        key: '{$OAUTH.key}' 
     133      }, 
    127134      success: function(data) { 
    128135        oauth_redirect(data.redirect_to); 
Note: See TracChangeset for help on using the changeset viewer.