/*************************************
Title:Hesk Help Desk
Version: 2.2
Author:
Demo:
Download:
Website: http://www.support.itswebsites.com
Short description:
*************************************/
In previous versions, I had two different headers (one English, one Spanish).
header-esp.html
header-eng.html
Now, one version controls both languages.
For Spanish, I am including the header this way:
nclude_once('header-esp.html');
How I do to display the English header when in English language?
header-eng.html
The site:
http://www.support.itswebsites.com
Thanks in advance.
How to use two headers - English and Spanish?
Moderator: mkoch227
Something like
For this to work you need to call it after the code.
Code: Select all
if ($hesk_settings['language'] == 'English')
{
include('english_header');
}
else
{
include('spanish_header');
}
Code: Select all
require(HESK_PATH . 'inc/common.inc.php');
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
You are great! Thanks
You are great! Thanks a lot. It worked fine.