diff options
Diffstat (limited to 'modules/gallery/views/admin_modules.html.php')
| -rw-r--r-- | modules/gallery/views/admin_modules.html.php | 52 | 
1 files changed, 27 insertions, 25 deletions
| diff --git a/modules/gallery/views/admin_modules.html.php b/modules/gallery/views/admin_modules.html.php index 75f4f0c5..4c4976f8 100644 --- a/modules/gallery/views/admin_modules.html.php +++ b/modules/gallery/views/admin_modules.html.php @@ -1,32 +1,34 @@  <?php defined("SYSPATH") or die("No direct script access.") ?> -<div id="g-modules"> +<div class="g-block ui-helper-clearfix">    <h1> <?= t("Gallery Modules") ?> </h1>    <p>      <?= t("Power up your Gallery by adding more modules! Each module provides new cool features.") ?>    </p> -  <form method="post" action="<?= url::site("admin/modules/save") ?>"> -    <?= access::csrf_form_field() ?> -    <table> -      <tr> -        <th> <?= t("Installed") ?> </th> -        <th> <?= t("Name") ?> </th> -        <th> <?= t("Version") ?> </th> -        <th> <?= t("Description") ?> </th> -      </tr> -      <? $i = 0 ?> -      <? foreach ($available as $module_name => $module_info):  ?> -      <tr class="<?= ($i % 2 == 0) ? "g-odd" : "g-even" ?>"> -        <? $data = array("name" => $module_name); ?> -        <? if ($module_info->locked) $data["disabled"] = 1; ?> -        <td> <?= form::checkbox($data, '1', module::is_active($module_name)) ?> </td> -        <td> <?= t($module_info->name) ?> </td> -        <td> <?= $module_info->version ?> </td> -        <td> <?= t($module_info->description) ?> </td> -      </tr> -      <? $i++ ?> -      <? endforeach ?> -    </table> -    <input type="submit" value="<?= t("Update")->for_html_attr() ?>"/> -  </form> +  <div class="g-block-content"> +    <form method="post" action="<?= url::site("admin/modules/save") ?>"> +      <?= access::csrf_form_field() ?> +      <table> +        <tr> +          <th> <?= t("Installed") ?> </th> +          <th> <?= t("Name") ?> </th> +          <th> <?= t("Version") ?> </th> +          <th> <?= t("Description") ?> </th> +        </tr> +        <? $i = 0 ?> +        <? foreach ($available as $module_name => $module_info):  ?> +        <tr class="<?= ($i % 2 == 0) ? "g-odd" : "g-even" ?>"> +          <? $data = array("name" => $module_name); ?> +          <? if ($module_info->locked) $data["disabled"] = 1; ?> +          <td> <?= form::checkbox($data, '1', module::is_active($module_name)) ?> </td> +          <td> <?= t($module_info->name) ?> </td> +          <td> <?= $module_info->version ?> </td> +          <td> <?= t($module_info->description) ?> </td> +        </tr> +        <? $i++ ?> +        <? endforeach ?> +      </table> +      <input type="submit" value="<?= t("Update")->for_html_attr() ?>" /> +    </form> +  </div>  </div> | 
