@@ -615,7 +615,7 @@ public string GetProperty(string propertyName, string format, System.Globalizati
615
615
616
616
case "subjectlink" :
617
617
{
618
- string sTopicURL = new ControlUtils ( ) . BuildUrl ( this . Forum . PortalSettings . PortalId , GetTabId ( ) , this . Forum . ModuleId , this . Forum . ForumGroup . PrefixURL , this . Forum . PrefixURL , this . Forum . ForumGroupId , this . Forum . ForumID , this . TopicId , this . TopicUrl , - 1 , - 1 , string . Empty , 1 , - 1 , this . Forum . SocialGroupId ) ;
618
+ string sTopicURL = new ControlUtils ( ) . BuildUrl ( this . Forum . PortalSettings . PortalId , this . GetTabId ( ) , this . Forum . ModuleId , this . Forum . ForumGroup . PrefixURL , this . Forum . PrefixURL , this . Forum . ForumGroupId , this . Forum . ForumID , this . TopicId , this . TopicUrl , - 1 , - 1 , string . Empty , 1 , - 1 , this . Forum . SocialGroupId ) ;
619
619
string sPollImage = ( this . Topic . TopicType == TopicTypes . Poll ? DotNetNuke . Modules . ActiveForums . Services . Tokens . TokenReplacer . GetTokenFormatString ( "[POLLIMAGE]" , this . Forum . PortalSettings , accessingUser . Profile . PreferredLocale ) : string . Empty ) ;
620
620
string slink ;
621
621
var @params = new List < string >
@@ -664,7 +664,7 @@ public string GetProperty(string propertyName, string format, System.Globalizati
664
664
}
665
665
666
666
string sLastReadURL = string . Empty ;
667
- string sTopicURL = new ControlUtils ( ) . BuildUrl ( this . Forum . PortalSettings . PortalId , GetTabId ( ) , this . Forum . ModuleId , this . Forum . ForumGroup . PrefixURL , this . Forum . PrefixURL , this . Forum . ForumGroupId , this . Forum . ForumID , this . TopicId , this . TopicUrl , - 1 , - 1 , string . Empty , 1 , - 1 , this . Forum . SocialGroupId ) ;
667
+ string sTopicURL = new ControlUtils ( ) . BuildUrl ( this . Forum . PortalSettings . PortalId , this . GetTabId ( ) , this . Forum . ModuleId , this . Forum . ForumGroup . PrefixURL , this . Forum . PrefixURL , this . Forum . ForumGroupId , this . Forum . ForumID , this . TopicId , this . TopicUrl , - 1 , - 1 , string . Empty , 1 , - 1 , this . Forum . SocialGroupId ) ;
668
668
int ? userLastReplyRead = new Controllers . ForumUserController ( this . ModuleId ) . GetByUserId (
669
669
accessingUser . PortalID ,
670
670
accessingUser . UserID ) . GetLastReplyRead ( this ) ;
@@ -682,7 +682,7 @@ public string GetProperty(string propertyName, string format, System.Globalizati
682
682
@params . Add ( $ "{ Literals . GroupId } ={ this . Forum . SocialGroupId } ") ;
683
683
}
684
684
685
- sLastReadURL = Utilities . NavigateURL ( GetTabId ( ) ,
685
+ sLastReadURL = Utilities . NavigateURL ( this . GetTabId ( ) ,
686
686
string . Empty ,
687
687
@params . ToArray ( ) ) ;
688
688
}
@@ -699,7 +699,7 @@ public string GetProperty(string propertyName, string format, System.Globalizati
699
699
@params . Add ( $ "{ Literals . GroupId } ={ this . Forum . SocialGroupId } ") ;
700
700
}
701
701
702
- sLastReadURL = Utilities . NavigateURL ( GetTabId ( ) , string . Empty , @params . ToArray ( ) ) ;
702
+ sLastReadURL = Utilities . NavigateURL ( this . GetTabId ( ) , string . Empty , @params . ToArray ( ) ) ;
703
703
}
704
704
705
705
if ( sTopicURL . EndsWith ( "/" ) )
@@ -725,8 +725,8 @@ public string GetProperty(string propertyName, string format, System.Globalizati
725
725
@params . Add ( $ "{ Literals . GroupId } ={ this . Forum . SocialGroupId } ") ;
726
726
}
727
727
728
- string sLastReplyURL = Utilities . NavigateURL ( GetTabId ( ) , string . Empty , @params . ToArray ( ) ) ;
729
- string sTopicURL = new ControlUtils ( ) . BuildUrl ( this . Forum . PortalSettings . PortalId , GetTabId ( ) , this . Forum . ModuleId , this . Forum . ForumGroup . PrefixURL , this . Forum . PrefixURL , this . Forum . ForumGroupId , this . Forum . ForumID , this . TopicId , this . TopicUrl , - 1 , - 1 , string . Empty , 1 , - 1 , this . Forum . SocialGroupId ) ;
728
+ string sLastReplyURL = Utilities . NavigateURL ( this . GetTabId ( ) , string . Empty , @params . ToArray ( ) ) ;
729
+ string sTopicURL = new ControlUtils ( ) . BuildUrl ( this . Forum . PortalSettings . PortalId , this . GetTabId ( ) , this . Forum . ModuleId , this . Forum . ForumGroup . PrefixURL , this . Forum . PrefixURL , this . Forum . ForumGroupId , this . Forum . ForumID , this . TopicId , this . TopicUrl , - 1 , - 1 , string . Empty , 1 , - 1 , this . Forum . SocialGroupId ) ;
730
730
if ( ! ( string . IsNullOrEmpty ( sTopicURL ) ) )
731
731
{
732
732
if ( sTopicURL . EndsWith ( "/" ) )
@@ -816,7 +816,7 @@ public string GetProperty(string propertyName, string format, System.Globalizati
816
816
}
817
817
818
818
return PropertyAccess . FormatString (
819
- Utilities . NavigateURL ( GetTabId ( ) ,
819
+ Utilities . NavigateURL ( this . GetTabId ( ) ,
820
820
string . Empty ,
821
821
@params . ToArray ( ) ) ,
822
822
format ) ;
@@ -840,7 +840,7 @@ public string GetProperty(string propertyName, string format, System.Globalizati
840
840
}
841
841
842
842
return PropertyAccess . FormatString (
843
- Utilities . NavigateURL ( GetTabId ( ) ,
843
+ Utilities . NavigateURL ( this . GetTabId ( ) ,
844
844
string . Empty ,
845
845
@params . ToArray ( ) ) ,
846
846
format ) ;
@@ -1087,7 +1087,7 @@ public string GetProperty(string propertyName, string format, System.Globalizati
1087
1087
PageSize = 10 ;
1088
1088
}
1089
1089
1090
- return PropertyAccess . FormatString ( Utilities . GetLastPostSubject ( this . LastReply . ReplyId , this . TopicId , this . ForumId , GetTabId ( ) , this . LastReply . Content . Subject , length , pageSize : PageSize , replyCount : this . ReplyCount , canRead : true ) , format ) ;
1090
+ return PropertyAccess . FormatString ( Utilities . GetLastPostSubject ( this . LastReply . ReplyId , this . TopicId , this . ForumId , this . GetTabId ( ) , this . LastReply . Content . Subject , length , pageSize : PageSize , replyCount : this . ReplyCount , canRead : true ) , format ) ;
1091
1091
}
1092
1092
1093
1093
case "lastpostauthordisplaynamelink" :
@@ -1201,7 +1201,7 @@ public string GetProperty(string propertyName, string format, System.Globalizati
1201
1201
}
1202
1202
1203
1203
return PropertyAccess . FormatString (
1204
- Utilities . NavigateURL ( GetTabId ( ) , string . Empty , @params . ToArray ( ) ) ,
1204
+ Utilities . NavigateURL ( this . GetTabId ( ) , string . Empty , @params . ToArray ( ) ) ,
1205
1205
format ) ;
1206
1206
}
1207
1207
@@ -1242,7 +1242,7 @@ public string GetProperty(string propertyName, string format, System.Globalizati
1242
1242
}
1243
1243
1244
1244
return PropertyAccess . FormatString (
1245
- Utilities . NavigateURL ( GetTabId ( ) , string . Empty , @params . ToArray ( ) ) ,
1245
+ Utilities . NavigateURL ( this . GetTabId ( ) , string . Empty , @params . ToArray ( ) ) ,
1246
1246
format ) ;
1247
1247
}
1248
1248
@@ -1283,7 +1283,7 @@ public string GetProperty(string propertyName, string format, System.Globalizati
1283
1283
}
1284
1284
1285
1285
return PropertyAccess . FormatString (
1286
- Utilities . NavigateURL ( GetTabId ( ) , string . Empty , @params . ToArray ( ) ) ,
1286
+ Utilities . NavigateURL ( this . GetTabId ( ) , string . Empty , @params . ToArray ( ) ) ,
1287
1287
format ) ;
1288
1288
}
1289
1289
@@ -1440,7 +1440,7 @@ public string GetProperty(string propertyName, string format, System.Globalizati
1440
1440
}
1441
1441
1442
1442
return PropertyAccess . FormatString (
1443
- Utilities . NavigateURL ( GetTabId ( ) , string . Empty , editParams . ToArray ( ) ) ,
1443
+ Utilities . NavigateURL ( this . GetTabId ( ) , string . Empty , editParams . ToArray ( ) ) ,
1444
1444
format ) ;
1445
1445
}
1446
1446
@@ -1466,7 +1466,7 @@ public string GetProperty(string propertyName, string format, System.Globalizati
1466
1466
} ;
1467
1467
1468
1468
return PropertyAccess . FormatString (
1469
- Utilities . NavigateURL ( GetTabId ( ) , string . Empty , @params . ToArray ( ) ) ,
1469
+ Utilities . NavigateURL ( this . GetTabId ( ) , string . Empty , @params . ToArray ( ) ) ,
1470
1470
format ) ;
1471
1471
}
1472
1472
return string . Empty ;
0 commit comments