23 lines
769 B
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>
|