{** * For the full copyright and license information, please view the * docs/licenses/LICENSE.txt file that was distributed with this source code. *} {if isset($json)} {strip} { {if isset($status) && is_string($status) && trim($status) != ''}{assign 'hasresult' 'ok'}"status" : "{$status}"{/if} {if !empty($confirmations)}{if $hasresult == 'ok'},{/if}{assign 'hasresult' 'ok'}"confirmations" : {$confirmations}{/if} {if !empty($informations)}{if $hasresult == 'ok'},{/if}{assign 'hasresult' 'ok'}"informations" : {$informations}{/if} {if !empty($errors)}{if $hasresult == 'ok'},{/if}{assign 'hasresult' 'ok'}"error" : {$errors}{/if} {if !empty($warnings)}{if $hasresult == 'ok'},{/if}{assign 'hasresult' 'ok'}"warnings" : {$warnings}{/if} {if $hasresult == 'ok'},{/if}{assign 'hasresult' 'ok'}"content" : {$page} } {/strip} {else} {if isset($conf)}