From: Elan Ruusamäe Date: Thu, 24 Jan 2013 17:24:46 +0000 (+0200) Subject: fix use of system {t} modifier X-Git-Tag: auto/th/bacula-web-5.2.11-1~1 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=e6d218cb3aa1470d458edb1b6e0252dbe489bd64;p=packages%2Fbacula-web.git fix use of system {t} modifier --- 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 );