Fixed and closed #398: discussion permalinks now use the P-like character instead of a "#".

This commit is contained in:
Dario Solera 2009-10-22 13:30:16 +00:00
parent e37abcf39f
commit bc59865a69
2 changed files with 3 additions and 3 deletions

View file

@ -16,5 +16,5 @@ using System.Reflection;
// //
// You can specify all the values or you can default the Revision and Build Numbers // You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
[assembly: AssemblyVersion("3.0.1.412")] [assembly: AssemblyVersion("3.0.1.413")]
[assembly: AssemblyFileVersion("3.0.1.412")] [assembly: AssemblyFileVersion("3.0.1.413")]

View file

@ -105,7 +105,7 @@ namespace ScrewTurn.Wiki {
// Print header // Print header
sb.Append(@"<div class=""messageheader"">"); sb.Append(@"<div class=""messageheader"">");
//sb.AppendFormat(@"<a id=""MSG_{0}""></a>", message.ID); //sb.AppendFormat(@"<a id=""MSG_{0}""></a>", message.ID);
sb.AppendFormat(@"<a id=""{0}"" href=""#{0}"" title=""Permalink"">#</a> ", Tools.GetMessageIdForAnchor(message.DateTime)); sb.AppendFormat(@"<a id=""{0}"" href=""#{0}"" title=""Permalink"">&#0182;</a> ", Tools.GetMessageIdForAnchor(message.DateTime));
if(!currentPage.Provider.ReadOnly) { if(!currentPage.Provider.ReadOnly) {
// Print reply/edit/delete buttons only if provider is not read-only // Print reply/edit/delete buttons only if provider is not read-only