File tree Expand file tree Collapse file tree 13 files changed +46
-23
lines changed Expand file tree Collapse file tree 13 files changed +46
-23
lines changed Original file line number Diff line number Diff line change 19
19
[ assembly: CLSCompliant ( false ) ]
20
20
[ assembly: ComVisible ( false ) ]
21
21
[ assembly: AllowPartiallyTrustedCallers ]
22
- [ assembly: AssemblyVersion ( "3.1.3.6 " ) ]
22
+ [ assembly: AssemblyVersion ( "3.1.3.7 " ) ]
23
23
[ assembly: SecurityRules ( SecurityRuleSet . Level1 ) ]
Original file line number Diff line number Diff line change @@ -555,6 +555,7 @@ void AddJavaScriptResources()
555
555
AddResource ( "moveWidgetTo" ) ;
556
556
AddResource ( "myProfile" ) ;
557
557
AddResource ( "name" ) ;
558
+ AddResource ( "theNew" ) ;
558
559
AddResource ( "never" ) ;
559
560
AddResource ( "newAndConfirmPasswordMismatch" ) ;
560
561
AddResource ( "newCategory" ) ;
Original file line number Diff line number Diff line change @@ -665,6 +665,7 @@ theComment
665
665
theme
666
666
themeCookieName
667
667
themes
668
+ theNew
668
669
thePost
669
670
thereAreXDrafts
670
671
theValuesSaved
Original file line number Diff line number Diff line change 2543
2543
<data name =" userNewsletter" xml : space =" preserve" >
2544
2544
<value >Members</value >
2545
2545
</data >
2546
+ <data name =" theNew" xml : space =" preserve" >
2547
+ <value >New</value >
2548
+ </data >
2546
2549
</root >
Original file line number Diff line number Diff line change 1
1
@using BlogEngine .Core
2
- @using BlogEngine .Core .Data .Services
3
2
@{
4
3
var name = Security .CurrentUser .Identity .Name ;
5
- var email = Membership . Provider . GetUser ( name , true ). Email ;
6
- var profile = AuthorProfile . GetProfile ( name ) ;
4
+ var src = Utils . ApplicationRelativeWebRoot + " Content/images/blog/noavatar.jpg " ;
5
+ var displayName = " Anonymous " ;
7
6
8
- var src = profile . PhotoUrl ;
9
- if (string .IsNullOrEmpty (src ))
7
+ var profile = AuthorProfile . GetProfile ( name ) ;
8
+ if (profile != null && ! string .IsNullOrEmpty (profile . PhotoUrl ))
10
9
{
11
- src = Avatar .GetSrc (email );
10
+ src = profile .PhotoUrl ;
11
+ displayName = profile .DisplayName ;
12
12
}
13
13
}
14
14
<div class =" user-nav" >
15
15
<img src =" @src" />
16
16
<div class =" user-nav-info" >
17
- <div class =" user-nav-name" ><a href =" ~/admin/#/security/profile" >@profile.DisplayName </a ></div >
17
+ <div class =" user-nav-name" ><a href =" ~/admin/#/security/profile" >@displayName </a ></div >
18
18
<ul class =" user-nav-options" >
19
19
<li ><a href =" ~/" target =" _blank" ><i class =" fa fa-globe" ></i > View Blog</a ></li >
20
20
<li ><a href =" ~/Account/login.aspx?logoff" ><i class =" fa fa-sign-out" ></i > Sign Out</a ></li >
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ <h2 class="page-title pull-left">
36
36
< a href ="# " class ="help-link " data-title =""> < i class ="fa fa-question-circle "> </ i > </ a >
37
37
{{lbl.categories}} < span id ="spinner " class ="loaded "> < i class ="fa fa-spinner fa-spin fa-sm "> </ i > </ span >
38
38
</ h2 >
39
- < a data-ng-click ="addNew() " class ="btn btn-success btn-hasicon btn-sm pull-left "> < i class ="fa fa-plus "> </ i > {{lbl.add }}</ a >
39
+ < a data-ng-click ="addNew() " class ="btn btn-success btn-hasicon btn-sm pull-left "> < i class ="fa fa-plus "> </ i > {{lbl.theNew }}</ a >
40
40
< div class ="btn-group befdv pull-left ">
41
41
< a ng-click ="processChecked('delete') " ng-disabled ="itemsChecked() === false " angular-tooltip tooltip ="lbl.doDelete " class ="btn btn-sm btn-danger "> < i class ="fa fa-trash "> </ i > </ a >
42
42
</ div >
Original file line number Diff line number Diff line change 3
3
< h2 class ="page-title pull-left "> < a href ="# " class ="help-link " data-title =""> < i class ="fa fa-question-circle "> </ i > </ a >
4
4
{{lbl.pages}} < span id ="spinner " class ="loaded "> < i class ="fa fa-spinner fa-spin fa-sm "> </ i > </ span >
5
5
</ h2 >
6
- < a href ="{{SiteVars.RelativeWebRoot}}admin/editpage.cshtml " class ="btn btn-hasicon btn-sm btn-success pull-left "> < i class ="fa fa-plus "> </ i > Add </ a >
6
+ < a href ="{{SiteVars.RelativeWebRoot}}admin/editpage.cshtml " class ="btn btn-hasicon btn-sm btn-success pull-left "> < i class ="fa fa-plus "> </ i > {{lbl.theNew}} </ a >
7
7
< div class ="btn-group befdv pull-left ">
8
8
< a ng-click ="processChecked('delete') " ng-disabled ="itemsChecked() === false " class ="btn btn-sm btn-danger " angular-tooltip tooltip ="lbl.doDelete "> < i class ="fa fa-trash "> </ i > </ a >
9
9
< a ng-click ="processChecked('unpublish') " ng-disabled ="itemsChecked() === false " class ="btn btn-sm btn-warning " angular-tooltip tooltip ="lbl.unpublish "> < i class ="fa fa-archive "> </ i > </ a >
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ <h2 class="page-title pull-left">
6
6
< a href ="# " class ="help-link " data-title =""> < i class ="fa fa-question-circle "> </ i > </ a >
7
7
{{lbl.posts}}
8
8
</ h2 >
9
- < a href ="{{SiteVars.RelativeWebRoot}}admin/editpost.cshtml " class ="btn btn-success btn-sm btn-hasicon pull-left "> < i class ="fa fa-plus "> </ i > {{lbl.add }}</ a >
9
+ < a href ="{{SiteVars.RelativeWebRoot}}admin/editpost.cshtml " class ="btn btn-success btn-sm btn-hasicon pull-left "> < i class ="fa fa-plus "> </ i > {{lbl.theNew }}</ a >
10
10
< div class ="btn-group befdv pull-left ">
11
11
< a ng-click ="processChecked('delete') " ng-disabled ="itemsChecked() === false " class ="btn btn-sm btn-danger " angular-tooltip tooltip ="lbl.doDelete "> < i class ="fa fa-trash "> </ i > </ a >
12
12
< a ng-click ="processChecked('unpublish') " ng-disabled ="itemsChecked() === false " class ="btn btn-sm btn-warning " angular-tooltip tooltip ="lbl.unpublish "> < i class ="fa fa-archive "> </ i > </ a >
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ <h2 class="page-title pull-left">
76
76
< a href ="# " class ="help-link " data-title =""> < i class ="fa fa-question-circle "> </ i > </ a >
77
77
Plugins < i ng-if ="spin " class ="fa fa-spinner fa-spin "> </ i >
78
78
</ h2 >
79
- < a ng-if ="IsPrimary " href ="{{SiteVars.RelativeWebRoot}}admin/#/custom/gallery?ftr=plugin " class ="btn btn-success btn-sm btn-hasicon pull-left "> < i class ="fa fa-plus "> </ i > {{lbl.add }}</ a >
79
+ < a ng-if ="IsPrimary " href ="{{SiteVars.RelativeWebRoot}}admin/#/custom/gallery?ftr=plugin " class ="btn btn-success btn-sm btn-hasicon pull-left "> < i class ="fa fa-plus "> </ i > {{lbl.theNew }}</ a >
80
80
< div ng-if ="IsPrimary " class ="btn-group befdv pull-left ">
81
81
< a ng-click ="processChecked('uninstall') " ng-disabled ="itemsChecked() === false " class ="btn btn-sm btn-danger " angular-tooltip tooltip ="lbl.doDelete "> < i class ="fa fa-trash "> </ i > </ a >
82
82
< a ng-click ="processChecked('disable') " ng-disabled ="itemsChecked() === false " class ="btn btn-sm btn-warning " angular-tooltip tooltip ="lbl.disable "> < i class ="fa fa-close "> </ i > </ a >
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ <h2 class="page-title pull-left">
80
80
< a href ="# " class ="help-link " data-title =""> < i class ="fa fa-question-circle "> </ i > </ a >
81
81
{{lbl.themes}} < i ng-if ="spin " class ="fa fa-spinner fa-spin "> </ i >
82
82
</ h2 >
83
- < a ng-if ="IsPrimary " href ="{{SiteVars.RelativeWebRoot}}admin/#/custom/gallery?ftr=theme " class ="btn btn-success btn-sm btn-hasicon pull-left "> < i class ="fa fa-plus "> </ i > Add from Gallery </ a >
83
+ < a ng-if ="IsPrimary " href ="{{SiteVars.RelativeWebRoot}}admin/#/custom/gallery?ftr=theme " class ="btn btn-success btn-sm btn-hasicon pull-left "> < i class ="fa fa-plus "> </ i > {{lbl.theNew}} </ a >
84
84
< div ng-if ="IsPrimary " class ="btn-group befdv pull-left ">
85
85
< button ng-click ="processChecked('uninstall') " ng-disabled ="itemsChecked() === false " angular-tooltip tooltip ="lbl.doDelete " class ="btn btn-danger btn-sm "> < i class ="fa fa-trash "> </ i > </ button >
86
86
</ div >
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ <h2 class="page-title pull-left">
33
33
< a href ="# " class ="help-link " data-title =""> < i class ="fa fa-question-circle "> </ i > </ a >
34
34
{{lbl.roles}} < span id ="spinner " class ="loaded "> < i class ="fa fa-spinner fa-spin fa-sm "> </ i > </ span >
35
35
</ h2 >
36
- < button data-ng-click ="loadRightsForm() " class ="btn btn-success btn-sm btn-hasicon pull-left " type ="button "> < i class ="fa fa-plus "> </ i > {{lbl.createRole }}</ button >
36
+ < button data-ng-click ="loadRightsForm() " class ="btn btn-success btn-sm btn-hasicon pull-left " type ="button "> < i class ="fa fa-plus "> </ i > {{lbl.theNew }}</ button >
37
37
< div class ="btn-group pull-left ">
38
38
< button data-ng-click ="processChecked('delete') " ng-disabled ="itemsChecked() === false " class ="btn btn-sm btn-danger "> < i class ="fa fa-trash "> </ i > </ button >
39
39
</ div >
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ <h2 class="page-title pull-left">
47
47
< a href ="# " class ="help-link " data-title =""> < i class ="fa fa-question-circle "> </ i > </ a >
48
48
{{lbl.users}} < span id ="spinner " class ="loaded "> < i class ="fa fa-spinner fa-spin fa-sm "> </ i > </ span >
49
49
</ h2 >
50
- < button data-ng-click ="loadEditForm() " class ="btn btn-success btn-sm btn-hasicon pull-left " type ="button "> < i class ="fa fa-plus "> </ i > {{lbl.createUser }}</ button >
50
+ < button data-ng-click ="loadEditForm() " class ="btn btn-success btn-sm btn-hasicon pull-left " type ="button "> < i class ="fa fa-plus "> </ i > {{lbl.theNew }}</ button >
51
51
< div class ="btn-group pull-left ">
52
52
< button data-ng-click ="processChecked('delete') " ng-disabled ="itemsChecked() === false " class ="btn btn-sm btn-danger " title ="{{lbl.doDelete}} "> < i class ="fa fa-trash "> </ i > </ button >
53
53
</ div >
You can’t perform that action at this time.
0 commit comments