html code in editors (emacs, ckeditor...) is filtered now for normal users

(root is allowed to use any html code)


git-svn-id: svn://ttmath.org/publicrep/winix/trunk@641 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-08-14 17:56:07 +00:00
parent d9f2e91806
commit ca4e53bb0f
11 changed files with 116 additions and 56 deletions

View File

@@ -45,6 +45,7 @@
#include "upload.h"
#include "uptime.h"
#include "who.h"
#include "core/htmlfilter.h"
class Templates;
@@ -116,6 +117,8 @@ public:
void CheckGetPostTimes(time_t difference = 10);
// !! dac lepsze nazwy
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);
@@ -131,6 +134,7 @@ private:
Notify * notify;
std::string temp;
HTMLFilter html_filter;
void Add(FunctionBase * fun);
void Add(FunctionBase & fun);