<type>
<name>com.woltlab.wcf.multifactor.backup</name>
<definitionname>com.woltlab.wcf.multifactor</definitionname>
- <icon>sticky-note</icon>
+ <icon>note-sticky</icon>
<priority>1</priority>
<classname>wcf\system\user\multifactor\BackupMultifactorMethod</classname>
</type>
{if $attachment->tinyThumbnailType}
<img src="{$attachment->getThumbnailLink('tiny')}" alt="" class="attachmentTinyThumbnail">
{else}
- <span class="icon icon64 fa-{@$attachment->getIconName()}"></span>
+ {icon size=64 name=$attachment->getIconName()}
{/if}
<div>
{foreach from=$multifactorMethods item=method}
{if $method->objectType !== 'com.woltlab.wcf.multifactor.backup' || $enabledMultifactorMethods[$method->objectTypeID]|isset}
<li class="box64">
- <div>
- <span class="icon icon64 fa-{if $method->icon}{$method->icon}{else}lock{/if} accountSecurityInformationIcon"></span>
+ <div class="accountSecurityInformationIcon">
+ {if $method->icon}
+ {icon size=64 name=$method->icon}
+ {else}
+ {icon size=64 name='lock'}
+ {/if}
</div>
<div class="accountSecurityContainer">
{foreach from=$activeSessions item=session}
<li class="box64 sessionItem">
<div>
- <span class="icon icon64 fa-{$session->getUserAgent()->getDeviceIcon()}"></span>
+ {icon size=64 name=$session->getUserAgent()->getDeviceIcon()}
</div>
<div class="accountSecurityContainer">
{if $attachment->showAsFile() && !$attachment->isEmbedded()}
<a href="{$attachment->getLink()}" class="messageAttachment jsTooltip" title="{lang}wcf.attachment.file.title{/lang}">
<span class="messageAttachmentIcon">
- <span class="messageAttachmentIconDefault icon icon32 fa-{@$attachment->getIconName()}"></span>
- <span class="messageAttachmentIconDownload icon icon32 fa-download"></span>
+ <span class="messageAttachmentIconDefault">
+ {icon size=32 name=$attachment->getIconName()}
+ </span>
+ <span class="messageAttachmentIconDownload">
+ {icon size=32 name='download'}
+ </span>
</span>
<span class="messageAttachmentFilename">{$attachment->filename}</span>
<span class="messageAttachmentMeta">{lang}wcf.attachment.file.info{/lang}</span>
{if $attachment->tinyThumbnailType}
<img src="{$attachment->getThumbnailLink('tiny')}" alt="" class="attachmentTinyThumbnail">
{else}
- <span class="icon icon64 fa-{@$attachment->getIconName()}"></span>
+ {icon size=64 name=$attachment->getIconName()}
{/if}
<div>
<img src="{$file->getImage()}" width="{$file->getWidth()}" height="{$file->getHeight()}" loading="lazy" alt="" class="formUploadHandlerContentListImage">
</a>
{else}
- <span class="icon icon64 fa-{$file->getIconName()}"></span>
+ {icon size=64 name=$file->getIconName()}
{/if}
<div>
{if $attachment->tinyThumbnailType}
<img src="{$attachment->getThumbnailLink('tiny')}" alt="" class="attachmentTinyThumbnail">
{else}
- <span class="icon icon64 fa-{@$attachment->getIconName()}"></span>
+ {icon size=64 name=$attachment->getIconName()}
{/if}
<div>
</div>
<ul class="buttonGroup">
- <li><span class="button small jsObjectAction" data-object-action="delete" data-confirm-message="{lang}wcf.attachment.delete.sure{/lang}">{lang}wcf.global.button.delete{/lang}</span></li>
+ <li><button type="button" class="button small jsObjectAction" data-object-action="delete" data-confirm-message="{lang}wcf.attachment.delete.sure{/lang}">{lang}wcf.global.button.delete{/lang}</button></li>
{if $attachment->isImage}
{if $attachment->thumbnailType}
- <li><span class="button small jsButtonAttachmentInsertThumbnail" data-object-id="{@$attachment->attachmentID}" data-url="{$attachment->getThumbnailLink('thumbnail')}">{lang}wcf.attachment.insertThumbnail{/lang}</span></li>
+ <li><button type="button" class="button small jsButtonAttachmentInsertThumbnail" data-object-id="{@$attachment->attachmentID}" data-url="{$attachment->getThumbnailLink('thumbnail')}">{lang}wcf.attachment.insertThumbnail{/lang}</button></li>
{/if}
- <li><span class="button small jsButtonAttachmentInsertFull" data-object-id="{@$attachment->attachmentID}" data-url="{$attachment->getLink()}">{lang}wcf.attachment.insertFull{/lang}</span></li>
+ <li><button type="button" class="button small jsButtonAttachmentInsertFull" data-object-id="{@$attachment->attachmentID}" data-url="{$attachment->getLink()}">{lang}wcf.attachment.insertFull{/lang}</button></li>
{else}
- <li><span class="button small jsButtonInsertAttachment" data-object-id="{@$attachment->attachmentID}">{lang}wcf.attachment.insert{/lang}</span></li>
+ <li><button type="button" class="button small jsButtonInsertAttachment" data-object-id="{@$attachment->attachmentID}">{lang}wcf.attachment.insert{/lang}</button></li>
{/if}
</ul>
</div>
{if $attachment->tinyThumbnailType}
<img src="{$attachment->getThumbnailLink('tiny')}" class="attachmentTinyThumbnail" alt="">
{else}
- <span class="icon icon64 fa-{@$attachment->getIconName()}"></span>
+ {icon size=64 name=$attachment->getIconName()}
{/if}
</a>
<img src="{$file->getImage()}" width="{$file->getWidth()}" height="{$file->getHeight()}" loading="lazy" alt="" class="formUploadHandlerContentListImage">
</a>
{else}
- <span class="icon icon64 fa-{$file->getIconName()}"></span>
+ {icon size=64 name=$file->getIconName()}
{/if}
<div>
}
}
-/* The smartphone icon is noticbly smaller than all other icons being used. */
-.accountSecurityInformationIcon.fa-mobile {
- font-size: 70px;
-}
-
.accountSecurityInformation {
flex: 1 auto;
}