updated: html/css (added div.winix to templates)
now we have winix.css in common/winix directory it is automatically loaded by index_head_functions_add.html git-svn-id: svn://ttmath.org/publicrep/winix/trunk@898 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -188,40 +188,8 @@ char buf[20];
|
||||
}
|
||||
|
||||
|
||||
void winix_err_is(Info & i)
|
||||
{
|
||||
int value = Toi(i.par);
|
||||
i.res = (cur->request->status == value);
|
||||
}
|
||||
|
||||
|
||||
void winix_err_code(Info & i)
|
||||
{
|
||||
i.out << cur->request->status;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void winix_is_err_in_locales(Info & i)
|
||||
{
|
||||
wchar_t buff[40];
|
||||
size_t buff_len = sizeof(buff) / sizeof(wchar_t);
|
||||
|
||||
swprintf(buff, buff_len, L"winix_err_%d", cur->request->status);
|
||||
i.res = locale.IsKey(buff);
|
||||
}
|
||||
|
||||
|
||||
void winix_err_msg_from_locales(Info & i)
|
||||
{
|
||||
wchar_t buff[40];
|
||||
size_t buff_len = sizeof(buff) / sizeof(wchar_t);
|
||||
|
||||
swprintf(buff, buff_len, L"winix_err_%d", cur->request->status);
|
||||
i.out << locale.Get(buff);
|
||||
}
|
||||
|
||||
|
||||
void winix_show_content_in_full_window(Info & i)
|
||||
{
|
||||
|
Reference in New Issue
Block a user