Commit | Line | Data |
---|---|---|
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} | |
15 | {if $urlIsPublic} | |
16 | {assign var="infoType" value="no-popup"} | |
17 | {else} | |
18 | {assign var="infoType" value=$statItem.type} | |
19 | {/if} | |
03a7ec8f | 20 | {include file="CRM/common/info.tpl" infoTitle=$statItem.title infoMessage=$statItem.text infoOptions=$statItem.options|@json_encode} |
6a488035 TO |
21 | {/foreach} |
22 | {/if} |