Languages Languages
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Languages

Started by keks190, December 14, 2017, 11:58:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

keks190

Hallo

gibt es ein Script wo man die Languages (Sprachen) wie hier auflisten kann ?

Αndré

Quote from: http://documentation.coppermine-gallery.net/de/theme_upgrade_14x-15x.htm#theme_convert_template_language_select_listIn older versions of Coppermine, all themes used to contain the placeholder token {LANGUAGE_SELECT_LIST}. This token used to be replaced with a list of the available languages and only if the corresponding option in coppermine's config used to be checked (by default, the option used to be unchecked). This has changed in cpg1.5.x: if your custom theme's template.html contains the token {LANGUAGE_SELECT_LIST}, the corresponding output will be displayed no matter what, as the option in coppermine's config has been dropped.

Therefore, if you use a theme that was designed for cpg1.4.x, the language selector by list will show after the upgrade to cpg1.5.x even if you had the display turned off before. If this bothers you, just remove the template placeholder token {LANGUAGE_SELECT_LIST}.

Kurz: einfach {LANGUAGE_SELECT_LIST} an der gewünschten Stelle in der template.html-Datei deines Themes einfügen.

keks190