mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-04 04:07:59 +02:00
Sitemap Plugin: _blank removed
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
foreach ($pages_list as $page) {
|
foreach ($pages_list as $page) {
|
||||||
if (trim($page['parent']) !== '') $parent = $page['parent'].'/'; else $parent = '';
|
if (trim($page['parent']) !== '') $parent = $page['parent'].'/'; else $parent = '';
|
||||||
if (trim($page['parent']) !== '') { echo '<ul>'; }
|
if (trim($page['parent']) !== '') { echo '<ul>'; }
|
||||||
echo '<li><a href="'.Option::get('siteurl').$parent.$page['slug'].'" target="_blank">'.$page['title'].'</a></li>';
|
echo '<li><a href="'.Option::get('siteurl').$parent.$page['slug'].'">'.$page['title'].'</a></li>';
|
||||||
if (trim($page['parent']) !== '') { echo '</ul>'; }
|
if (trim($page['parent']) !== '') { echo '</ul>'; }
|
||||||
}
|
}
|
||||||
if (count($components) == 0) { echo '<ul>'; }
|
if (count($components) == 0) { echo '<ul>'; }
|
||||||
|
Reference in New Issue
Block a user