Update archives, close #264

This commit is contained in:
Nicolas Stepien 2011-09-02 18:53:18 +02:00
parent 618689e382
commit a6b2513844
3 changed files with 13 additions and 3 deletions

View File

@ -2509,6 +2509,8 @@
var url;
switch (g.BOARD) {
case 'g':
url = "http://archive.installgentoo.net/cgi-board.pl/" + g.BOARD + "/thread/" + g.THREAD_ID;
break;
case 'lit':
case 'sci':
case 'tv':
@ -2518,7 +2520,7 @@
case 'jp':
case 'm':
case 'tg':
url = "http://archive.easymodo.net/cgi-board.pl/" + g.BOARD + "/thread/" + g.THREAD_ID;
url = "http://archive.easymodo.net/" + g.BOARD + "/thread/" + g.THREAD_ID;
break;
case '3':
case 'adv':

View File

@ -1,5 +1,11 @@
master
2.19.2
- mayhem
update archives redirections
- aeosynth
change unread favicons (by xat-)
2.19.1
- mayhem
fix OP indication in expanded comments

View File

@ -1944,10 +1944,12 @@ Favicon =
redirect = ->
switch g.BOARD
when 'g', 'lit', 'sci', 'tv'
when 'g'
url = "http://archive.installgentoo.net/cgi-board.pl/#{g.BOARD}/thread/#{g.THREAD_ID}"
when 'lit', 'sci', 'tv'
url = "http://archive.gentoomen.org/cgi-board.pl/#{g.BOARD}/thread/#{g.THREAD_ID}"
when 'a', 'jp', 'm', 'tg'
url = "http://archive.easymodo.net/cgi-board.pl/#{g.BOARD}/thread/#{g.THREAD_ID}"
url = "http://archive.easymodo.net/#{g.BOARD}/thread/#{g.THREAD_ID}"
when '3', 'adv', 'an', 'ck', 'co', 'fa', 'fit', 'int', 'k', 'mu', 'n', 'o', 'p', 'po', 'soc', 'sp', 'toy', 'trv', 'v', 'vp', 'x'
url = "http://archive.no-ip.org/#{g.BOARD}/thread/#{g.THREAD_ID}"
else