forked from egbot/Symbiota
-
Notifications
You must be signed in to change notification settings - Fork 52
/
index_template.php
59 lines (59 loc) · 1.63 KB
/
index_template.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
include_once('config/symbini.php');
if($LANG_TAG == 'en' || !file_exists($SERVER_ROOT.'/content/lang/templates/index.'.$LANG_TAG.'.php')) include_once($SERVER_ROOT.'/content/lang/templates/index.en.php');
else include_once($SERVER_ROOT.'/content/lang/templates/index.'.$LANG_TAG.'.php');
header('Content-Type: text/html; charset=' . $CHARSET);
?>
<!DOCTYPE html>
<html lang="<?php echo $LANG_TAG ?>">
<head>
<title><?php echo $DEFAULT_TITLE; ?> Home</title>
<?php
include_once($SERVER_ROOT . '/includes/head.php');
include_once($SERVER_ROOT . '/includes/googleanalytics.php');
?>
</head>
<body>
<?php
include($SERVER_ROOT . '/includes/header.php');
?>
<div class="navpath"></div>
<main id="innertext">
<h1 class="page-heading"><?php echo $DEFAULT_TITLE; ?> Home</h1>
<?php
if($LANG_TAG == 'es'){
?>
<div>
<h1 class="headline">Bienvenidos</h1>
<p>Este portal de datos se ha establecido para promover la colaboración... Reemplazar con texto introductorio en inglés</p>
</div>
<?php
}
elseif($LANG_TAG == 'fr'){
?>
<div>
<h1 class="headline">Bienvenue</h1>
<p>Ce portail de données a été créé pour promouvoir la collaboration... Remplacer par le texte d'introduction en anglais</p>
</div>
<?php
}
else{
//Default Language
?>
<div>
<h1>Welcome</h1>
<p>
This data portal has been established to promote collaborative... Replace
with introductory text in English. If the portal is not meant to be
multilingual, remove the unneeded language sections
</p>
</div>
<?php
}
?>
</main>
<?php
include($SERVER_ROOT . '/includes/footer.php');
?>
</body>
</html>