Files
gallery3/core/views/admin_modules.html.php
Bharat Mediratta fe27bd1eb3 Change the way that we track modules.
Each module now has a "module.info" file that has information about
the module, including the core.  We can display the installed version,
and the version in the code.

Also take a first shot at a modules admin page.
2008-12-22 03:41:33 +00:00

20 lines
638 B
PHP

<? defined("SYSPATH") or die("No direct script access."); ?>
<div id="gModules">
<table>
<tr>
<th> <?= _("Installed") ?> </th>
<th> <?= _("Name") ?> </th>
<th> <?= _("Version") ?> </th>
<th> <?= _("Description") ?> </th>
</tr>
<? foreach ($available as $module_name => $module_info): ?>
<tr>
<td> <?= form::checkbox($module_name, '', module::is_installed($module_name)) ?> </td>
<td> <?= _($module_info["name"]) ?> </td>
<td> <?= module::get_version($module_name) ?> </td>
<td> <?= _($module_info["description"]) ?> </td>
</tr>
<? endforeach ?>
</table>
</div>