mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/17291] Replace old forum GIFs with SVGs
PHPBB3-17291 Signed-off-by: Matt Friedman <maf675@gmail.com>
This commit is contained in:
@@ -869,28 +869,9 @@ class acp_forums
|
||||
{
|
||||
$forum_type = $row['forum_type'];
|
||||
|
||||
if ($row['forum_status'] == ITEM_LOCKED)
|
||||
{
|
||||
$folder_image = '<img src="images/icon_folder_lock.gif" alt="' . $user->lang['LOCKED'] . '" />';
|
||||
}
|
||||
else
|
||||
{
|
||||
switch ($forum_type)
|
||||
{
|
||||
case FORUM_LINK:
|
||||
$folder_image = '<img src="images/icon_folder_link.gif" alt="' . $user->lang['LINK'] . '" />';
|
||||
break;
|
||||
|
||||
default:
|
||||
$folder_image = ($row['left_id'] + 1 != $row['right_id']) ? '<img src="images/icon_subfolder.gif" alt="' . $user->lang['SUBFORUM'] . '" />' : '<img src="images/icon_folder.gif" alt="' . $user->lang['FOLDER'] . '" />';
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$url = $this->u_action . "&parent_id=$this->parent_id&f={$row['forum_id']}";
|
||||
|
||||
$template->assign_block_vars('forums', array(
|
||||
'FOLDER_IMAGE' => $folder_image,
|
||||
'FORUM_IMAGE' => ($row['forum_image']) ? '<img src="' . $phpbb_root_path . $row['forum_image'] . '" alt="" />' : '',
|
||||
'FORUM_IMAGE_SRC' => ($row['forum_image']) ? $phpbb_root_path . $row['forum_image'] : '',
|
||||
'FORUM_NAME' => $row['forum_name'],
|
||||
@@ -900,6 +881,8 @@ class acp_forums
|
||||
|
||||
'S_FORUM_LINK' => ($forum_type == FORUM_LINK) ? true : false,
|
||||
'S_FORUM_POST' => ($forum_type == FORUM_POST) ? true : false,
|
||||
'S_FORUM_LOCKED' => ($row['forum_status'] == ITEM_LOCKED) ? true : false,
|
||||
'S_SUBFORUMS' => ($row['left_id'] + 1 != $row['right_id']) ? true : false,
|
||||
|
||||
'U_FORUM' => $this->u_action . '&parent_id=' . $row['forum_id'],
|
||||
'U_MOVE_UP' => $url . '&action=move_up',
|
||||
|
Reference in New Issue
Block a user