Subversion Repositories Kolibri OS

Rev

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

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

ˆáâ®à¨ï

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

History

-
 
18
	
-
 
19
	Visited pages
-
 
20
"
-
 
21
#endif
5
#endif
Line 22... Line 6...
22
 
6
 
23
 
7
 
24
ShowHistory()
8
ShowHistory()
25
{
-
 
26
	int i;
-
 
27
	static int history_pointer;
-
 
28
	int t;
-
 
29
	
9
{
30
	free(history_pointer);
10
	int i;
-
 
11
	dword history_pointer = malloc(history.items.data_size+256);
31
	history_pointer = malloc(history.items.data_size+256);
12
	strcat(history_pointer, HISTORY_HEADER);
32
	strcat(history_pointer, HISTORY_HEADER);
13
 
33
	for (i=0; i
14
	for (i=0; i
34
	{
15
	{
35
		strcat(history_pointer, "\t
36
		strcat(history_pointer, history.items.get(i));
17
		strcat(history_pointer, history.items.get(i));
37
		strcat(history_pointer, "'>");
18
		strcat(history_pointer, "'>");
38
		strcat(history_pointer, history.items.get(i));
19
		strcat(history_pointer, history.items.get(i));
Line 46... Line 27...
46
		strcat(history_pointer, " 
47
		strcat(history_pointer, cache.url.get(i));
28
		strcat(history_pointer, cache.url.get(i));
48
		strcat(history_pointer, "'>
");
29
		strcat(history_pointer, "'>
");
49
	}
30
	}
Line 50... Line -...
50
 
-
 
51
	strcat(history_pointer, "");
31
 
-
 
32
	LoadInternalPage(history_pointer, strlen(history_pointer));
52
	LoadInternalPage(history_pointer, strlen(history_pointer));
33
	free(history_pointer);
53
}







34
}