[packages/bacula-web] fix use of system {t} modifier

glen glen at pld-linux.org
Thu Jan 24 18:24:59 CET 2013


commit e6d218cb3aa1470d458edb1b6e0252dbe489bd64
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Jan 24 19:24:46 2013 +0200

    fix use of system {t} modifier

 sys-libs.patch | 12 ++++++++++++
 1 file changed, 12 insertions(+)
---
diff --git a/sys-libs.patch b/sys-libs.patch
index 3f9af8a..d6a946b 100644
--- a/sys-libs.patch
+++ b/sys-libs.patch
@@ -21,3 +21,15 @@
   
   // Configuration 
   require_once BW_OBJ . "cfg/config.class.php";
+--- bacula-web-5.2.2/core/i18n/ctranslation.class.php~	2011-11-29 20:55:31.000000000 +0200
++++ bacula-web-5.2.2/core/i18n/ctranslation.class.php	2013-01-24 19:22:23.942340613 +0200
+@@ -30,9 +30,6 @@
+ 	}
+ 
+ 	function set_Language( &$template ) {
+-		// Template engine block registration
+-		$template->register_block('t','smarty_translate');
+-
+ 		// Setting up language
+ 		putenv("LANGUAGE=" . $this->language . '.' . $this->charset );
+ 		putenv("LANG=" . $this->language . '.' . $this->charset );
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bacula-web.git/commitdiff/e6d218cb3aa1470d458edb1b6e0252dbe489bd64



More information about the pld-cvs-commit mailing list