[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r14868: (ticket:83) Adding WHOIS link to router detail (in torstatus/trunk/web: . css)



Author: kasimir
Date: 2008-05-31 12:27:04 -0400 (Sat, 31 May 2008)
New Revision: 14868

Modified:
   torstatus/trunk/web/config_template.php
   torstatus/trunk/web/css/main.css
   torstatus/trunk/web/index.php
   torstatus/trunk/web/router_detail.php
Log:
(ticket:83) Adding WHOIS link to router detail

Modified: torstatus/trunk/web/config_template.php
===================================================================
--- torstatus/trunk/web/config_template.php	2008-05-31 16:17:36 UTC (rev 14867)
+++ torstatus/trunk/web/config_template.php	2008-05-31 16:27:04 UTC (rev 14868)
@@ -131,7 +131,7 @@
 $DNSEL_Domain = null;
 $Hidden_Service_URL = null;
 
-$FlagOrder = "Authority,BadDirectory,BadExit,Exit,Fast,Fast,Named,Stable,Stable,Running,Valid,V2Dir,HSDir";
+$Fast = 1;
 
 // }}}
 

Modified: torstatus/trunk/web/css/main.css
===================================================================
--- torstatus/trunk/web/css/main.css	2008-05-31 16:17:36 UTC (rev 14867)
+++ torstatus/trunk/web/css/main.css	2008-05-31 16:27:04 UTC (rev 14868)
@@ -12,7 +12,6 @@
 
 a:hover 
 {
-/*	background-color: #8EFF80; */
 	text-decoration:none;
 }
 
@@ -24,7 +23,6 @@
 a.who:hover
 {
 	text-decoration: underline;
-	background-color: #BFFFDC;
 }
 
 a.plain,a.collapseinfobar,a.plainbox

Modified: torstatus/trunk/web/index.php
===================================================================
--- torstatus/trunk/web/index.php	2008-05-31 16:17:36 UTC (rev 14867)
+++ torstatus/trunk/web/index.php	2008-05-31 16:27:04 UTC (rev 14868)
@@ -2309,6 +2309,11 @@
 	}
 	else
 	{
+		if ($Fast == 1)
+		{
+			echo "data truncated";
+			break;
+		}
 		// Display header row
 		echo $HeaderRowString;
 	

Modified: torstatus/trunk/web/router_detail.php
===================================================================
--- torstatus/trunk/web/router_detail.php	2008-05-31 16:17:36 UTC (rev 14867)
+++ torstatus/trunk/web/router_detail.php	2008-05-31 16:27:04 UTC (rev 14868)
@@ -221,7 +221,16 @@
 	// Display router IP
 	echo "<tr>\n";
 	echo "<td class='TRAR'><b>IP Address:</b></td>\n";
-	echo "<td class='TRSB'>$IP</td>\n";
+	echo "<td class='TRSB'>";
+	if (defined("WHOISPath"))
+	{
+		echo "<a class='who' href='".WHOISPath.$IP."'>".$IP."</a>";
+	}
+	else
+	{
+		echo $IP;
+	}
+	echo "</td>\n";
 	echo "</tr>\n";
 
 	// Display router Hostname