Index: trunk/phpwiki/fpw/special_recentchangeslayout.php |
— | — | @@ -56,7 +56,9 @@ |
57 | 57 | $u = explode ( "." , $u ) ; |
58 | 58 | $u = $u[0].".".$u[1].".".$u[2].".xxx" ; |
59 | 59 | # $u = "<font color=red>$u</font>" ; # IPs in red, deactivated |
60 | | - } |
| 60 | + } else { |
| 61 | + $u .= $s->appendix ; |
| 62 | + } |
61 | 63 | $comment = trim($s->cur_comment) ; |
62 | 64 | if ( $comment == "*" ) $comment = "" ; |
63 | 65 | $o_comment = $comment ; |
Index: trunk/phpwiki/fpw/special_dohistory.php |
— | — | @@ -2,7 +2,7 @@ |
3 | 3 | include_once ( "special_recentchangeslayout.php" ) ; |
4 | 4 | |
5 | 5 | function doHistory ( $title ) { |
6 | | - global $THESCRIPT , $vpage , $wikiHistoryTitle , $wikiCurrentVersion , $wikiHistoryHeader ; |
| 6 | + global $THESCRIPT , $vpage , $wikiHistoryTitle , $wikiCurrentVersion , $wikiHistoryHeader , $wikiBlockIP ; |
7 | 7 | $vpage = new WikiPage ; |
8 | 8 | $vpage->SetTitle ( $title ) ; |
9 | 9 | $ti = $vpage->secureTitle ; |
— | — | @@ -38,6 +38,7 @@ |
39 | 39 | $version = 0; |
40 | 40 | foreach ( array_keys ( $a ) as $i ) { |
41 | 41 | if ( $version > 0 ) $a[$i]->version = $version; |
| 42 | + if ( $a[$i]->cur_used == 0 ) $a[$i]->appendix = " (<a href=\"".wikiLink("special:blockIP&target=".$a[$i]->cur_user_text)."\">$wikiBlockIP</a>)" ; # This will show for sysops only! |
42 | 43 | $version++; |
43 | 44 | } |
44 | 45 | |
Index: trunk/phpwiki/fpw/wikiTextEn.php |
— | — | @@ -367,6 +367,7 @@ |
368 | 368 | $wikiNoRefresh = "(The page was last refreshed just $1 minutes ago; please wait another $2 minutes and try again.)" ; |
369 | 369 | $wikiLastRefreshed = "Last refreshed $1" ; |
370 | 370 | $wikiValidate = "Validate this page" ; |
| 371 | +$wikiBlockIP = "Block this IP" ; |
371 | 372 | |
372 | 373 | #--------------------------- |
373 | 374 | #Functions |