moved some ezc functions from templates/item.cpp to Item and ItemContent

removed: templates/item.cpp
updated: some html templates which use [item] or [item_tab]
removed some old html templates: item_info.html and itam_tab_info.html
This commit is contained in:
2021-07-06 21:52:29 +02:00
parent 746aa41111
commit 9d65d931d0
24 changed files with 67 additions and 1297 deletions

View File

@@ -359,7 +359,7 @@ void CorrectUrlOnlyAllowedChar(std::wstring & url)
// DEPRECATED now pt::Date can print a month in Roman numerals
const wchar_t * DateToStr(int year, int month, int day)
{
static const wchar_t * month_letter[] = { L"I", L"II", L"III", L"IV", L"V", L"VI", L"VII", L"VIII", L"IX", L"X", L"XI", L"XII" };
@@ -383,6 +383,7 @@ static wchar_t buffer[100];
}
// DEPRECATED now pt::Date can print a month in Roman numerals
const wchar_t * DateToStr(int year, int month, int day, int hour, int min, int sec)
{
static const wchar_t * month_letter[] = { L"I", L"II", L"III", L"IV", L"V", L"VI", L"VII", L"VIII", L"IX", L"X", L"XI", L"XII" };