40 lines
847 B
PHP
40 lines
847 B
PHP
<?php
|
|
|
|
/**
|
|
*
|
|
* @package - Board3portal
|
|
* @version $Id$
|
|
* @copyright (c) kevin / saint ( http://www.board3.de/ ), (c) Ice, (c) nickvergessen ( http://www.flying-bits.org/ ), (c) redbull254 ( http://www.digitalfotografie-foren.de )
|
|
* @based on: phpBB3 Portal by Sevdin Filiz, www.phpbb3portal.com
|
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
|
*
|
|
*/
|
|
|
|
if (!defined('IN_PHPBB'))
|
|
{
|
|
exit;
|
|
}
|
|
|
|
if (!defined('IN_PORTAL'))
|
|
{
|
|
exit;
|
|
}
|
|
|
|
$links = ( strlen($portal_config['portal_links_array']) > 0 ) ? unserialize($portal_config['portal_links_array']) : array();
|
|
|
|
ksort( $links );
|
|
reset( $links );
|
|
|
|
foreach( $links as $link_id => $link_data )
|
|
{
|
|
$template->assign_block_vars('link', array(
|
|
'URL' => $link_data['url'],
|
|
'TEXT' => $link_data['text'],
|
|
));
|
|
}
|
|
|
|
$template->assign_vars(array(
|
|
'S_DISPLAY_LINKS' => true,
|
|
));
|
|
|
|
?>
|