fixed: ticket sets a default function only for directories

fixed: reading a new url and subject in Functions::ReadItem()
added: tickets are sorted now (by date)



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@659 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-09-30 20:58:20 +00:00
parent d94a08b991
commit 7bc17a9202
12 changed files with 178 additions and 141 deletions

View File

@@ -114,7 +114,11 @@ public:
void ReadItemFilterHtml(Item & item);
void ReadItemContent(Item & item, const std::string & content_type);
void ReadItemContentWithType(Item & item);
bool ReadItem(Item & item, Item::Type item_type);
// if item.url is not empty and there is not a post variable "url"
// then the item.url will not be changed
// (the same is for item.subject and "subject" post variable)
void ReadItem(Item & item, Item::Type item_type);
void SetUser(Item & item);
@@ -138,7 +142,7 @@ private:
void SetDefaultFunctionForFile();
void SetDefaultFunctionForDir();
bool ReadItemUrlSubject(Item & item, Item::Type item_type);
void ReadItemUrlSubject(Item & item, Item::Type item_type);
Table table;