Pentru scriptul sursa:
- BBCode usage | Afiseaza codul
[code][sursa={TEXT2}]{TEXT1}
[/code][/sursa]
- HTML replacement | Afiseaza codul
<dl class="sursa"><dt>{TEXT2} | <a href="javascript: void(0);" onclick="var spoiler = this.parentNode.parentNode.getElementsByTagName('dd')[0]; if ( spoiler.style.display == 'none' ) { spoiler.style.display = 'block'; this.innerHTML = ' Hide code '; } else { spoiler.style.display = 'none'; this.innerHTML = ' Show code '; };"> Show code </a></span></dt><dd id="sursa" style="display: none; margin-top: 10px; margin-bottom: 10px;" overflow: auto; width: 100%;><pre>{TEXT1}</pre></dd></dl>
- Help line | Afiseaza codul
[Sursa=Nume]Text[Sursa]
Dupa aceea mergeti in ACP - Styles - Themes - Tema dvs ( dati edit ) - Alegeti fisierul
stylesheet.css - Submit - Adaugati la sfarsit:
- | Afiseaza codul
[code]
dl.sursa {
backgorund: #eef1f5;
margin: 4px;
padding: 4px;
border-style: dotted;
border-color: #325375;
border-top-width: 2px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
font-style: 1.0em normal;
}[/code]
Design-ul sursei poate fi modificat oicum dupa placul dvs., trebuie doar sa editati ce v-am dat mai sus in
stylesheet.css ( sau sa adaugati alte borduri, culori etc. )
Submit - Purge the cache.
Pentru avertismente x din 3 ( (c) IsTI37 )
ACP - Styles - Templates - Alegeti tema dvs. - dati click pe edit langa ea - Alegeti fisierul
viewtopic_body.html.
Cautati linia
Code: Select all
{postrow.custom_fields.PROFILE_FIELD_VALUE}
<!-- END custom_fields -->
Adaugati dupa:
- | Afiseaza codul
<br />
<!-- IF postrow.POSTER_WARNINGS -->
<div><span style='color:#aa0000;font-weight:bold;'>Avertismente:</span> {postrow.POSTER_WARNINGS} din 3</div>
<!-- ENDIF -->
( ce e cu rosu editati dupa bunul plac :D )
Submit - Purge the cache si eventual un refresh theme.
Nu uitati sa dati un daca v-a fost de folos!