1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-31 10:01:56 +02:00

Gsitemap: Display link visibility status while importing.

This commit is contained in:
Cameron
2021-07-22 13:51:35 -07:00
parent fce00b4276
commit 95fab15c02
5 changed files with 35 additions and 10 deletions

View File

@@ -36,7 +36,8 @@ class news_gsitemap
'table' => 'news_category',
'name' => $row['category_name'],
'url' => $this->url('news_category', $row), // e107::getUrl()->create('news/list/category', $row, array('full' => 1)) ,
'type' => LAN_NEWS_23
'type' => LAN_NEWS_23,
'class'=> 0
);
}
@@ -57,7 +58,8 @@ class news_gsitemap
'table' => 'news',
'name' => $row['news_title'],
'url' => $this->url('news', $row),
'type' => ADLAN_0
'type' => ADLAN_0,
'class' => (int) $row['news_class'],
);
}