changed: upload function

select file type by the extension
         param: multi
fixed:   uptime function
         it showed incorrect uptime time (minuts were badly calculated)


git-svn-id: svn://ttmath.org/publicrep/winix/trunk@575 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-02-12 23:16:13 +00:00
parent 796985472a
commit 3c5a7cd664
16 changed files with 275 additions and 81 deletions

View File

@@ -107,7 +107,8 @@ void item_print_content(std::ostringstream & out, const std::string & content, I
else
if( content_type == Item::ct_bbcode )
{
out << content; // !! tutaj bedzie parsowanie bbcodu i tworzenie odpowiadajacego mu html-a
//out << content; // !! tutaj bedzie parsowanie bbcodu i tworzenie odpowiadajacego mu html-a
out << "bbcode is not implemented yet";
}
else
if( content_type == Item::ct_raw )
@@ -117,6 +118,11 @@ void item_print_content(std::ostringstream & out, const std::string & content, I
}
void item_content_is_empty(Info & i)
{
i.result = request.item.content.empty();
}
void item_print_content(Info & i)
{
item_print_content(i.out, request.item.content, request.item.content_type);