1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +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:
Matt Friedman
2024-02-23 13:29:34 -08:00
parent 2c29c8352a
commit 873c838d57
9 changed files with 21 additions and 32 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 662 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 708 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 681 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 725 B

View File

@@ -65,6 +65,7 @@ $template->set_custom_style(
$phpbb_admin_path . 'style',
$phpbb_root_path . 'styles/all/imgs/',
$phpbb_root_path . 'styles/all/template/',
$phpbb_root_path . 'styles/prosilver/imgs/',
],
);

View File

@@ -348,7 +348,7 @@
<!-- EVENT acp_forums_rules_settings_append -->
</fieldset>
</div>
<!-- EVENT acp_forums_custom_settings -->
<fieldset class="submit-buttons">
@@ -472,7 +472,14 @@
<tbody>
<!-- BEGIN forums -->
<tr>
<td class="folder">{forums.FOLDER_IMAGE}</td>
<td class="folder">
{{ Icon('svg', {
'link-variant' : forums.S_FORUM_LINK,
'lock' : forums.S_FORUM_LOCKED,
'file-document-box-multiple-outline' : forums.S_SUBFORUMS,
'file-document-box-outline' : true,
}, '', true, 'c-forum-row-icon') }}
</td>
<td class="forum-desc">
<!-- IF forums.FORUM_IMAGE --><div style="float: {S_CONTENT_FLOW_BEGIN}; margin-right: 5px;">{forums.FORUM_IMAGE}</div><!-- ENDIF -->
<strong><!-- IF forums.S_FORUM_LINK -->{forums.FORUM_NAME}<!-- ELSE --><a href="{forums.U_FORUM}">{forums.FORUM_NAME}</a><!-- ENDIF --></strong>

View File

@@ -132,7 +132,13 @@
<tbody>
<!-- BEGIN modules -->
<tr>
<td style="width: 5%; text-align: center;">{modules.MODULE_IMAGE}</td>
<td style="width: 5%; text-align: center;">
{{ Icon('svg', {
'lock' : not modules.MODULE_ENABLED,
'file-document-box-multiple-outline' : modules.S_SUB_MODULE,
'file-document-box-outline' : true,
}, '', true, 'c-forum-row-icon', {'style' : 'width: 27px; height: 27px;'}) }}
</td>
<td><a href="{modules.U_MODULE}">{modules.MODULE_TITLE}</a><!-- IF not modules.MODULE_DISPLAYED --> <span class="small">[{L_HIDDEN_MODULE}]</span><!-- ENDIF --></td>
<td style="width: 15%; white-space: nowrap; text-align: center; vertical-align: middle;">&nbsp;<!-- IF modules.MODULE_ENABLED --><a href="{modules.U_DISABLE}">{L_DISABLE}</a><!-- ELSE --><a href="{modules.U_ENABLE}">{L_ENABLE}</a><!-- ENDIF -->&nbsp;</td>
<td class="actions">