vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced Links Directory > vBa Links Directory v1.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 09-23-2004, 05:25 PM
Shon Shon is offline
Senior Member
 
Join Date: Mar 2004
Posts: 135
Default Front-end editing of links with quotes in title

When you click edit on a link with a quote or quotes in the title, it cuts off the text in the textbox from the first quote.

Example:
This is a "Title"

When editing:
This is a
Reply With Quote
  #2  
Old 09-23-2004, 07:32 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Front-end editing of links with quotes in title

In your addlink.php file look for:
PHP Code:
        $unhtml_linkname unhtmlspecialchars(stripslashes($link['name']));
        
$linkname stripslashes($link['name']);
        
$description unhtmlspecialchars(stripslashes($link['description']));
        
$linkurl unhtmlspecialchars(stripslashes($link['url']));
        
$keywords unhtmlspecialchars(stripslashes($link['keywords'])); 
Replace that with:
PHP Code:
        $unhtml_linkname stripslashes($link['name']);
        
$linkname stripslashes($link['name']);
        
$description stripslashes($link['description']);
        
$linkurl stripslashes($link['url']);
        
$keywords stripslashes($link['keywords']); 
And that should fix the problem.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
vBadvanced Links Directory RC3 Now Available! Brian Announcements 37 01-24-2005 05:58 AM
Replying to Links ricoche "How Do I..." Questions 3 09-15-2004 12:13 PM
Title not updated after editing StewardManscat Troubleshooting / "How do I..." Questions 1 07-06-2004 02:09 PM


All times are GMT -4. The time now is 06:32 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.