Rev 5987 | Rev 6001 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5987 | Rev 5990 | ||
---|---|---|---|
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.40"; |
32 | char version[]=" ¥ªáâ®¢ë© ¡à 㧥à 1.41"; |
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.40"; |
39 | char version[]=" Text-based Browser 1.41"; |
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 215... | Line 215... | ||
215 | // Loading the page is complete, free resources |
215 | // Loading the page is complete, free resources |
216 | if (redirected>0) |
216 | if (redirected>0) |
217 | { |
217 | { |
218 | http_free stdcall (http_transfer); |
218 | http_free stdcall (http_transfer); |
219 | http_transfer=0; |
219 | http_transfer=0; |
220 | PageLinks.GetAbsoluteURL(#URL); |
220 | GetAbsoluteURL(#URL); |
221 | History.back(); |
221 | History.back(); |
222 | strcpy(#editURL, #URL); |
222 | strcpy(#editURL, #URL); |
223 | DrawEditBox(); |
223 | DrawEditBox(); |
224 | OpenPage(); |
224 | OpenPage(); |
225 | } |
225 | } |
Line 516... | Line 516... | ||
516 | { |
516 | { |
517 | strcpy(#anchor, #URL+strrchr(#URL, '#')); |
517 | strcpy(#anchor, #URL+strrchr(#URL, '#')); |
518 | URL[strrchr(#URL, '#')-1] = 0x00; |
518 | URL[strrchr(#URL, '#')-1] = 0x00; |
519 | } |
519 | } |
Line 520... | Line 520... | ||
520 | 520 | ||
Line 521... | Line 521... | ||
521 | PageLinks.GetAbsoluteURL(#URL); |
521 | GetAbsoluteURL(#URL); |
522 | 522 | ||
523 | if (UrlExtIs(".png")==1) || (UrlExtIs(".gif")==1) || (UrlExtIs(".jpg")==1) || (UrlExtIs(".zip")==1) || (UrlExtIs(".kex")==1) |
523 | if (UrlExtIs(".png")==1) || (UrlExtIs(".gif")==1) || (UrlExtIs(".jpg")==1) || (UrlExtIs(".zip")==1) || (UrlExtIs(".kex")==1) |
524 | || (UrlExtIs(".7z")==1) || (UrlExtIs("netcfg")==1) |
524 | || (UrlExtIs(".7z")==1) || (UrlExtIs("netcfg")==1) |