Add target option to Link


Notice: Undefined variable: params in /home/rogerlov/public_html/blog/skins/print/index.main.php on line 63

Warning: array_merge(): Argument #2 is not an array in /home/rogerlov/public_html/blog/skins/print/index.main.php on line 63

v 6.10.3
Have made a copy of the quicktags plugin >> _myhtmltags.plugin.php
Removed a few header comments and the modified line is now
Line 446
See below for former hack


Links:
I have added a prompt to request a target when creating links. I have made [_self] the default value.

There is no need to enter the underscore [_], that is hard coded, so any target value will be prefixed with an underscore. So just need to enter 'blank' for example

/plugins/_qucktags.plugin.php

Line 451 in versions: 6.9.3 to 6.10.2
From:

PHP

b2evoButtons[i].tagStart '<a href="' URL '">';

To:

PHP

b2evoButtons[i].tagStart '<a href="'  URL '" target="_'prompt('target','self') + '">';