But it is a bigger problem if there are any "{* " smarty comments within the content
If not, I guess a fudge would be to do something like this for every text area content block
Code: Select all
{content|replace:"<p>{* </p>":"{* " assign=pagecontent}
or regex_replace; to fix anything MicroTiny breaks
But I would have thought that having smarty within a content block edited by a admin editor is quite common (I have already relocated 90% of any scripting (UDTs; Smarty rendering logic; jquery/.js) out of the page content in to templates but still left with "{include file='cms_template:.......}" and using {* *} to temporarily hide content or temporarily disable a smarty command is useful - and disabling MicroTiny for Admin used editors defeats the object of a CMS
Code: Select all
----------------------------------------------
Cms Version: 2.2.9
Installed Modules:
AdminSearch: 1.0.4
CGBetterForms: 1.9
CGBlog: 1.15.8
CGExtensions: 1.61.4
CGFBPost: 1.1.3
CGGoogleMaps2: 1.1.1
CGSimpleSmarty: 2.2.1
CGSocialBlaster: 1.1
CGTweet: 1.3.2
CMSContentManager: 1.1.7
Captcha: 1.0
CmsJobManager: 0.1.3
DesignManager: 1.1.5
FileManager: 1.6.8
FilePicker: 1.0.3
FrontEndUsers: 2.12.6
JMFilePicker: 1.0.1
JQueryTools: 1.4.0.4
LISE: 1.3.1
MicroTiny: 2.2.3
ModuleManager: 2.1.5
Navigator: 1.0.9
News: 2.51.4
Search: 1.51.6
Config Information:
php_memory_limit:
max_upload_size: 10000000
url_rewriting: mod_rewrite
page_extension: .htm
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Europe/London
permissive_smarty: true
Php Information:
phpversion: 7.3.1
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 22519
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 32M
max_execution_time: 60
register_globals: Off (False)
output_buffering: 1
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 10M
upload_max_filesize: 10M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On
Performance Information:
allow_browser_cache: On (True)
browser_cache_expiry: 60
php_opcache: Off (False)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
auto_clear_cache_age: On (True)
Server Information:
Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux 3.16.0-ui18276.29-uiabi1-infong-amd64 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.60
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Permission Information:
tmp: /homepages/38/d242029264/htdocs/ablecare_cmsms2/tmp (0705)
tmp_cache: /homepages/38/d242029264/htdocs/ablecare_cmsms2/tmp/cache (0705)
templates_c: /homepages/38/d242029264/htdocs/ablecare_cmsms2/tmp/templates_c (0705)
modules: /homepages/38/d242029264/htdocs/ablecare_cmsms2/modules (0705)
uploads: /homepages/38/d242029264/htdocs/ablecare_cmsms2/uploads (0705)
File Creation Mask (umask): /homepages/38/d242029264/htdocs/ablecare_cmsms2/tmp/cache (0705)
config_file: 0644
----------------------------------------------