Modo nome: InformationBar
Mod Autor: 4kstore
Versão em Editar e Tecnologia Patch + Manual: SmfPt
/Themes/default/style.css
.redondeado:before {
background: transparent url(images/arr-der.png) scroll no-repeat top right;
margin-bottom: -10px;
height: 14px;
display: block;
border: none;
content: url(images/arr-izq.png);
padding: 0;
line-height: 0.1;
font-size: 1px;
}
.redondeado:after {
display: block;
line-height: 0.1;
font-size: 1px;
content: url(images/aba-izq.png);
margin: 2px 0 0 0;
height: 14px;
background: transparent url(images/aba-der.png) scroll no-repeat bottom right;
padding: 0;
}
.redondeado * {
padding-left: 25px;
padding-right: 25px;
}
.redondeado {
padding: 0;
background: #993333;
color: white;
margin-right: -1px;
}
Themes/default/index.template.php
template_menu();
template_menu();
if (!empty($modSettings['ib_text']) && !empty($modSettings['ib_enable']))
{
echo'<br /><div class="redondeado">
<p align="center"> ',$modSettings['ib_text'],'
</p>
</div> ';
}
Sources/ModSettings.php
// Basic stuff, user languages, titles, flash, permissions...
array('check', 'allow_guestAccess')
array('check', 'ib_enable'),
array('large_text', 'ib_text', '5'),
/Themes/default/languages/Modifications.teuidioma.php
?>
// InformationBarMod
$txt['ib_text'] = 'InformationBar Text <div class="smalltext">permitir codificar HTML.</div>';
$txt['ib_enable'] = 'Activar InformationBar';
/Themes/default/images