mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
* 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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user