diff --git a/core/bbcodeparser.h b/core/bbcodeparser.h
index 6112a9e..792a710 100755
--- a/core/bbcodeparser.h
+++ b/core/bbcodeparser.h
@@ -83,6 +83,8 @@ class BBCODEParser : public HTMLFilter
void TrimWhiteWithNewLines(const wchar_t * & start, const wchar_t * & end);
+
+
bool has_open_ol_tag; // has open html
tag
bool has_open_ul_tag; // has open html tag
bool has_open_li_tag; // has open html - tag
diff --git a/templates/templates.cpp b/templates/templates.cpp
index 8e0cb80..71cb738 100755
--- a/templates/templates.cpp
+++ b/templates/templates.cpp
@@ -415,8 +415,10 @@ void Templates::CreateFunctions()
ezc_functions.Insert("winix_is_err_in_locales", winix_is_err_in_locales);
ezc_functions.Insert("winix_err_msg_from_locales",winix_err_msg_from_locales);
ezc_functions.Insert("winix_show_content_in_full_window", winix_show_content_in_full_window);
- ezc_functions.Insert("winix_false", winix_false);
- ezc_functions.Insert("winix_true", winix_true);
+ ezc_functions.Insert("false", winix_false);
+ ezc_functions.Insert("true", winix_true);
+ ezc_functions.Insert("str", str);
+ ezc_functions.Insert("strnc", strnc);
/*
diff --git a/templates/templates.h b/templates/templates.h
index bac818c..82235f7 100755
--- a/templates/templates.h
+++ b/templates/templates.h
@@ -350,6 +350,8 @@ namespace TemplatesFunctions
void winix_show_content_in_full_window(Info & i);
void winix_false(Info & i);
void winix_true(Info & i);
+ void str(Info & i);
+ void strnc(Info & i);
/*
diff --git a/templates/winix.cpp b/templates/winix.cpp
index a6837ab..eb15fda 100755
--- a/templates/winix.cpp
+++ b/templates/winix.cpp
@@ -209,15 +209,47 @@ void winix_show_content_in_full_window(Info & i)
}
+
+
+
+// the ezc function name is "false"
+// ezc_functions.Insert("false", winix_false);
void winix_false(Info & i)
{
i.res = false;
}
+
+// the ezc function name is "true"
+// ezc_functions.Insert("true", winix_true);
void winix_true(Info & i)
{
i.res = true;
}
+
+// these functions are to be used with [is...] statements
+void str(Info & i)
+{
+ for(size_t a=0 ; a