Avatar

bbcode URL in new window?? (General)

by Auge ⌂, Tuesday, March 02, 2010, 13:13 (5184 days ago) @ paullecorde

Hello

Where do I set this attribute? in function.inc.php?

Yes, you have to set it in the functions for the Stringparser-BB-Code-Class. You'll find the functions wich generates the links from the bb-codes in line 387 (do_bbcode_url) and line 415 (do_bbcode_msg). Attention: The function do_bbcode_msg is exclusive for links to other messages in your forum. Normally it is not wanted to open these links in a new window or tab.

And changing the doctype, is this at the top of main.tpl?

Yes, the doctype is defined in the first line of the HTML-output.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

This is the doctype declaration for XHTML 1.0 transitional (could be in one line instead two lines as seen here).

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!


Complete thread:

 RSS Feed of thread