".$lang['elements']."
";
$cm = $settings['BBCODEMASK'];
if ($cm&512)
BBCodeRow ($lang['link'],array("[url=www.google.com]".$lang['exampleLink']."[/url]"));
if ($cm&1)
BBCodeRow ($lang['bold'],array("[b]".$lang['exampleText']."[/b]"));
if ($cm&2)
BBCodeRow ($lang['italic'],array("[i]".$lang['exampleText']."[/i]"));
if ($cm&4)
BBCodeRow ($lang['underline'],array( "[u]".$lang['exampleText']."[/u]"));
if ($cm&16)
BBCodeRow ($lang['quote'],array( "[quote]".$lang['exampleText']."[/quote]","[quote=Nobody]".$lang['exampleText']."[/quote]"));
if ($cm&8)
BBCodeRow ($lang['code'],array( "[code]".$lang['exampleText']."[/code]"));
if ($cm&32)
BBCodeRow ($lang['left'],array( "[left]".$lang['exampleText']."[/left]"));
if ($cm&64)
BBCodeRow ($lang['center'],array( "[center]".$lang['exampleText']."[/center]"));
if ($cm&128)
BBCodeRow ($lang['right'],array( "[right]".$lang['exampleText']."[/right]"));
if ($cm&8192)
BBCodeRow ($lang['image'],array("[img]http://www.gnu.org/graphics/gnu-head-sm.jpg[/img]"));
if ($cm&2048) {
$lines = array();
$i = $settings['SIZEMIN'];
while ($i <= $settings['SIZEMAX']) {
$lines[] = "[size=$i]".$lang['exampleText']."[/size]";
$i++;
}
BBCodeRow ($lang['size'],$lines);
}
if (($cm&16384) || (($cm&1024) && ($settings['USERCOLORS'] != ""))) {
$lines = array();
if ($cm&1024) {
$lines[] = "[color=#FF0000]".$lang['exampleText']."[/color]";
}
if (($cm&16384) && ($settings['USERCOLORS'] != "")) {
$colors = explode("\n",$settings['USERCOLORS']);
foreach ($colors as $color) {
$name = explode("=",$color);
$lines[] = "[color=".$name[0]."]".$lang['exampleText']."[/color]";
}
}
BBCodeRow ($lang['color'],$lines);
}
if ($cm&4096) {
$lines = array();
if ($settings['USERFONTS'] == "")
$lines[] = "[font=Times]".$lang['exampleText']."[/font]";
else {
$fonts = explode("\n",$settings['USERFONTS']);
foreach ($fonts as $font) {
$lines[] = "[font=$font]".$lang['exampleText']."[/font]";
}
}
BBCodeRow ($lang['font'],$lines);
}
if ($cm&256)
BBCodeRow ($lang['list'],array("[list][*] ".
$lang['option']." 1 [*] ".$lang['option']." 2[/list]"));
echo "
|