Subversion Repositories Kolibri OS

Rev

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

Rev 7742 Rev 7743
Line -... Line 1...
-
 
1
#ifdef LANG_RUS
-
 
2
#define HISTORY_HEADER "
-
 
3
 
-
 
4
	ˆáâ®à¨ï
-
 
5
 
-
 
6
 
-
 
7
	

ˆáâ®à¨ï

-
 
8
	
-
 
9
	®á¥é¥­­ë¥ áâà ­¨æë
-
 
10
"
-
 
11
#else
-
 
12
#define HISTORY_HEADER "
-
 
13
 
-
 
14
	History
-
 
15
 
-
 
16
 
-
 
17
	

History

-
 
18
	
-
 
19
	Visited pages
-
 
20
"
-
 
21
#endif
-
 
22
 
-
 
23
 
1
ShowHistory()
24
ShowHistory()
2
{
25
{
3
		int i;
26
		int i;
4
		static int history_pointer;
27
		static int history_pointer;
5
		int t;
28
		int t;
Line 6... Line 29...
6
		
29
		
7
		free(history_pointer);
30
		free(history_pointer);
8
		history_pointer = malloc(history.items.data_size+256);
-
 
9
		strcat(history_pointer, "History

History

");
31
		history_pointer = malloc(history.items.data_size+256);
10
		strcat(history_pointer, "
Visited pages
");
32
		strcat(history_pointer, HISTORY_HEADER);
11
		for (i=0; i
33
		for (i=0; i
12
		{
34
		{
13
			strcat(history_pointer, "
14
			strcat(history_pointer, history.items.get(i));
36
			strcat(history_pointer, history.items.get(i));
15
			strcat(history_pointer, "'>");
37
			strcat(history_pointer, "'>");
16
			strcat(history_pointer, history.items.get(i));
38
			strcat(history_pointer, history.items.get(i));
17
			strcat(history_pointer, "
");
39
			strcat(history_pointer, "
");
-
 
40
		}
18
		}
41
		/*
19
		strcat(history_pointer, "
Cached images
");
42
		strcat(history_pointer, "
Cached images
");
20
		for (i=1; i
43
		for (i=1; i
21
		{
44
		{
22
			strcat(history_pointer, "
23
			strcat(history_pointer, #pics[i].path);
46
			strcat(history_pointer, #pics[i].path);
24
			strcat(history_pointer, "'>");
47
			strcat(history_pointer, "'>");
25
			strcat(history_pointer, #pics[i].path);
48
			strcat(history_pointer, #pics[i].path);
26
			strcat(history_pointer, "
");
49
			strcat(history_pointer, "
");
27
			/*
50
			
28
			strcat(history_pointer, "
29
			strcat(history_pointer, #pics[i].path);
52
			// strcat(history_pointer, #pics[i].path);
30
			strcat(history_pointer, "'>
");
53
			// strcat(history_pointer, "'>
");
31
			strcat(history_pointer, #pics[i].path);
-
 
32
			*/
54
			// strcat(history_pointer, #pics[i].path);
-
 
55
		}
33
		}
56
		*/
34
		strcat(history_pointer, "");
57
		strcat(history_pointer, "");
35
		WB1.LoadInternalPage(history_pointer, strlen(history_pointer));
58
		WB1.LoadInternalPage(history_pointer, strlen(history_pointer));
36
}






59
}