// Print a drop down list for all the colors we allow!
sonrasına ekle
// Java script to handle URL input boxes ...
echo '<script language="JavaScript" type="text/javascript">
// <!' . '--
function urlINPT(){
// Enter URL .........................................
var urlLINK = prompt("Lütfen URL Adresini Giriniz:","http://");
if (urlLINK == null ){ //cancel pressed . . .
}
else if (urlLINK == "" || urlLINK == " "){ //ok pressed but with Notext . . .
alert("Sorry no text entered!");
}
else
{ //ok pressed and there is something
// Enter Description ...................................
var urlNAME = prompt("Lütfen URL Adi Giriniz:","");
if (urlNAME == null ){ //cancel pressed . . .
}
else if (urlNAME == "" || urlNAME == " "){ //ok pressed but with notext so use URL only!
surroundText(\'\'+urlLINK+\'\', \'\', document.', $context['post_form'], '.', $context['post_box_name'], ');
}
else //ok pressed with text so use URL and Name!
surroundText(\'\'+urlNAME+\'\', \'\', document.', $context['post_form'], '.', $context['post_box_name'], ');
}
}
// --' . '>
</script>';
bul
foreach ($context['bbc_tags'][1] as $image => $tag)
{
if (isset($tag['before']))
{
// Is this tag disabled?
if (!empty($context['disabled_tags'][$tag['code']]))
continue;