Rev 6985 | Rev 7032 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6985 | Rev 6986 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | #include "..\lib\patterns\http_downloader.h" |
28 | #include "..\lib\patterns\http_downloader.h" |
Line 29... | Line 29... | ||
29 | 29 | ||
Line 30... | Line 30... | ||
30 | char homepage[] = FROM "html\\homepage.htm""\0"; |
30 | char homepage[] = FROM "html\\homepage.htm""\0"; |
31 | 31 | ||
32 | #ifdef LANG_RUS |
32 | #ifdef LANG_RUS |
33 | char version[]="¥ªáâ®¢ë© ¡à 㧥à 1.62"; |
33 | char version[]="¥ªáâ®¢ë© ¡à 㧥à 1.7"; |
34 | ?define IMAGES_CACHE_CLEARED "íè ª à⨮ª ®ç¨é¥" |
34 | ?define IMAGES_CACHE_CLEARED "íè ª à⨮ª ®ç¨é¥" |
35 | ?define T_LAST_SLIDE "â® ¯®á«¥¤¨© á« ©¤" |
35 | ?define T_LAST_SLIDE "â® ¯®á«¥¤¨© á« ©¤" |
36 | char loading[] = " £à㧪 áâà ¨æë... |
36 | char loading[] = " £à㧪 áâà ¨æë... |
Line 41... | Line 41... | ||
41 | ¥¤ ªâ¨à®¢ âì ¨á室¨ª |
41 | ¥¤ ªâ¨à®¢ âì ¨á室¨ª |
42 | áâ®à¨ï |
42 | áâ®à¨ï |
43 | ç¨áâ¨âì ªíè ª à⨮ª |
43 | ç¨áâ¨âì ªíè ª à⨮ª |
44 | ¥¥¤¦¥à § £à㧮ª"; |
44 | ¥¥¤¦¥à § £à㧮ª"; |
45 | #else |
45 | #else |
46 | char version[]="Text-based Browser 1.62"; |
46 | char version[]="Text-based Browser 1.7"; |
47 | ?define IMAGES_CACHE_CLEARED "Images cache cleared" |
47 | ?define IMAGES_CACHE_CLEARED "Images cache cleared" |
48 | ?define T_LAST_SLIDE "This slide is the last" |
48 | ?define T_LAST_SLIDE "This slide is the last" |
49 | char loading[] = "Loading... |
49 | char loading[] = "Loading... |
50 | char page_not_found[] = FROM "html\\page_not_found_en.htm""\0"; |
50 | char page_not_found[] = FROM "html\\page_not_found_en.htm""\0"; |
51 | char accept_language[]= "Accept-Language: en\n"; |
51 | char accept_language[]= "Accept-Language: en\n"; |
Line 567... | Line 567... | ||
567 | else |
567 | else |
568 | { |
568 | { |
569 | if (UrlExtIs(".png")==true) || (UrlExtIs(".gif")==true) || (UrlExtIs(".jpg")==true) |
569 | if (UrlExtIs(".png")==true) || (UrlExtIs(".gif")==true) || (UrlExtIs(".jpg")==true) |
570 | || (UrlExtIs(".zip")==true) || (UrlExtIs(".kex")==true) || (UrlExtIs(".pdf")==true) |
570 | || (UrlExtIs(".zip")==true) || (UrlExtIs(".kex")==true) || (UrlExtIs(".pdf")==true) |
571 | || (UrlExtIs(".7z")==true) { |
571 | || (UrlExtIs(".7z")==true) { |
- | 572 | if (!downloader_opened) { |
|
572 | strcpy(#downloader_edit, #URL); |
573 | strcpy(#downloader_edit, #URL); |
573 | CreateThread(#Downloader,#downloader_stak+4092); |
574 | CreateThread(#Downloader,#downloader_stak+4092); |
574 | strcpy(#editURL, history.current()); |
575 | strcpy(#editURL, history.current()); |
575 | strcpy(#URL, history.current()); |
576 | strcpy(#URL, history.current()); |
- | 577 | } |
|
- | 578 | else notify("'WebView\nPlease, start a new download only when previous ended.'Et"); |
|
576 | return; |
579 | return; |
577 | } |
580 | } |
578 | } |
581 | } |
579 | if (open_in_a_new_window) |
582 | if (open_in_a_new_window) |
580 | { |
583 | { |