Links block V1, lang other than english needs update

This commit is contained in:
Ice
2008-04-25 22:31:59 +00:00
parent f946690f06
commit 903aaf8574
11 changed files with 203 additions and 42 deletions

View File

@@ -20,6 +20,19 @@ 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,
));