From b34f642b2a4ef4b97141b6e9040d8c9b367b8f98 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 9 May 2003 16:27:09 +0000 Subject: [PATCH] setlanguage function is called on load --- lam/templates/lists/listgroups.php | 2 ++ lam/templates/lists/listhosts.php | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lam/templates/lists/listgroups.php b/lam/templates/lists/listgroups.php index 6e9eb22c..50053d23 100644 --- a/lam/templates/lists/listgroups.php +++ b/lam/templates/lists/listgroups.php @@ -30,6 +30,8 @@ include_once ("../../lib/status.inc"); session_save_path("../../sess"); @session_start(); +setlanguage(); + // get sorting column when register_globals is off $list = $_GET['list']; diff --git a/lam/templates/lists/listhosts.php b/lam/templates/lists/listhosts.php index 34bc2605..f96e88bc 100644 --- a/lam/templates/lists/listhosts.php +++ b/lam/templates/lists/listhosts.php @@ -9,18 +9,18 @@ $Id$ it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more detaexils. - + You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA This code displays a list of all Samba hosts. - + */ include_once ("../../lib/config.inc"); include_once ("../../lib/ldap.inc"); @@ -30,6 +30,8 @@ include_once ("../../lib/status.inc"); session_save_path("../../sess"); @session_start(); +setlanguage(); + // get sorting column when register_globals is off $list = $_GET['list'];