Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Linking in categories without open a new window  (Read 2845 times)

0 Members and 1 Guest are viewing this topic.

Vermeer

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 21
« Last Edit: November 15, 2005, 04:50:31 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Linking in categories without open a new window
« Reply #1 on: November 15, 2005, 03:21:48 pm »

You can modify the bbcode function in include/functions.inc.php

Code: [Select]
$bbcode_tpl['url']  = '<span class="bblink"><a href="{URL}" target="_blank">{DESCRIPTION}</a></span>';

Just remove the target="_blank"
Logged

Vermeer

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 21
Re: Linking in categories without open a new window
« Reply #2 on: November 15, 2005, 04:45:15 pm »

Thanks, that's what i need!
And it's even better: I must not remove the "target=_bl..", form [url], i can create an own tag [urlintern] without the target-attribute!

Thanks again
Vermeer
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.