1
0
mirror of https://github.com/e107inc/e107.git synced 2025-09-02 02:42:40 +02:00

SEF URL added for gsitemap. URL aliases added for Statistics plugin.

This commit is contained in:
Cameron
2016-02-28 09:26:21 -08:00
parent cdc0d457f0
commit 17b1f844a7
6 changed files with 73 additions and 13 deletions

View File

@@ -23,12 +23,25 @@ if(!e107::isInstalled('gsitemap'))
e107::lan('gsitemap');
if(e_QUERY == "show")
if(e_QUERY == "show" || !empty($_GET['show']))
{
require_once(HEADERF);
$nfArray = $sql ->retrieve("gsitemap", "*", "gsitemap_active IN (".USERCLASS_LIST.") ORDER BY gsitemap_order ",true);
$text = "<div style='text-align:left'><ul>";
if(deftrue('BOOTSTRAP'))
{
$bread = array(
0 => array('text' => $tp->toHtml(GSLAN_Name), 'url'=> null ) // e107::url('gsitemap','index')
);
$text = e107::getForm()->breadcrumb($bread);
}
else
{
$text = '';
}
$text .= "<div style='text-align:left'><ul>";
foreach($nfArray as $nfa)
{
@@ -37,7 +50,7 @@ if(e_QUERY == "show")
}
$text .= "</ul></div>";
$ns -> tablerender(SITENAME." : ".GSLAN_Name."", $text);
$ns -> tablerender(GSLAN_Name."", $text);
require_once(FOOTERF);
exit;