Hi,
what about changing the method of displaying times and dates ?
This is how i use it in the Multilanguage Version of view_photo_properties.php
echo _("File Upload Date") .":&& " . strftime("%d.%m %Y , %H:%M:%S" , $gallery->album->getUploadDate($index)) . "<br>";
$itemCaptureDate = $gallery->album->getItemCaptureDate($index);
echo _("Item Capture Date") . ":&& " . strftime("%d.%m.%Y, %H:%M:%S", mktime($itemCaptureDate['hours'], $itemCaptureDate['minutes'],$itemCaptureDate['seconds'], $itemCaptureDate['mon'],$itemCaptureDate['mday'],$itemCaptureDate['year']));
The Advantage is, that you can easier change the format and if you want you can use local settings.
And second.
What about adding the title attribute to images in navigation ?
Then Browser based on mozilla have tooltips, too.
Regards,
Jens
P.S.: I would send patches,but i only run this modifications in the ML
Posts: 7994
We definitely need to integrate your ML work back into the Gallery core. I know that it's on Beckett's to-do list so it will happen, it's just a matter of when.
I think that it's also a good idea to add the title attribute to images in navigation. What do you think Beckett, Joan, John?
Posts: 3474
Yes... this would be wonderful. (Jens, I'm so impressed that you're keeping speed with Gallery CVS updates on the ML side...) In addition to localisable dates, it would be simple enough to add a timezone field to each user. The user could then select the appropriate timezone offset for his/her location (like what we have in this phpBB forum).
I think Joan checked this in already, am I correct?
-Beckett (
)
Posts: 3474
Oops... I was thinking of the wrong "title". Yes... we can add the "title" attribute. Should we add "alt" tags while we're at it? (thus making the <img> tags XHTML compatible)
Added to the todo list.