summaryrefslogtreecommitdiff
path: root/modules/exif
diff options
context:
space:
mode:
Diffstat (limited to 'modules/exif')
-rw-r--r--modules/exif/helpers/exif.php2
-rw-r--r--modules/exif/views/exif_dialog.html.php22
-rw-r--r--modules/exif/views/exif_sidebar.html.php5
3 files changed, 14 insertions, 15 deletions
diff --git a/modules/exif/helpers/exif.php b/modules/exif/helpers/exif.php
index 453690ea..5ddd09d4 100644
--- a/modules/exif/helpers/exif.php
+++ b/modules/exif/helpers/exif.php
@@ -163,7 +163,7 @@ class exif_Core {
list ($remaining) = exif::stats();
if ($remaining) {
site_status::warning(
- t('Your Exif index needs to be updated. <a href="%url" class="g-dialogLink">Fix this now</a>',
+ t('Your Exif index needs to be updated. <a href="%url" class="g-dialog-link">Fix this now</a>',
array("url" => html::mark_clean(url::site("admin/maintenance/start/exif_task::update_index?csrf=__CSRF__")))),
"exif_index_out_of_date");
}
diff --git a/modules/exif/views/exif_dialog.html.php b/modules/exif/views/exif_dialog.html.php
index 11d1e212..b50eea1d 100644
--- a/modules/exif/views/exif_dialog.html.php
+++ b/modules/exif/views/exif_dialog.html.php
@@ -1,30 +1,30 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
-<style>
- #gExifData {font-size: .85em;}
- .gOdd {background: #BDD2FF;}
- .gEven {background: #DFEFFC;}
+<style type="text/css">
+ #g-exif-data { font-size: .85em; }
+ .g-odd { background: #bdd2ff; }
+ .g-even { background: #dfeffc; }
</style>
<h1 style="display: none;"><?= t("Photo Detail") ?></h1>
-<div id="gExifData">
- <table class="gMetadata" >
+<div id="g-exif-data">
+ <table class="g-metadata" >
<tbody>
<? for ($i = 0; $i < count($details); $i++): ?>
<tr>
- <td class="gEven">
+ <td class="g-even">
<?= $details[$i]["caption"] ?>
</td>
- <td class="gOdd">
+ <td class="g-odd">
<?= html::clean($details[$i]["value"]) ?>
</td>
<? if (!empty($details[++$i])): ?>
- <td class="gEven">
+ <td class="g-even">
<?= $details[$i]["caption"] ?>
</td>
- <td class="gOdd">
+ <td class="g-odd">
<?= html::clean($details[$i]["value"]) ?>
</td>
<? else: ?>
- <td class="gEven"></td><td class="gOdd"></td>
+ <td class="g-even"></td><td class="g-odd"></td>
<? endif ?>
</tr>
<? endfor ?>
diff --git a/modules/exif/views/exif_sidebar.html.php b/modules/exif/views/exif_sidebar.html.php
index 3c7bb517..04f72b02 100644
--- a/modules/exif/views/exif_sidebar.html.php
+++ b/modules/exif/views/exif_sidebar.html.php
@@ -1,7 +1,6 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
-<a id="gExifDataLink" href="<?= url::site("exif/show/{$item->id}") ?>" title="<?= t("Photo Details")->for_html_attr() ?>"
- class="g-dialogLink g-button ui-icon-left ui-state-default ui-corner-all">
+<a id="g-exif-data-link" href="<?= url::site("exif/show/{$item->id}") ?>" title="<?= t("Photo Details")->for_html_attr() ?>"
+ class="g-dialog-link g-button ui-icon-left ui-state-default ui-corner-all">
<span class="ui-icon ui-icon-info"></span>
<?= t("View more information") ?>
</a>
-