Rev 8016 | Rev 8396 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
7743 | leency | 1 | #ifdef LANG_RUS |
2 | #define HISTORY_HEADER " |
||
3 | |||
4 |
|
||
5 | |||
6 | |||
7 |
|
||
8 | |||
9 | Посещенные страницы |
||
10 | " |
||
11 | #else |
||
12 | #define HISTORY_HEADER " |
||
13 | |||
14 |
|
||
15 | |||
16 | |||
17 |
|
||
18 | |||
19 | Visited pages |
||
20 | " |
||
21 | #endif |
||
22 | |||
23 | |||
4636 | leency | 24 | ShowHistory() |
25 | { |
||
7750 | leency | 26 | int i; |
27 | static int history_pointer; |
||
28 | int t; |
||
29 | |||
30 | free(history_pointer); |
||
31 | history_pointer = malloc(history.items.data_size+256); |
||
32 | strcat(history_pointer, HISTORY_HEADER); |
||
8016 | leency | 33 | for (i=0; i |
7750 | leency | 34 | { |
35 | strcat(history_pointer, "\t"); |
||
38 | strcat(history_pointer, history.items.get(i)); |
||
39 | strcat(history_pointer, " |
||
40 | } |
||
8016 | leency | 41 | |
7750 | leency | 42 | strcat(history_pointer, " |
8016 | leency | 43 | for (i=1; i |
7750 | leency | 44 | { |
8016 | leency | 45 | strcat(history_pointer, cache.url.get(i)); |
8330 | leency | 46 | strcat(history_pointer, " |
7750 | leency | 49 | } |
8016 | leency | 50 | |
7750 | leency | 51 | strcat(history_pointer, ""); |
52 | LoadInternalPage(history_pointer, strlen(history_pointer)); |
||
4636 | leency | 53 | } |