http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12017
Bernardo Gonzalez Kriegel <bgkrie...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #39659|0 |1 is obsolete| | --- Comment #91 from Bernardo Gonzalez Kriegel <bgkrie...@gmail.com> --- Created attachment 40289 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40289&action=edit Bug 12017: 5 - Change local use syspref type Language This patch changes local use syspref of type Language Currently this type of syspref is not used, and shows currently translated staff languages. It's values can't be changed. To make something useful, this kind of syspref is changed to show all langs and save iso639_2 codes. And they not use descriptions on database, only rfc4646 codes from templates. It's easy to add new kinds that save rfc4646 codes, or only show translated languages. To test: 1. Apply the patch 2. Go to system preferences, local use 3. Define a new syspref, any name/description, type 'Language', Save 4. New syspref is showed as a multiple selection of iso639_2 codes with current lang and native names. Check that 5. Select some values, save, check they are saved and restored 6. Edit, similar view, change values, save, check 7. Delete test syspref Values are stored as ',' separated values Verify in database Signed-off-by: Julian FIOL <julian.f...@biblibre.com> (Squashed followup) Bug 12017: followup to patch 5 Local use syspref of type language need to use a different variable to store languages, if not bottom language selector does not show. Also change multiple and selected attributes for XHTML compatibility, and a tab char To test: 1) Apply patch 5 and this one 2) On add/edit Language type Local use syspref, check bottom language selector shows up. Signed-off-by: Julian FIOL <julian.f...@biblibre.com> Changed sub name getLanguages_iso -> getLanguagesIso -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/