diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-09-20 20:59:18 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-09-20 20:59:18 -0700 |
| commit | a00619b812393cf73d1c188af7961af820d36185 (patch) | |
| tree | d19e6bf187c56bfc0a4c72db2adfb5e9560aa154 /modules/info/views | |
| parent | 09f998e7a5a58720636c7b1140279b5efbdb33c6 (diff) | |
* Move the captured field into the exif module where it is created and populated.
* Create a new API event get_sort_fields that allows modules to contribute new sort fields that they manage. the only condition is that the module needs to add it to the item table.
* Changed g2_import to call this api to get the allowable sort fields
* Changed album::get_edit_form to call this new api to get the available sort fields
Partial fix for ticket #627, as the Capture date is not available until the exif module is installed.
Diffstat (limited to 'modules/info/views')
| -rw-r--r-- | modules/info/views/info_block.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/info/views/info_block.html.php b/modules/info/views/info_block.html.php index d8f36984..1142bbd4 100644 --- a/modules/info/views/info_block.html.php +++ b/modules/info/views/info_block.html.php @@ -16,7 +16,7 @@ <?= html::clean($item->name) ?> </li> <? endif ?> - <? if ($item->captured): ?> + <? if (module::is_active("exif") && $item->captured): ?> <li> <strong class="caption"><?= t("Captured:") ?></strong> <?= date("M j, Y H:i:s", $item->captured)?> |
