From e0b6391e945a8aeb556fa73b04235eb36d99d434 Mon Sep 17 00:00:00 2001
From: NBonline <NBonline@ispconfig3>
Date: Wed, 21 Dec 2005 17:21:32 -0500
Subject: [PATCH] Updated SWE lng

---
 interface/lib/app.inc.php |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/interface/lib/app.inc.php b/interface/lib/app.inc.php
index 9bf8af7..70d1c74 100644
--- a/interface/lib/app.inc.php
+++ b/interface/lib/app.inc.php
@@ -144,7 +144,7 @@
         if($this->_language_inc != 1) {
             // loading global and module Wordbook
             @include_once($conf["rootpath"]."/lib/lang/".$_SESSION["s"]["language"].".lng");
-            @include_once($conf["rootpath"]."/web/".$_SESSION["s"]["module"]["name"]."/lib/lang/".$_SESSION["s"]["language"].".lng"); 
+            @include_once($conf["rootpath"]."/web/".$_SESSION["s"]["module"]["name"]."/lib/lang/".$_SESSION["s"]["language"].".lng");
             $this->_wb = $wb;
             $this->_language_inc = 1;
         }
@@ -162,6 +162,13 @@
                 $this->tpl->setVar('theme',$_SESSION["s"]["theme"]);
                 $this->tpl->setVar('phpsessid',session_id());
                 $this->tpl->setVar('html_content_encoding',$conf["html_content_encoding"]);
+                if($conf["logo"] != '' && @is_file($conf["logo"])){
+                  $this->tpl->setVar('logo', '<img src="'.$conf["logo"].'" border="0" alt="">');
+                } else {
+                  $this->tpl->setVar('logo', '&nbsp;');
+                }
+                $this->tpl->setVar('app_title',$conf["app_title"]);
+                $this->tpl->setVar('delete_confirmation',$this->lng('delete_confirmation'));
 
           }
 

--
Gitblit v1.9.1