* added featured article to tibiacom template (you can add them with add news button)

* added networks (facebook and twitter) and highscores (top 5) boxes to tibiacom template, configurable in templates/tibiacom/config.php
* fixed polls box in tibiacom template
* (internal) moved tibiacom boxes to separate directory
* (internal) renamed constant TICKET -> TICKER
This commit is contained in:
slawkens
2017-10-26 15:35:22 +02:00
parent 5e414ebda8
commit 583f3394fc
29 changed files with 795 additions and 121 deletions

View File

@@ -84,7 +84,7 @@ defined('MYAAC') or die('Direct access not allowed!');
$i = 0;
foreach($menus[$category] as $menu) {
if(strpos($menu['link'], 'http') !== false) {
if(strpos(trim($menu['link']), 'http') === 0) {
echo '<a href="' . $menu['link'] . '" target="_blank">' . $menu['name'] . '</a>';
}
else {