From: <no...@kr...> - 2007-10-31 18:15:42
|
Revision: 4238 Author: noam Date: 2007-10-31 14:15:40 -0400 (Wed, 31 Oct 2007) Log Message: ----------- replace_dupes() - made preview of conflicting URLs open a new window instead of using the current one Modified Paths: -------------- trunk/krang/lib/Krang/CGI/Story.pm Modified: trunk/krang/lib/Krang/CGI/Story.pm =================================================================== --- trunk/krang/lib/Krang/CGI/Story.pm 2007-10-31 18:06:40 UTC (rev 4237) +++ trunk/krang/lib/Krang/CGI/Story.pm 2007-10-31 18:15:40 UTC (rev 4238) @@ -2104,7 +2104,7 @@ if ($error->stories) { # dupe story alerts get a special easily-readable table of IDs/URLs; we build the rows here - my $dupes = join ('', map { sprintf(qq{<tr> <td> %d </td> <td> <a href="%s">%s</a> </td> </tr>}, + my $dupes = join ('', map { sprintf(qq{<tr> <td> %d </td> <td> <a href="%s" target='_blank'>%s</a> </td> </tr>}, $_->{id}, 'http://'.$_->{url}, $_->{url}) } @{$error->stories}); # and we throw (using $s for plural messages, $q for quotes, $f for form)... |