added: to htmlfilter: the filter is able to recognize a special tag, default called: <nofilter>
content between <nofilter>...</nofilter> will not be filtered git-svn-id: svn://ttmath.org/publicrep/winix/trunk@955 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -507,6 +507,7 @@ void Functions::ReadItemFilterHtml(Item & item)
|
||||
html_filter.InsertTabs(0);
|
||||
html_filter.SafeMode(true);
|
||||
html_filter.ClearOrphans();
|
||||
// SetNoFilterTag doesn't have to be called (default empty tag)
|
||||
|
||||
html_filter.Filter(cur->request->PostVar(L"itemcontent"), item.content);
|
||||
}
|
||||
|
||||
@@ -264,6 +264,11 @@ void Passwd::MakePost()
|
||||
{
|
||||
const std::wstring * plogin;
|
||||
|
||||
// CHECK ME
|
||||
// may it is better to check first for 'resetpassword'
|
||||
// now if a user is logged then 'resetpassword' has no effect
|
||||
// actually 'resetpassword' would be used for other user
|
||||
|
||||
if( cur->session->puser )
|
||||
{
|
||||
if( cur->session->puser->super_user )
|
||||
|
||||
Reference in New Issue
Block a user