Autor Zpráva
anti
Profil *
Na phpBB fore som nahodil som Color Groups MOD a hlasi mi to chybu :

Fatal error: Call to undefined function assign_var() in /home/ftpsite/s3kers.profitux.cz/forum/includes/functions_color_groups .php  on line 235



tu je cast toho suboru :


function color_groups_setup_list()
{
global $lang, $template, $db;
static $list;

if (empty($list))
{
$sql = 'SELECT * FROM ' . COLOR_GROUPS_TABLE . '
WHERE hidden = 0
ORDER BY order_num ASC';
if (!$result = $db->sql_query($sql)) message_die(GENERAL_ERROR, $lang['Error_Group_Table'], '', __LINE__, __FILE__, $sql);
$list = '';
while ($row = $db->sql_fetchrow($result))
{
$list .= '&nbsp;[ <span style="font-weight:bold;color:' . stripslashes($row['group_color']) . '">' . stripslashes($row['group_name']) . '</span> ]&nbsp;';
}
}

235. riadok $template->assign_var('COLOR_GROUPS_LIST', $list);
}
Toto téma je uzamčeno. Odpověď nelze zaslat.

0