Subversion Repositories Kolibri OS

Rev

Rev 5990 | Rev 6021 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5990 Rev 6001
Line 27... Line 27...
27
#include "..\lib\patterns\history.h"
27
#include "..\lib\patterns\history.h"
Line 28... Line 28...
28
 
28
 
Line 29... Line 29...
29
char homepage[] = FROM "html\\homepage.htm";
29
char homepage[] = FROM "html\\homepage.htm";
30
 
30
 
31
#ifdef LANG_RUS
31
#ifdef LANG_RUS
32
	char version[]=" ’¥ªáâ®¢ë© ¡à ã§¥à 1.41";
32
	char version[]=" ’¥ªáâ®¢ë© ¡à ã§¥à 1.42";
33
	?define IMAGES_CACHE_CLEARED "Šíè ª à⨭®ª ®ç¨é¥­"
33
	?define IMAGES_CACHE_CLEARED "Šíè ª à⨭®ª ®ç¨é¥­"
34
	?define T_LAST_SLIDE "â® ¯®á«¥¤­¨© á« ©¤"
34
	?define T_LAST_SLIDE "â® ¯®á«¥¤­¨© á« ©¤"
35
	char loading[] = "‡ £à㧪  áâà ­¨æë...
";
35
	char loading[] = "‡ £à㧪  áâà ­¨æë...
";
36
	char page_not_found[] = FROM "html\page_not_found_ru.htm";
36
	char page_not_found[] = FROM "html\page_not_found_ru.htm";
37
	char accept_language[]= "Accept-Language: ru\n";
37
	char accept_language[]= "Accept-Language: ru\n";
38
#else
38
#else
39
	char version[]=" Text-based Browser 1.41";
39
	char version[]=" Text-based Browser 1.42";
40
	?define IMAGES_CACHE_CLEARED "Images cache cleared"
40
	?define IMAGES_CACHE_CLEARED "Images cache cleared"
41
	?define T_LAST_SLIDE "This slide is the last"
41
	?define T_LAST_SLIDE "This slide is the last"
42
	char loading[] = "Loading...
";
42
	char loading[] = "Loading...
";
Line 87... Line 87...
87
 
87
 
88
#include "..\TWB\TWB.c"
88
#include "..\TWB\TWB.c"
89
#include "menu.h"
89
#include "menu.h"
90
#include "history.h"
90
#include "history.h"
91
#include "show_src.h"
91
#include "show_src.h"
92
#include "network_get.h"
92
#include "http_downloader.h"
Line 93... Line 93...
93
#include "downloader.h"
93
#include "download_manager.h"
94
 
94
 
95
char editURL[sizeof(URL)];
95
char editURL[sizeof(URL)];
Line 356... Line 356...
356
			strcpy(#URL, URL_SERVICE_HISTORY);
356
			strcpy(#URL, URL_SERVICE_HISTORY);
357
			OpenPage();
357
			OpenPage();
358
			return;
358
			return;
359
		case DOWNLOAD_MANAGER:
359
		case DOWNLOAD_MANAGER:
360
			if (!downloader_opened) {
360
			if (!downloader_opened) {
361
				strlcpy(#DL_URL, "http://",7);
361
				downloader_edit = NULL;
362
				CreateThread(#Downloader,#downloader_stak+4092);
362
				CreateThread(#Downloader,#downloader_stak+4092);
363
			}
363
			}
364
			return;
364
			return;
365
	}
365
	}
366
}
366
}
Line 524... Line 524...
524
	|| (UrlExtIs(".7z")==1) || (UrlExtIs("netcfg")==1) 
524
	|| (UrlExtIs(".7z")==1) || (UrlExtIs("netcfg")==1) 
525
	{
525
	{
526
		//notify(#URL);
526
		//notify(#URL);
527
		if (!strncmp(#URL,"http://", 7))
527
		if (!strncmp(#URL,"http://", 7))
528
		{
528
		{
529
			strcpy(#DL_URL, #URL);
529
			strcpy(#downloader_edit, #URL);
530
			CreateThread(#Downloader,#downloader_stak+4092);
530
			CreateThread(#Downloader,#downloader_stak+4092);
531
		}
531
		}
532
		else RunProgram("@open", #URL);
532
		else RunProgram("@open", #URL);
533
		strcpy(#editURL, History.current());
533
		strcpy(#editURL, History.current());
534
		strcpy(#URL, History.current());
534
		strcpy(#URL, History.current());