2010-08-13 22:04:57 +02:00
|
|
|
/*
|
|
|
|
* This file is a part of Winix
|
|
|
|
* and is not publicly distributed
|
|
|
|
*
|
|
|
|
* Copyright (c) 2010, Tomasz Sowa
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef headerfilecmslucontenttemplate
|
|
|
|
#define headerfilecmslucontenttemplate
|
|
|
|
|
|
|
|
#include "functionbase.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Fun
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
class Template : public FunctionBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
Template();
|
|
|
|
bool HasAccess();
|
|
|
|
void MakePost();
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
2010-08-14 16:45:25 +02:00
|
|
|
std::string html_template;
|
|
|
|
void CreateTemplateFileName(const std::string & index_str);
|
|
|
|
void ChangeTemplate(Item & item);
|
|
|
|
void PutLog(Item & item);
|
2010-08-13 22:04:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace
|
|
|
|
|
|
|
|
#endif
|