lilalo

diff l3-frontend @ 28:450b6ac9b657

Незначительные исправления:
* Исправлена обработка diff-файлов. Теперь они обрабатываются
в реальном времени
* Указан путь к mywi-client
* Исправлен путь к иконкам google/freebsd/linux
author devi
date Mon Nov 07 12:23:13 2005 +0200 (2005-11-07)
parents 098664cf339c
children b3f5f5560802
line diff
     1.1 --- a/l3-frontend	Mon Nov 07 11:24:49 2005 +0200
     1.2 +++ b/l3-frontend	Mon Nov 07 12:23:13 2005 +0200
     1.3 @@ -58,7 +58,7 @@
     1.4  	for my $command (split /\s+/,$commands) {
     1.5  		$command =~ s/'//g;
     1.6  		my $description="";
     1.7 -		eval { $description=`mywi-client '$command'`; } ;
     1.8 +		eval { $description=`/home/devi/bin/mywi-client '$command'`; } ;
     1.9  		$description = join ("<br>\n", grep(/\([18]\)/, split(/\n/, $description)));
    1.10  		$description =~ s/.*?-//;
    1.11  		next if $description =~ /^\s*$/; 
    1.12 @@ -457,15 +457,15 @@
    1.13  
    1.14  %Search_Machines = (
    1.15  		"google" => 	{ 	"query" => 	"http://www.google.com/search?q=" ,
    1.16 -					"icon" 	=> 	"google.ico" },
    1.17 +					"icon" 	=> 	"$Config{frontend_google_ico}" },
    1.18  		"freebsd" => 	{ 	"query" => 	"http://www.freebsd.org/cgi/man.cgi?query=",
    1.19 -					"icon"	=>	"freebsd.ico" },
    1.20 +					"icon"	=>	"$Config{frontend_freebsd_ico}" },
    1.21  		"linux"  => 	{ 	"query" => 	"http://man.he.net/?topic=",
    1.22 -					"icon"	=>	"linux.ico"},
    1.23 +					"icon"	=>	"$Config{frontend_linux_ico}"},
    1.24  		"opennet"  => 	{ 	"query" => 	"http://www.opennet.ru/search.shtml?words=",
    1.25 -					"icon"	=>	"opennet.ico"},
    1.26 +					"icon"	=>	"$Config{frontend_opennet_ico}"},
    1.27  		"local" => 	{ 	"query" => 	"http://www.freebsd.org/cgi/man.cgi?query=",
    1.28 -					"icon"	=>	"freebsd.ico" },
    1.29 +					"icon"	=>	"$Config{frontend_local_ico}" },
    1.30  
    1.31  	);
    1.32