UNCAUGHT EXCEPTION: Syntax error in template "file:/var/www/project/app/core_siteswift/templates/site/mod/mod_calendar_detail.tpl" on line 132 "{|if $row.showdetail_teaser eq 'Y' and trim($row.teaser) neq '[HTML]'|}" PHP function 'trim' not allowed by security setting in file '/var/www/project/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php' line:132#0 /var/www/project/vendor/smarty/smarty/libs/sysplugins/smarty_security.php(278): Smarty_Internal_TemplateCompilerBase->trigger_template_error('PHP function 'trim' not allowed by security setting')
#1 /var/www/project/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(619): Smarty_Security->isTrustedPhpFunction('trim', Object(Smarty_Internal_SmartyTemplateCompiler))
#2 /var/www/project/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php(3128): Smarty_Internal_TemplateCompilerBase->compilePHPFunctionCall('trim', Array)
#3 /var/www/project/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php(3383): Smarty_Internal_Templateparser->yy_r145()
#4 /var/www/project/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php(3479): Smarty_Internal_Templateparser->yy_reduce('145')
#5 /var/www/project/vendor/smarty/smarty/libs/sysplugins/smarty_internal_smartytemplatecompiler.php(128): Smarty_Internal_Templateparser->doParse('56', ' neq ')
#6 /var/www/project/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(481): Smarty_Internal_SmartyTemplateCompiler->doCompile('{|config_load file="site/base.conf"|}
{|assign var="basedir" value=#basedir#|}
{|html_head style="`$basedir`/mod_calendar.css"|}
{|use module="calendar" type="detail"|}
{|include file='site/mod/tags_mod_nav_icon_detail.tpl'|}
{|if $row.showdetail_title eq 'Y' and $row.title neq ''|}{|$row.title|escape:"html"|}{|/if|}
{|if $row.date_begin neq '' or $row.time_begin neq ''|}{|$row.date_begin|date_format:'%a., %d. %B %Y'|escape:"html"|}{|if $row.time_begin neq ''|}, {|$row.time_begin|date_format:'%H:%M'|escape:"html"|} Uhr{|/if|}{|/if|}
{|if $row.date_end neq '' or $row.time_end neq ''|}{|if $row.date_end eq ''|}{|$row.date_begin|date_format:'%a., %d. %B %Y'|escape:"html"|}{|else|}{|$row.date_end|date_format:'%a., %d. %B %Y'|escape:"html"|}{|/if|}{|if $row.time_end neq ''|}, {|$row.time_end|date_format:'%H:%M'|escape:"html"|} Uhr{|/if|}{|/if|}
{|if $row.place neq ''|}{|$row.place|escape:"html"|}{|/if|}
{|if $row.organizer neq ''|}Veranstalter: {|$row.organizer|escape:"html"|}{|/if|}
{|if
$row.adresse neq '' OR
$row.plz neq '' OR
$row.ort neq ''
|}
Adresse:
{|$row.adresse|escape:"html"|}
{|$row.plz|escape:"html"|}{|if $row.plz neq '' AND $row.ort neq ''|} - {|/if|}{|$row.ort|escape:"html"|}
{|/if|}
{|if $row.latitude neq "" && $row.longitude neq ""|}
{|swconfig_load path="config.socialnetworks"|}
{|swconfig key="config.socialnetworks.google_maps.apikey" assign="googleapikey"|}
{|html_head tag="" priority="10"|}
{|random in=0000 out=9999 assign="itemid"|}
{|/if|}
{|if $row.showdetail_teaser eq 'Y' and trim($row.teaser) neq '[HTML]'|}
{|/if|}
{|show source=$row field='body'|}
{|if $row.anmeldung_moeglich eq 'Y'|}
{|sqlgetone sqldirect="SELECT adresstyp FROM myusers WHERE username = '`$currentusername`'" assign='adresstyp'|}
{|if $smarty.now|date_format:"%Y%m%d" > $row.date_begin|date_format:"%Y%m%d" && $row.autosperre eq 'Y'|}
Anmeldung nicht mehr möglich
{|else|}
{|if $full_workshop eq 'Y'|}
Veranstaltung ausgebucht
{|else|}
{|if $currentusername neq 'anonym' && $row.anmeldung_moeglich eq 'Y' && $adresstyp eq 'person'|}
{|elseif $row.anmeldung_moeglich eq 'Y'|}
{|/if|}
{|/if|}
{|/if|}
{|/if|}
{|if $row.do_repeat == 'Y'|}
Dies ist ein wiederholt stattfindender Termin.
{|if $nr_next_events > 0|}
Die nächsten {|$nr_next_events|escape:"html"|} Termine sind:
{|section name=liste loop=$next_events|}
{|/section|}
{|else|}
Es gibt nach diesem Termin keine weiteren Termine.
{|/if|}
{|/if|}
{|include file='site/mod/tags_mod_nav_icon_detail.tpl'|}
{|include file='site/mod/tags_detail_metadata.tpl' type='calendar'|}', true)
#7 /var/www/project/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(402): Smarty_Internal_TemplateCompilerBase->compileTemplateSource(Object(Smarty_Internal_Template), false, NULL)
#8 /var/www/project/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(184): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template))
#9 /var/www/project/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(141): Smarty_Template_Compiled->compileTemplateSource(Object(Smarty_Internal_Template))
#10 /var/www/project/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(105): Smarty_Template_Compiled->process(Object(Smarty_Internal_Template))
#11 /var/www/project/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#12 /var/www/project/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render()
#13 /var/www/project/var/cache/smarty_compile/c1/ac/5a/c1ac5a540370e29b2a4148e757bf13416183be0c_0.file.calendar_detail.tpl.php(28): Smarty_Internal_Template->_subTemplateRender('file:site/mod/mod_calendar_detail.tpl', NULL, NULL, '0', '3600', Array, '0', false)
#14 /var/www/project/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_637d7ed12f0f73_99360402(Object(Smarty_Internal_Template))
#15 /var/www/project/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#16 /var/www/project/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#17 /var/www/project/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, '0')
#18 /var/www/project/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, '0')
#19 .../siteswift/swlibs/smarty/SmartyWrapper.php(333): Smarty_Internal_TemplateBase->fetch('site/calendar_detail.tpl', NULL, NULL, NULL)
#20 .../siteswift/RequestHandler.php(675): sw\swlibs\smarty\SmartyWrapper->fetch('site/calendar_detail.tpl')
#21 .../siteswift/RequestHandler.php(83): RequestHandler->executeIncommingRequest()
#22 .../siteswift/SiteswiftWebserverEntry.php(85): RequestHandler->handleSiteswiftRequest('site/termine/calendar/45.html', Array)
#23 .../siteswift/SiteswiftWebserverEntry.php(35): sw\SiteswiftWebserverEntry->handleRequestRouting()
#24 /var/www/project/public/index.php(11): sw\SiteswiftWebserverEntry->handleWebserverEntry()