Rev 4416 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4416 | Rev 4417 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | //images |
24 | //images |
25 | #include "img\toolbar_icons.c" |
25 | #include "img\toolbar_icons.c" |
26 | #include "img\URLgoto.txt"; |
26 | #include "img\URLgoto.txt"; |
Line 27... | Line 27... | ||
27 | 27 | ||
28 | #ifdef LANG_RUS |
28 | #ifdef LANG_RUS |
29 | char version[]=" ¥ªáâ®¢ë© ¡à 㧥à 0.99.31"; |
29 | char version[]=" ¥ªáâ®¢ë© ¡à 㧥à 0.99.5"; |
- | 30 | ?define IMAGES_CACHE_CLEARED "íè ª à⨮ª ®ç¨é¥" |
|
30 | ?define IMAGES_CACHE_CLEARED "íè ª à⨮ª ®ç¨é¥" |
31 | ?define T_LAST_SLIDE "â® ¯®á«¥¤¨© á« ©¤" |
31 | #else |
32 | #else |
32 | char version[]=" Text-based Browser 0.99.31"; |
33 | char version[]=" Text-based Browser 0.99.5"; |
- | 34 | ?define IMAGES_CACHE_CLEARED "Images cache cleared" |
|
33 | ?define IMAGES_CACHE_CLEARED "Images cache cleared" |
35 | ?define T_LAST_SLIDE "This slide is the last" |
Line 34... | Line 36... | ||
34 | #endif |
36 | #endif |
35 | 37 | ||
36 | proc_info Form; |
38 | proc_info Form; |
Line 336... | Line 338... | ||
336 | 338 | ||
337 | void ProcessLinks(int id) |
339 | void ProcessLinks(int id) |
338 | { |
340 | { |
Line -... | Line 341... | ||
- | 341 | GetURLfromPageLinks(id); |
|
- | 342 | ||
- | 343 | //$1 - Condition Script |
|
- | 344 | if (URL[0] == '$') |
|
- | 345 | { |
|
- | 346 | if (URL[1]=='-') && (condition_href) condition_href--; |
|
- | 347 | if (URL[1]=='+') |
|
- | 348 | { |
|
- | 349 | if (condition_href |
|
- | 350 | } |
|
- | 351 | if (URL[1]!='-') && (URL[1]!='+') condition_href = atoi(#URL+1); |
|
- | 352 | strcpy(#URL, BrowserHistory.CurrentUrl()); |
|
- | 353 | WB1.ShowPage(); |
|
339 | GetURLfromPageLinks(id); |
354 | return; |
340 | 355 | } |
|
341 | //#1 |
356 | //#1 |
342 | if (URL[0] == '#') |
357 | if (URL[0] == '#') |
343 | { |
- | |
344 | strcpy(#anchor, #URL+strrchr(#URL, '#')); |
358 | { |
345 | - | ||
346 | strcpy(#URL, BrowserHistory.CurrentUrl()); |
359 | strcpy(#anchor, #URL+strrchr(#URL, '#')); |
347 | 360 | strcpy(#URL, BrowserHistory.CurrentUrl()); |
|
348 | WB1.list.first=WB1.list.count-WB1.list.visible; |
361 | WB1.list.first=WB1.list.count-WB1.list.visible; |
349 | WB1.ShowPage(); |
362 | WB1.ShowPage(); |
350 | return; |
363 | return; |
351 | } |
364 | } |
352 | //liner.ru#1 |
365 | //liner.ru#1 |
353 | if (strrchr(#URL, '#')<>-1) |
366 | if (strrchr(#URL, '#')!=-1) |
354 | { |
367 | { |
355 | strcpy(#anchor, #URL+strrchr(#URL, '#')); |
368 | strcpy(#anchor, #URL+strrchr(#URL, '#')); |