ギコナビ
Révision | 038c75508bdbc1a042639a9d30a895e6205511e3 (tree) |
---|---|
l'heure | 2007-02-14 01:45:18 |
Auteur | h677 <h677> |
Commiter | h677 |
作りかけの新NGワード機能が入ってしまっていたので、
IFDEF/IFNDEFで取り除いた。
@@ -771,8 +771,11 @@ begin | ||
771 | 771 | end; |
772 | 772 | |
773 | 773 | if (Trim(ReadList[i]) <> '') then begin |
774 | + | |
774 | 775 | DivideStrLine(ReadList[i], @Res); |
776 | +{$IFDEF NEWNGWORD} | |
775 | 777 | if (NGWordList.IsNG(@Res) = -1) then begin |
778 | +{$ENDIF} | |
776 | 779 | AddAnchorTag(@Res); |
777 | 780 | ConvRes(@Res, @ResLink); |
778 | 781 | Res.FDateTime := AddBeProfileLink(Res.FDateTime, i + 1); |
@@ -783,11 +786,11 @@ begin | ||
783 | 786 | else |
784 | 787 | // ÊíÌX |
785 | 788 | html.Add(SkinedRes(SkinRes, @Res, IntToStr(i + 1))); |
789 | +{$IFDEF NEWNGWORD} | |
786 | 790 | end else begin |
787 | -{$IFDEF DEBUG} | |
788 | 791 | html.Add('<h4> Ú`ñ</h4>'); |
789 | -{$ENDIF} | |
790 | 792 | end; |
793 | +{$ENDIF} | |
791 | 794 | end; |
792 | 795 | |
793 | 796 | if ThreadItem.Kokomade = (i + 1) then begin |
@@ -865,7 +868,9 @@ begin | ||
865 | 868 | if (Trim(ReadList[i]) <> '') then begin |
866 | 869 | No := IntToStr(i + 1); |
867 | 870 | DivideStrLine(ReadList[i], @Res); |
871 | +{$IFDEF NEWNGWORD} | |
868 | 872 | if (NGWordList.IsNG(@Res) = -1) then begin |
873 | +{$ENDIF} | |
869 | 874 | AddAnchorTag(@Res); |
870 | 875 | ConvRes(@Res, @ResLink); |
871 | 876 | Res.FDateTime := AddBeProfileLink(Res.FDateTime, i + 1); |
@@ -875,13 +880,12 @@ begin | ||
875 | 880 | html.Add(Format(FORMAT_SHOWMAIL, [No, No, No, Res.FMailTo, Res.FName, Res.FMailTo, Res.FDateTime, Res.FBody])) |
876 | 881 | else |
877 | 882 | html.Add(Format(FORMAT_NOSHOW, [No, No, No, Res.FMailTo, Res.FName, Res.FDateTime, Res.FBody])); |
878 | - end; | |
879 | - end else begin | |
880 | -{$IFDEF DEBUG} | |
881 | - html.Add('<h4> Ú`ñ</h4>'); | |
883 | +{$IFDEF NEWNGWORD} | |
884 | + end else begin | |
885 | + html.Add('<h4> Ú`ñ</h4>'); | |
886 | + end; | |
882 | 887 | {$ENDIF} |
883 | 888 | end; |
884 | - | |
885 | 889 | if ThreadItem.Kokomade = (i + 1) then begin |
886 | 890 | html.Add('<a name="koko"></a><div class="koko">RRÜÅÇñ¾</div>'); |
887 | 891 | end; |
@@ -935,22 +939,24 @@ begin | ||
935 | 939 | if (Trim(ReadList[i]) <> '') then begin |
936 | 940 | No := IntToStr(i + 1); |
937 | 941 | DivideStrLine(ReadList[i], @Res); |
938 | - | |
939 | - AddAnchorTag(@Res); | |
940 | - ConvRes(@Res, @ResLink); | |
941 | - Res.FDateTime := AddBeProfileLink(Res.FDateTime, i + 1); | |
942 | - if Res.FMailTo = '' then | |
943 | - html.Add('<a name="' + No + '"></a><dt><a href="menu:' + No + '">' + No + '</a> ¼OF<font color="forestgreen"><b> ' + Res.FName + ' </b></font> eúF <span class="date">' + Res.FDateTime+ '</span><br><dd>' + Res.Fbody + ' <br><br><br>'#13#10) | |
944 | - else if GikoSys.Setting.ShowMail then | |
945 | - html.Add('<a name="' + No + '"></a><dt><a href="menu:' + No + '">' + No + '</a> ¼OF<a href="mailto:' + Res.FMailTo + '"><b> ' + Res.FName + ' </B></a> [' + Res.FMailTo + '] eúF <span class="date">' + Res.FDateTime+ '</span><br><dd>' + Res.Fbody + ' <br><br><br>'#13#10) | |
946 | - else | |
947 | - html.Add('<a name="' + No + '"></a><dt><a href="menu:' + No + '">' + No + '</a> ¼OF<a href="mailto:' + Res.FMailTo + '"><b> ' + Res.FName + ' </B></a> eúF <span class="date">' + Res.FDateTime+ '</span><br><dd>' + Res.Fbody + ' <br><br><br>'#13#10); | |
948 | - end else begin | |
949 | -{$IFDEF DEBUG} | |
942 | +{$IFDEF NEWNGWORD} | |
943 | + if (NGWordList.IsNG(@Res) = -1) then begin | |
944 | +{$ENDIF} | |
945 | + AddAnchorTag(@Res); | |
946 | + ConvRes(@Res, @ResLink); | |
947 | + Res.FDateTime := AddBeProfileLink(Res.FDateTime, i + 1); | |
948 | + if Res.FMailTo = '' then | |
949 | + html.Add('<a name="' + No + '"></a><dt><a href="menu:' + No + '">' + No + '</a> ¼OF<font color="forestgreen"><b> ' + Res.FName + ' </b></font> eúF <span class="date">' + Res.FDateTime+ '</span><br><dd>' + Res.Fbody + ' <br><br><br>'#13#10) | |
950 | + else if GikoSys.Setting.ShowMail then | |
951 | + html.Add('<a name="' + No + '"></a><dt><a href="menu:' + No + '">' + No + '</a> ¼OF<a href="mailto:' + Res.FMailTo + '"><b> ' + Res.FName + ' </B></a> [' + Res.FMailTo + '] eúF <span class="date">' + Res.FDateTime+ '</span><br><dd>' + Res.Fbody + ' <br><br><br>'#13#10) | |
952 | + else | |
953 | + html.Add('<a name="' + No + '"></a><dt><a href="menu:' + No + '">' + No + '</a> ¼OF<a href="mailto:' + Res.FMailTo + '"><b> ' + Res.FName + ' </B></a> eúF <span class="date">' + Res.FDateTime+ '</span><br><dd>' + Res.Fbody + ' <br><br><br>'#13#10); | |
954 | +{$IFDEF NEWNGWORD} | |
955 | + end else begin | |
950 | 956 | html.Add('<h4> Ú`ñ</h4>'); |
957 | + end; | |
951 | 958 | {$ENDIF} |
952 | 959 | end; |
953 | - | |
954 | 960 | if ThreadItem.Kokomade = (i + 1) then begin |
955 | 961 | html.Add('</dl>'); |
956 | 962 | html.Add('<a name="koko"></a><table width="100%" bgcolor="#55AA55" cellpadding="0" cellspacing="1"><tr><td align="center" bgcolor="#77CC77" valign="middle"><font size="-1" color="#ffffff"><b>RRÜÅÇñ¾</b></font></td></tr></table>'); |
@@ -996,7 +1002,9 @@ begin | ||
996 | 1002 | ReadList.LoadFromFile(FileName); |
997 | 1003 | ReadList.EndUpdate; |
998 | 1004 | GikoSys.FAbon.IndividualAbon(ReadList, ChangeFileExt(FileName,'.NG')); |
999 | - //GikoSys.FAbon.Execute(ReadList); // Ú`ñµÄ | |
1005 | + {$IFNDEF NEWNGWORD} | |
1006 | + GikoSys.FAbon.Execute(ReadList); // Ú`ñµÄ | |
1007 | + {$ENDIF} | |
1000 | 1008 | GikoSys.FSelectResFilter.Execute(ReadList); //XÌtB^Oð·é |
1001 | 1009 | if ThreadItem.Title = '' then begin |
1002 | 1010 | DivideStrLine(ReadList[0], @Res); |