forked from zedzedtop/mailzu
-
Notifications
You must be signed in to change notification settings - Fork 7
/
help.php
87 lines (77 loc) · 1.97 KB
/
help.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?php
/**
* This is the pop-up help file for the system
* This function simply prints out an HTML help file for
* users to reference
*
* @author Gergely Nagy <[email protected]>
* @version 2021-11-08
* @package mailzu-ng
*
* Copyright (C) 2021 mailzu-ng
* License: GPL, see LICENSE
*/
include_once('config/config.php');
global $languages;
global $lang;
global $charset;
if (file_exists('css.css')) {
$path = '';
}
echo "<?xml version=\"1.0\" encoding=\"$charset\"?" . ">\n";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $languages[$lang][2] ?>"
lang="<?= $languages[$lang][2] ?>">
<head>
<title>MailZu <?php echo translate('Help') ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset ?>"/>
<style type="text/css">
<!--
li {
font-size: 12px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
}
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
margin-top: 5px;
margin-right: 5px;
margin-bottom: 5px;
margin-left: 5px;
background-color: #F0F0F0;
}
p {
font-size: 12px;
margin-left: 25px;
margin-top: 3px;
}
h5 {
margin-left: 10px;
}
a {
color: #104E8B;
}
a:hover {
color: #474747;
}
-->
</style>
<style type="text/css">
@import url("<?php echo $path; ?>css.css?v=<?php echo md5_file($path.'css.css'); ?>");
</style>
</head>
<body>
<?php
$help_file = 'lang/' . $languages[$lang][2] . '.help.php';
if (file_exists($help_file)) {
include_once($help_file);
} else {
include_once('lang/en.help.php');
}
?>
</body>
</html>