themenız/Profile.template.phpde bul


[code]echo '



';[/code]

değiştir

[code]echo '


';
// load the post variables
loadLanguage('Post');
// The below array makes it dead easy to add images to this page. Add it to the array and everything else is done for you!
$context['bbc_tags'] = array();
$context['bbc_tags'][] = array(
'bold' => array('code' => 'b[/swf2][swf3]before' => '[/swf2][swf3]after' => '[/swf2][swf3]description' => $txt[253]),
'italicize' => array('code' => 'i[/swf2][swf3]before' => '[/swf2][swf3]after' => '[/swf2][swf3]description' => $txt[254]),
'underline' => array('code' => 'u[/swf2][swf3]before' => '[u][/swf2][swf3]after' => '[/swf2][swf3]description' => $txt[255]),
'img' => array('code' => 'img[/swf2][swf3]before' => '[/swf2][swf3]description' => $txt[435]),
'url' => array('code' => 'url[/swf2][swf3]before' => '[url][/swf2][swf3]after' => '[/url][/swf2][swf3]description' => $txt[257]),
'email' => array('code' => 'email[/swf2][swf3]before' => '[email][/swf2][swf3]after' => '[/email][/swf2][swf3]description' => $txt[258]),
'ftp' => array('code' => 'ftp[/swf2][swf3]before' => '[ftp][/swf2][swf3]after' => '[/ftp][/swf2][swf3]description' => $txt[434]),
'size' => array('code' => 'size[/swf2][swf3]before' => '[size=10pt][/swf2][swf3]after' => '[/swf2][swf3]description' => $txt[532]),
'face' => array('code' => 'font[/swf2][swf3]before' => '[font=Verdana][/swf2][swf3]after' => '[/swf2][swf3]description' => $txt[533]),
'pre' => array('code' => 'pre[/swf2][swf3]before' => '[pre][/swf2][swf3]after' => '[/pre][/swf2][swf3]description' => $txt[444]),
'left' => array('code' => 'left[/swf2][swf3]before' => '[left][/swf2][swf3]after' => '[/left][/swf2][swf3]description' => $txt[445]),
'center' => array('code' => 'center[/swf2][swf3]before' => '[/swf2][swf3]after' => '[/swf2][swf3]description' => $txt[256]),
'right' => array('code' => 'right[/swf2][swf3]before' => '[right][/swf2][swf3]after' => '[/right][/swf2][swf3]description' => $txt[446]),
'list' => array('code' => 'list[/swf2][swf3]before' => '[list]\n[li][/swf2][swf3]after' => '[/li]\n\n[/list][/swf2][swf3]description' => $txt[261]),
);
// Here loop through the array, printing the images/rows/separators!
foreach ($context['bbc_tags'][0] as $image => $tag)
{
// Is there a "before" part for this bbc button? If not, it can't be a button!!
if (isset($tag['before']))
{
// Is this tag disabled?
if (!empty($context['disabled_tags'][$tag['code']]))
continue;

// If there's no after, we're just replacing the entire selection in the post box.
if (!isset($tag['after']))
echo '';
// On the other hand, if there is one we are surrounding the selection ;).
else
echo '
';

// Okay... we have the link. Now for the image and the closing
!
echo '', $tag['description'], '';
}
}
echo '
';[/code]

Beğeniler: 0
Favoriler: 0
İzlenmeler: 529
favori
like
share