Do not escape error message
[civicrm-core.git] / templates / CRM / common / status.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
1188c7a8 3 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 4 | |
1188c7a8
TO
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
6a488035
TO
8 +--------------------------------------------------------------------+
9*}
10{* Check for Status message for the page (stored in session->getStatus). Status is cleared on retrieval. *}
11
12{if $session->getStatus(false)}
13 {assign var="status" value=$session->getStatus(true)}
14 {foreach name=statLoop item=statItem from=$status}
e10fac94 15 {if !empty($urlIsPublic)}
f10c67bd 16 {assign var="infoType" value="no-popup `$statItem.type`"}
6a488035
TO
17 {else}
18 {assign var="infoType" value=$statItem.type}
19 {/if}
ebff48ff 20 {include file="CRM/common/info.tpl" infoTitle=$statItem.title|smarty:nodefaults infoMessage=$statItem.text|smarty:nodefaults infoOptions=$statItem.options|smarty:nodefaults|@json_encode}
6a488035
TO
21 {/foreach}
22{/if}