mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 09:49:35 +02:00
* suppress keyword if seealso is assigned. Fix for code that is scheduled to be rewritten.
git-svn-id: trunk@39793 -
This commit is contained in:
parent
116230f759
commit
5e7e4814d9
@ -253,10 +253,8 @@ begin
|
|||||||
begin
|
begin
|
||||||
if (FLevel > 0 ) then
|
if (FLevel > 0 ) then
|
||||||
begin
|
begin
|
||||||
|
if LowerCase(GetTagName(AActualTag)) = 'param' then begin
|
||||||
if LowerCase(GetTagName(AActualTag)) = 'param' then begin
|
TagAttributeName := GetVal(AActualTag, 'name');
|
||||||
|
|
||||||
TagAttributeName := GetVal(AActualTag, 'name');
|
|
||||||
TagAttributeValue := GetVal(AActualTag, 'value');
|
TagAttributeValue := GetVal(AActualTag, 'value');
|
||||||
//writeln('name,value',tagattributename, ' ',tagattributevalue);
|
//writeln('name,value',tagattributename, ' ',tagattributevalue);
|
||||||
if TagAttributeName <> '' then begin
|
if TagAttributeName <> '' then begin
|
||||||
@ -424,7 +422,7 @@ var
|
|||||||
WriteString('<LI> <OBJECT type="text/sitemap">');
|
WriteString('<LI> <OBJECT type="text/sitemap">');
|
||||||
Inc(Indent, 8);
|
Inc(Indent, 8);
|
||||||
|
|
||||||
if (SiteMapType = stIndex) and (Item.Children.Count > 0) then
|
if (SiteMapType = stIndex) and ((Item.Children.Count > 0) or (item.seealso<>'')) then
|
||||||
WriteParam('Keyword', Item.Text);
|
WriteParam('Keyword', Item.Text);
|
||||||
//if Item.KeyWord <> '' then WriteParam('Keyword', Item.KeyWord);
|
//if Item.KeyWord <> '' then WriteParam('Keyword', Item.KeyWord);
|
||||||
if Item.Text <> '' then WriteParam('Name', Item.Text);
|
if Item.Text <> '' then WriteParam('Name', Item.Text);
|
||||||
|
Loading…
Reference in New Issue
Block a user