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

@@ -175,6 +175,17 @@ return true;
}
std::string * Request::PostVarp(const char * var)
{
PostTab::iterator p = post_tab.find(var);
if( p == post_tab.end() )
return 0;
return &p->second;
}
void Request::PrintGetTab()
{

View File

@@ -127,8 +127,10 @@ struct Request
void SetCookie(const char * name, long value, tm * expires = 0);
bool IsPostVar(const char * var);
const std::string & PostVar(const char * var);
const std::string & PostVar(const char * var); // !! zamienic na referencje nie do sta<74>ej (bez const)
bool PostVar(const char * var, std::string & result);
std::string * PostVarp(const char * var);
bool AllPostVarEmpty(); // returning true if all post vars are empty
void SendAll();