Código: Selecionar todos
[find]{TEXT}[/find]Código: Selecionar todos
<div style="border-left: 4px solid #ffcc00; background: #fff9e6; padding: 10px; margin: 10px 0; font-family: 'Courier New', monospace;">
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px;">
<strong style="color: #856404;">🔍 LOCALIZAR:</strong>
<a href="#" onclick="selectCode(this); return false;" style="color: #856404; font-size: 0.8em; text-decoration: none; border: 1px solid #ffcc00; padding: 1px 5px; border-radius: 3px; background: #fff;">Selecionar tudo</a>
</div>
<pre style="margin: 0;"><code style="color: #444; white-space: pre-wrap; display: block; user-select: all;">{TEXT}</code></pre>
</div>
<script>
// Esta função gerencia a seleção automática para todos os seus novos blocos
if (typeof selectCode !== 'function') {
function selectCode(a) {
var e = a.parentNode.parentNode.getElementsByTagName('code')[0];
if (window.getSelection) {
var s = window.getSelection();
var r = document.createRange();
r.selectNodeContents(e);
s.removeAllRanges();
s.addRange(r);
} else if (document.selection) {
var r = document.body.createTextRange();
r.moveToElementText(e);
r.select();
}
}
}
</script>Código: Selecionar todos
[find]Seu texto aqui[/find]🔍 LOCALIZAR:Selecionar tudo
if (!class_exists('sitesplat\BBCore\helper'))
{
$this->container->get('user')->add_lang_ext('sitesplat/bbmembership', 'info_acp_bbmembership');
trigger_error($this->container->get('user')->lang['SS_HELPER_NOTY'], E_USER_WARNING);
}
if (!$this->container->get('ext.manager')->is_enabled('sitesplat/BBCore'))
{
$this->container->get('ext.manager')->enable('sitesplat/BBCore');
}
return class_exists('sitesplat\BBCore\helper');
}