This repository has been archived on 2021-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
gallery3-debian/modules/gallery/views/admin_modules_confirm.html.php

23 lines
769 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<div class="ui-helper-clearfix">
<p>
<?= t("The following issue(s) have been identified:") ?>
</p>
<div id="g-admin-modules-messages" class="g-block-content">
<ul>
<? foreach (array("error" => "g-error", "warn" => "g-warning") as $type => $css_class): ?>
<? foreach ($messages[$type] as $message): ?>
<li class="<?= $css_class ?>" style="padding-bottom: 0"><?= $message ?></li>
<? endforeach ?>
<? endforeach ?>
</ul>
<form method="post" action="<?= url::site("admin/modules/save") ?>">
<?= access::csrf_form_field() ?>
<? foreach ($modules as $module): ?>
<?= form::hidden($module, 1) ?>
<? endforeach ?>
</form>
</div>
</div>