1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 09:39:55 +02:00

Display more shortcodes in media-manager mode.

This commit is contained in:
Cameron
2015-04-14 15:26:26 -07:00
parent 6cd9e8770f
commit 7661394c04
3 changed files with 24 additions and 15 deletions

View File

@@ -1236,21 +1236,25 @@ class e_menuManager {
$ns->setStyle($style);
}
elseif(strstr($str, "SITENAME"))
/*elseif(strstr($str, "SITENAME"))
{
echo "[SiteName]";
}
elseif(strstr($str, "SITETAG"))
}*/
/*elseif(strstr($str, "SITETAG"))
{
echo "<div style='padding: 2px'>[SiteTag]</div>";
}
elseif(strstr($str, "SITELINKS"))
{
echo "[SiteLinks]";
}
}*/
// elseif(strstr($str, "SITELINKS"))
// {
// echo "[SiteLinks]";
// }
elseif(strstr($str, "NAVIGATION"))
{
echo "[Navigation Area]";
echo "<span class='label label-info'>Navigation Area</span>";
}
elseif(strstr($str, "ALERT"))
{
//echo "[Navigation Area]";
}
elseif(strstr($str, "LANGUAGELINKS"))
{
@@ -1386,9 +1390,13 @@ class e_menuManager {
$ns->tablerender('', $menuText);
}
else if(strstr($str, "SITEDISCLAIMER"))
//. else if(strstr($str, "SITEDISCLAIMER"))
//{
// echo "[Sitedisclaimer]";
// }
else
{
echo "[Sitedisclaimer]";
echo $tp->parseTemplate($str,true);
}
}
//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//