|
From: FlorinCB <ory...@us...> - 2008-09-17 17:58:47
|
Update of /cvsroot/mxbb/mx_smartor/album_mod/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24955 Modified Files: album_functions.php Log Message: found big bug when phpbb2 Index: album_functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/includes/album_functions.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** album_functions.php 1 Sep 2008 01:11:48 -0000 1.6 --- album_functions.php 18 Sep 2008 00:58:43 -0000 1.7 *************** *** 172,176 **** function album_get_profile_url($mode, $user_id, $username = false, $user_color = false) { ! global $lang, $userdata; switch (PORTAL_BACKEND) --- 172,176 ---- function album_get_profile_url($mode, $user_id, $username = false, $user_color = false) { ! global $lang, $userdata, $theme; switch (PORTAL_BACKEND) *************** *** 194,203 **** { $user_colour = $theme['fontcolor1']; ! $topic_poster_style = 'style="font-weight : bold;"'; } $profile_url = ''; ! $full_url = ($user_id == ANONYMOUS) ? '<span ' . $topic_poster_style . '>' . $lang['Guest'] . '</span>' : '<span ' . $topic_poster_style . '>' . $username . '</span>'; break; --- 194,203 ---- { $user_colour = $theme['fontcolor1']; ! $user_style = 'style="font-weight : bold;"'; } $profile_url = ''; ! $full_url = ($user_id == ANONYMOUS) ? '<span ' . $user_style . '>' . $lang['Guest'] . '</span>' : '<span ' . $topic_poster_style . '>' . $username . '</span>'; break; *************** *** 222,226 **** { $user_colour = $theme['fontcolor1']; ! $topic_poster_style = 'style="font-weight : bold;"'; } --- 222,226 ---- { $user_colour = $theme['fontcolor1']; ! $user_style = 'style="font-weight : bold;"'; } *************** *** 229,233 **** { $profile_url = mx3_append_sid(PHPBB_URL . "profile.$phpEx", 'mode=viewprofile&u=' . (int) $user_id); ! $full_url = '<a href="' . $profile_url . '"><span ' . $topic_poster_style . '>' . $username . '</span></a>'; } else --- 229,233 ---- { $profile_url = mx3_append_sid(PHPBB_URL . "profile.$phpEx", 'mode=viewprofile&u=' . (int) $user_id); ! $full_url = '<a href="' . $profile_url . '"><span ' . $user_style . '>' . $username . '</span></a>'; } else |