Matteo
Pomógł: 1932 razy Posty: 5714
|
Wysłany: 03-09-2010, 21:33 How to remove the symbols (below the smiles)?
|
|
|
[ Question ]: How to remove the symbols (below the smiles) while writing a post?
[ Answer ]:
open posting.php
FIND and DELETE
Kod: | $symbols = array('µ','Ω','Π','φ','Δ','Θ','Λ','Σ','Φ','Ψ','α','β','χ','τ','γ','δ','ε','ζ','η','ψ','θ','λ','ξ','ρ','σ','ω','κ','Γ','♣','♥','ø','§','©','®','•','™','°','«','»','≤','≥','³','²','½','¼','¾','±','÷','×','√','∞','∫','≈','≠','≡','≈','←','→','↑','↓','↔','€','£','¥','¢','ƒ');
for($i = 0; $i < count($symbols); $i++)
{
$tr_symbol_begin = $tr_symbol_end = '';
if ( ($i / 11 == 1) || ($i / 11 == 2) || ($i / 11 == 3) || ($i / 11 == 4) || ($i / 11 == 5) || ($i / 11 == 6) || ($i / 11 == 7) )
{
$tr_symbol_begin = '<tr align="center" valign="middle">';
}
if ( ($i+1 / 11 == 1) || ($i+1 / 11 == 2) || ($i+1 / 11 == 3) || ($i+1 / 11 == 4) || ($i+1 / 11 == 5) || ($i+1 / 11 == 6) || ($i+1 / 11 == 7) )
{
$tr_symbol_end = '</tr>';
}
$template->assign_block_vars('symbols', array(
'TR_SYMBOL_BEGIN' => $tr_symbol_begin,
'TR_SYMBOL_END' => $tr_symbol_end,
'SYMBOL' => $symbols[$i])
);
} |
open templates/*/posting_body.tpl
FIND and DELETE
Kod: | <tr>
<td align="center">
<table align="center">
<tr align="center" valign="middle">
<!-- BEGIN symbols -->
{symbols.TR_SYMBOL_BEGIN}
<td>
<a href="javascript:emoticon('{symbols.SYMBOL}')" class="genmed"><b>{symbols.SYMBOL}</b></a>
</td>
{symbols.TR_SYMBOL_END}
<!-- END symbols -->
</tr>
</table>
</td>
</tr> |
(original content) |
_________________
Fora, strony, sklepy internetowe i wiele więcej...
matteo.fcb(at)gmail.com |
|