Subversion Repositories Kolibri OS

Rev

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

Rev 3987 Rev 3990
Line 6... Line 6...
6
	blink;
6
	blink;
7
 
7
 
Line 8... Line 8...
8
char download_path[]="/rd/1/.download";
8
char download_path[]="/rd/1/.download";
9
char search_path[]="http://nigma.ru/index.php?s=";
9
char search_path[]="http://nigma.ru/index.php?s=";
10
char version[]=" Text-based Browser 0.99.04";
10
char version[]=" Text-based Browser 0.99.05";
Line 11... Line 11...
11
 
11
 
12
 
12
 
13
struct TWebBrowser {
13
struct TWebBrowser {
Line 256... Line 256...
256
			if ((strstr(#editURL,"ttp://")==0) && (editURL[0]!='/')) strcpy(#URL,"http://"); else URL[0] = 0;
256
			if ((strstr(#editURL,"ttp://")==0) && (editURL[0]!='/')) strcpy(#URL,"http://"); else URL[0] = 0;
257
			strcat(#URL, #editURL);
257
			strcat(#URL, #editURL);
258
			OpenPage();
258
			OpenPage();
259
			return;
259
			return;
260
		case 173:	//ctrl+enter
260
		case SEARCHWEB:
261
		case SEARCHWEB:
-
 
262
			strcpy(#URL, #search_path);
261
			strcpy(#URL, #search_path);
263
			strcat(#URL, #editURL);
262
			strcat(#URL, #editURL);
264
			OpenPage();
263
			OpenPage();
265
			return;
264
			return;
266
 
265
 
Line 296... Line 295...
296
	ParseHTML(buf);
295
	ParseHTML(buf);
297
}
296
}
298
 
297
 
Line 299... Line 298...
299
 
298
 
300
char *ABSOLUTE_LINKS[]={ "http:", "mailto:", "ftp:", "/sys/", "/rd/", "/fd/", "/bd/", "/hd/", "/cd/", "/tmp/", 0};
299
char *ABSOLUTE_LINKS[]={ "http:", "mailto:", "ftp:", "/sys/", "/kolibrios/", "/rd/", "/bd", "/hd", "/cd", "/tmp", "/usbhd", 0};
301
//dword TWebBrowser::GetNewUrl(dword CUR_URL, NEW_URL){
300
//dword TWebBrowser::GetNewUrl(dword CUR_URL, NEW_URL){
302
void TWebBrowser::GetNewUrl(){
301
void TWebBrowser::GetNewUrl(){
Line 303... Line 302...
303
	int i, len;
302
	int i, len;