[Koha-devel] Templates and images

paul POULAIN paul.poulain at free.fr
Thu Jun 5 02:37:05 CEST 2003


Jerome Vizcaino wrote:

>Hi
>
>I've been looking at the images in the templates lately and figured out
>that most of the buttons wasn't translated correctly (especially in the
>french template for example).
>
>I know that using PHP there's a way to generate images dynamically so
>that only the background of the button is needed and the text is printed
>on it before it is sent directly to the browser or stored on the disk
>and sent. Such a trick seems to be possible using Perl with the GD
>library.
>Could we think of using such an option to generate buttons dynamically
>so that translations would be made easier ? (someone might be yelling
>because of the "feature-freeze" :)
>
no.

but i'll yell cause french templates in CVS should no more use any image.

All are replaced by a text button with the "button" class. (in tmpl 
directory/includes/common-style.css. Will be heavily modified in a few 
hours, maybe minuts :-) )
If there are some images, then we have a problem...

note : auto generating an image is really time consumming. And with a 
good style sheet you can have the same result.

-- 
Paul POULAIN
Consultant indépendant en logiciels libres
responsable francophone de koha (SIGB libre http://www.koha-fr.org)






More information about the Koha-devel mailing list