SVN: toys/rsget.pl: Link/Simple RSGet/HTTPRequest.pm data/main.css data/main.js

sparky sparky at pld-linux.org
Sat Sep 19 21:17:41 CEST 2009


Author: sparky
Date: Sat Sep 19 21:17:41 2009
New Revision: 10622

Modified:
   toys/rsget.pl/Link/Simple
   toys/rsget.pl/RSGet/HTTPRequest.pm
   toys/rsget.pl/data/main.css
   toys/rsget.pl/data/main.js
Log:
- minor changes


Modified: toys/rsget.pl/Link/Simple
==============================================================================
--- toys/rsget.pl/Link/Simple	(original)
+++ toys/rsget.pl/Link/Simple	Sat Sep 19 21:17:41 2009
@@ -2,7 +2,10 @@
 
 name: Simple
 short: simple.link
-uri: qr{4gk\.com/|xurl\.jp/|tinyurl\.com/|linkhider\.com/}
+uri: qr{4gk\.com/}
+uri: qr{xurl\.jp/}
+uri: qr{tinyurl\.com/}
+uri: qr{linkhider\.com/}
 status: OK 2009-09-12
 
 start:

Modified: toys/rsget.pl/RSGet/HTTPRequest.pm
==============================================================================
--- toys/rsget.pl/RSGet/HTTPRequest.pm	(original)
+++ toys/rsget.pl/RSGet/HTTPRequest.pm	Sat Sep 19 21:17:41 2009
@@ -602,7 +602,7 @@
 		$r .= f_msg( "f_addlist", "ERROR: No such add list" );
 	} elsif ( not ref $list ) {
 		$r .= '<fieldset id="f_listask"></fieldset>';
-		$r .= f_msg( "f_addlist", $list );
+		$r .= f_msg( "f_addlist", $list . '; <a href="/">to main page</a>' );
 	} else {
 		if ( $post->{select_clone} ) {
 			my $ask_clone;

Modified: toys/rsget.pl/data/main.css
==============================================================================
--- toys/rsget.pl/data/main.css	(original)
+++ toys/rsget.pl/data/main.css	Sat Sep 19 21:17:41 2009
@@ -73,6 +73,12 @@
 a:focus, a:hover {
 	text-decoration: underline;
 }
+h2 a, h2 a:visited {
+	border-bottom: 2px dashed black;
+}
+h2 a:focus, h2 a:hover {
+	border-bottom: none;
+}
 
 li.active, li.file, li.uri, li.comment {
 	display: block;

Modified: toys/rsget.pl/data/main.js
==============================================================================
--- toys/rsget.pl/data/main.js	(original)
+++ toys/rsget.pl/data/main.js	Sat Sep 19 21:17:41 2009
@@ -100,10 +100,14 @@
 			node.parentNode.removeChild( node );
 		}
 	}
+	var al = 0;
 	for ( var id in nid ) {
 		node = nid[ id ];
 		o.appendChild( node );
+		al = 1;
 	}
+	if ( al )
+		alert( "Assist needed" );
 }
 
 function add_DL_commands( list )


More information about the pld-cvs-commit mailing list