Add new font files, images, and initial index.php for CakePHP setup
- Added new font files: Cakedingbats (TTF, WOFF, WOFF2) and Raleway (various styles and encodings). - Included new images: cake-logo.png, cake.icon.png, cake.logo.svg, and cake.power.gif. - Created initial index.php file for handling requests in CakePHP framework. - Added .gitkeep file in the js directory to maintain the folder structure.
This commit is contained in:
15
templates/element/flash/default.php
Normal file
15
templates/element/flash/default.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user