Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[phoenix-dev] Large Change Voting Request - /eclipse.org-common/

Please see https://bugs.eclipse.org/bugs/show_bug.cgi?id=133026, for more details.

 

I have attached the patch to that bug and will be awaiting +1’s or -1’s.

 

Below are the details of what I have changed in /eclipse.org-common/system/rss.php

 

Before

 

$html .= "<a href="" target=\"_blank\">$item->title</a>";

 

 

After

 

// Added a string compare here to not force the creation of a new window when the link exists on www.eclipse.org

// 22 being the length of "http://www.eclipse.org" --NG

if (strncasecmp($item->link, "http://www.eclipse.org", 22))

{

       $html .= "<a href="" target=\"_blank\">$item->title</a>";

}

else

{

       $html .= "<a href="">

}

 

Nathan Gervais

nathan.gervais@xxxxxxxxxxx

Web Developer

Eclipse Foundation [http://www.eclipse.org]

 

 


Back to the top