Changeset 2392

Show
Ignore:
Timestamp:
05/19/08 19:10:43 (18 months ago)
Author:
bchoate
Message:

Use user URL instead of edit profile link for non-MT users. BugId:79815

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-38/default_templates/signin.mtml

    r2386 r2392  
    2323        var url; 
    2424        if (u.is_authenticated) { 
    25             url = '<$mt:CGIPath$><$mt:CommentScript$>?__mode=edit_profile&blog_id=<$mt:BlogID$>'; 
    26             url += '&static=' + escape( location.href ); 
     25            if (u.is_author) { 
     26                url = '<$mt:CGIPath$><$mt:CommentScript$>?__mode=edit_profile&blog_id=<$mt:BlogID$>'; 
     27                url += '&static=' + escape( location.href ); 
     28            } else { 
     29                url = u.url; 
     30            } 
    2731        } else if (u.url) { 
    2832            url = u.url;