<?php
// Cabecera común. Define $page_title antes de incluir (opcional).
$page_title = $page_title ?? 'Plugins';
?><!doctype html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?= e($page_title) ?> · infinity3113</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>&#127920;</text></svg>">
<link rel="stylesheet" href="<?= e(BASE) ?>/assets/app.css">
<script src="<?= e(BASE) ?>/assets/i18n.js" defer></script>
</head>
<body>
<?php require __DIR__ . '/nav.php'; ?>
<?php foreach (flash_all() as $f): ?>
  <div class="wrap" style="margin-top:16px"><div class="alert alert-<?= e($f['type']) ?>"><?= e($f['msg']) ?></div></div>
<?php endforeach; ?>
