diff --git a/ihtml/themes/breezy/simpleplugin_section.tpl b/ihtml/themes/breezy/simpleplugin_section.tpl index ce065e76ae595ab73b7713abfe55080ad4c8b4d2..e295bb5df789551b37ace958fb6a0986ae1a3cec 100644 --- a/ihtml/themes/breezy/simpleplugin_section.tpl +++ b/ihtml/themes/breezy/simpleplugin_section.tpl @@ -1,5 +1,5 @@ <fieldset id="{$sectionId}" class="plugin-section{$sectionClasses}"> - <legend><span>{if $sectionIcon}<img src="{$sectionIcon|escape}" alt=""/>{/if}{$section|escape}</span></legend> + <legend><span>{if !empty($sectionIcon)}<img src="{$sectionIcon|escape}" alt=""/>{/if}{$section|escape}</span></legend> <div> <table> {foreach from=$attributes item=attribute key=id} diff --git a/plugins/addons/dashboard/groups_stats.tpl b/plugins/addons/dashboard/groups_stats.tpl index f3150102aade6bf618072ee482a9c9ac5882e7e2..56452aae5570138bf3a1e9b7f642abdb2a241d6d 100644 --- a/plugins/addons/dashboard/groups_stats.tpl +++ b/plugins/addons/dashboard/groups_stats.tpl @@ -1,6 +1,6 @@ <div id="{$sectionId}" class="plugin-section"> <span class="legend"> - {if $sectionIcon}<img src="{$sectionIcon|escape}" alt=""/>{/if}{$section|escape} + {if !empty($sectionIcon)}<img src="{$sectionIcon|escape}" alt=""/>{/if}{$section|escape} </span> <div> <img src="{$attributes.groups_stats.img|escape}" alt="group icon"/> diff --git a/plugins/addons/dashboard/pwd_stats.tpl b/plugins/addons/dashboard/pwd_stats.tpl index 2beb83ec302afe50ca1a6ce1d66fafa425a1e4a0..add05c1706a746e6f930c2232b977ebeca8eb438 100644 --- a/plugins/addons/dashboard/pwd_stats.tpl +++ b/plugins/addons/dashboard/pwd_stats.tpl @@ -1,6 +1,6 @@ <div id="{$sectionId}" class="plugin-section"> <span class="legend"> - {if $sectionIcon}<img src="{$sectionIcon|escape}" alt=""/>{/if}{$section|escape} + {if !empty($sectionIcon)}<img src="{$sectionIcon|escape}" alt=""/>{/if}{$section|escape} </span> <div> <img src="{$attributes.pwds_stats.img|escape}" alt="user icon"/> diff --git a/plugins/addons/dashboard/users_accounts.tpl b/plugins/addons/dashboard/users_accounts.tpl index 8be66f49e53ece0e18115c23343f0f96da80e7b4..ac9b6dfb0fd72bf709c55493de9d5e84a7d455e3 100644 --- a/plugins/addons/dashboard/users_accounts.tpl +++ b/plugins/addons/dashboard/users_accounts.tpl @@ -1,6 +1,6 @@ <div id="{$sectionId}" class="plugin-section fullwidth"> <span class="legend"> - {if $sectionIcon}<img src="{$sectionIcon|escape}" alt=""/>{/if}{$section|escape} + {if !empty($sectionIcon)}<img src="{$sectionIcon|escape}" alt=""/>{/if}{$section|escape} </span> <div> <h1> diff --git a/plugins/addons/dashboard/users_stats.tpl b/plugins/addons/dashboard/users_stats.tpl index c6797eef6ccbec033772026826ed1a87d2b507ad..f49ba653d3330e53d84bb88eadad5ff2955feafa 100644 --- a/plugins/addons/dashboard/users_stats.tpl +++ b/plugins/addons/dashboard/users_stats.tpl @@ -1,6 +1,6 @@ <div id="{$sectionId}" class="plugin-section"> <span class="legend"> - {if $sectionIcon}<img src="{$sectionIcon|escape}" alt=""/>{/if}{$section|escape} + {if !empty($sectionIcon)}<img src="{$sectionIcon|escape}" alt=""/>{/if}{$section|escape} </span> <div> <img src="{$attributes.users_stats.img|escape}" alt="user icon"/> diff --git a/plugins/generic/references/contents.tpl b/plugins/generic/references/contents.tpl index eaf31cc3bc56af148b791d57138317b3428dc581..6af7a3f63ed29273b9e14e893063a182243f9367 100644 --- a/plugins/generic/references/contents.tpl +++ b/plugins/generic/references/contents.tpl @@ -1,6 +1,6 @@ <div id="{$sectionId}" class="plugin-section{$sectionClasses}"> <span class="legend"> - {if $sectionIcon}<img src="{$sectionIcon|escape}" alt=""/>{/if}{$section|escape} + {if !empty($sectionIcon)}<img src="{$sectionIcon|escape}" alt=""/>{/if}{$section|escape} </span> <div> {if $attributes.refs} diff --git a/setup/setup_checks.tpl b/setup/setup_checks.tpl index 8dccadf0c112132ecce84d321c0cd8d2cecc9799..39fc1ec57390ef79f19097343407233387e9ee9c 100644 --- a/setup/setup_checks.tpl +++ b/setup/setup_checks.tpl @@ -1,6 +1,6 @@ <div id="{$sectionId}" class="plugin-section"> <span class="legend"> - {if $sectionIcon}<img src="{$sectionIcon|escape}" alt=""/>{/if}{$section|escape} + {if !empty($sectionIcon)}<img src="{$sectionIcon|escape}" alt=""/>{/if}{$section|escape} </span> <div> {foreach from=$attributes item=infos} diff --git a/setup/setup_migrate.tpl b/setup/setup_migrate.tpl index 8072f33bbae936e5eee924951d89ea65f0305bcd..a165e2e906820bca8ba1154083b5027ebe35cc87 100644 --- a/setup/setup_migrate.tpl +++ b/setup/setup_migrate.tpl @@ -1,6 +1,6 @@ <div id="{$sectionId}" class="plugin-section{$sectionClasses}"> <span class="legend"> - {if $sectionIcon}<img src="{$sectionIcon|escape}" alt=""/>{/if}{$section|escape} + {if !empty($sectionIcon)}<img src="{$sectionIcon|escape}" alt=""/>{/if}{$section|escape} </span> <div> {foreach from=$attributes item=checks}