AntonKravchenko (13 Июль 2016 - 13:44) писал:
и ещё в строке 155 кода отображения отчёта:
{if $user_group==1}
на
{if $user_group==1 || if $user_group==ID_ВТОРОЙ_ГРУППЫ_ПОЛЬЗОВАТЕЛЕЙ}
l error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "eval:" on line 155 "{if $user_group==1 || if $user_group==800}" too many shorthand attributes' in C:\Program Files\MSTL\ClientBase\www\include\Smarty\sysplugins\smarty_internal_templatecompilerbase.php:441 Stack trace: #0 C:\Program Files\MSTL\ClientBase\www\include\Smarty\sysplugins\smarty_internal_compilebase.php(48): Smarty_Internal_TemplateCompilerBase->trigger_template_error('too many shorth...', 155) #1 C:\Program Files\MSTL\ClientBase\www\include\Smarty\sysplugins\smarty_internal_compile_if.php(28): Smarty_Internal_CompileBase->_get_attributes(Array) #2 C:\Program Files\MSTL\ClientBase\www\include\Smarty\sysplugins\smarty_internal_templatecompilerbase.php(286): Smarty_Internal_Compile_If->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL) #3 C:\Program Files\MSTL\ClientBase\www\include\Smarty\sysplugins\smarty_internal_templatecompilerbase.php(125): Smarty_Internal_TemplateCompilerBase-> in C:\Program Files\MSTL\ClientBase\www\include\Smarty\sysplugins\smarty_internal_templatecompilerbase.php on line 441
Выдал вот такое сообщение.