PHP Classes

File: backend/php/cakephp/templates/element/flash/default.php

Recommend this page to a friend!
  Packages of Everton C B Junior   Igreja Aberta   backend/php/cakephp/templates/element/flash/default.php   Download  
File: backend/php/cakephp/templates/element/flash/default.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Igreja Aberta
Church activity management application
Author: By
Last change:
Date: 14 days ago
Size: 373 bytes
 

Contents

Class file image Download
<?php
/**
 * @var \App\View\AppView $this
 * @var array $params
 * @var string $message
 */
$class = 'message';
if (!empty(
$params['class'])) {
   
$class .= ' ' . $params['class'];
}
if (!isset(
$params['escape']) || $params['escape'] !== false) {
   
$message = h($message);
}
?>
<div class="<?= h($class) ?>" onclick="this.classList.add('hidden');"><?= $message ?></div>