Author: trashy Date: Sun Nov 29 16:14:36 2009 New Revision: 718 URL: http://svn.gna.org/viewcvs/galette?rev=718&view=rev Log: Upgrade to Smarty 2.6.22 Replace old smrty hack for translations with a plugin. Now, in templates, we'll have {_T string="My string"} instead of {_T("My String")} Update of xgettext.py to parse new templates transaltion method Replace symlinks and hardcoded library versions with constants defined in config/versions.inc.php to avoid with FTP or under Windows Added: branches/galette-0-63-bugfix/galette/config/ branches/galette-0-63-bugfix/galette/config/versions.inc.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/ branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/Config_File.class.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/Smarty.class.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/Smarty_Compiler.class.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/debug.tpl branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/ branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.assemble_plugin_filepath.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.assign_smarty_interface.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.create_dir_structure.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.display_debug_console.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.get_include_path.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.get_microtime.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.get_php_resource.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.is_secure.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.is_trusted.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.load_plugins.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.load_resource_plugin.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.process_cached_inserts.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.process_compiled_include.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.read_cache_file.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.rm_auto.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.rmdir.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.run_insert_handler.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.smarty_include_php.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.write_cache_file.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.write_compiled_include.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.write_compiled_resource.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/internals/core.write_file.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/ branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/block.textformat.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/compiler.assign.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/function.assign_debug_info.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/function.config_load.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/function.counter.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/function.cycle.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/function.debug.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/function.eval.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/function.fetch.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/function.html_checkboxes.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/function.html_image.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/function.html_options.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/function.html_radios.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/function.html_select_date.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/function.html_select_time.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/function.html_table.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/function.mailto.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/function.math.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/function.popup.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/function.popup_init.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.capitalize.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.cat.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.count_characters.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.count_paragraphs.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.count_sentences.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.count_words.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.date_format.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.debug_print_var.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.default.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.escape.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.indent.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.lower.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.nl2br.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.regex_replace.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.replace.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.spacify.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.string_format.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.strip.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.strip_tags.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.truncate.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.upper.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/modifier.wordwrap.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/outputfilter.trimwhitespace.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/shared.escape_special_chars.php branches/galette-0-63-bugfix/galette/includes/Smarty-2.6.22/plugins/shared.make_timestamp.php branches/galette-0-63-bugfix/galette/includes/smarty_plugins/ branches/galette-0-63-bugfix/galette/includes/smarty_plugins/function._T.php branches/galette-0-63-bugfix/galette/includes/smarty_plugins/function.html_doctype.php Removed: branches/galette-0-63-bugfix/galette/includes/smarty/ Modified: branches/galette-0-63-bugfix/galette/includes/database.inc.php branches/galette-0-63-bugfix/galette/includes/smarty.inc.php branches/galette-0-63-bugfix/galette/lang/xgettext.py branches/galette-0-63-bugfix/galette/templates/default/ajouter_adherent.tpl branches/galette-0-63-bugfix/galette/templates/default/ajouter_contribution.tpl branches/galette-0-63-bugfix/galette/templates/default/ajouter_transaction.tpl branches/galette-0-63-bugfix/galette/templates/default/change_passwd.tpl branches/galette-0-63-bugfix/galette/templates/default/configurer_fiches.tpl branches/galette-0-63-bugfix/galette/templates/default/display_dynamic_fields.tpl branches/galette-0-63-bugfix/galette/templates/default/editer_champ.tpl branches/galette-0-63-bugfix/galette/templates/default/gestion_adherents.tpl branches/galette-0-63-bugfix/galette/templates/default/gestion_contributions.tpl branches/galette-0-63-bugfix/galette/templates/default/gestion_transactions.tpl branches/galette-0-63-bugfix/galette/templates/default/index.tpl branches/galette-0-63-bugfix/galette/templates/default/log.tpl branches/galette-0-63-bugfix/galette/templates/default/lostpasswd.tpl branches/galette-0-63-bugfix/galette/templates/default/mailing_adherents.tpl branches/galette-0-63-bugfix/galette/templates/default/page.tpl branches/galette-0-63-bugfix/galette/templates/default/preferences.tpl branches/galette-0-63-bugfix/galette/templates/default/self_adherent.tpl branches/galette-0-63-bugfix/galette/templates/default/traduire_libelles.tpl branches/galette-0-63-bugfix/galette/templates/default/voir_adherent.tpl