forked from junstor/memadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
executable file
·56 lines (37 loc) · 1.19 KB
/
config.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
<?php
if (!defined('IN_MADM')) exit();
$config['user'] = "admin"; // your username
$config['passwd'] = "admin"; // your password
// set the font and font-size in different languages
function set_font($t) {
if ($t == 'body') {
if ($_SESSION["MADM_SESSION_KEY"]['lang'] == 'zh-cn') {
echo "font:'Courier New',Arial,sans-serif;font-size:13px;";
} else {
echo "font:'Courier New',Arial,sans-serif;font-size:13px;";
}
}
if ($t == 'title') {
if ($_SESSION["MADM_SESSION_KEY"]['lang'] == 'zh-cn') {
echo "font:'Courier New',Arial,sans-serif;font-size:20px;font-weight:bold;";
} else {
echo "font:'Courier New',Arial,sans-serif;font-size:20px;font-weight:bold";
}
}
if ($t == 'h1') {
if ($_SESSION["MADM_SESSION_KEY"]['lang'] == 'zh-cn') {
echo "font:'Courier New',Arial,sans-serif;font-size:14px;";
} else {
echo "font:'Courier New',Arial,sans-serif;font-size:14px;";
}
}
if ($t == 'menu') {
if ($_SESSION["MADM_SESSION_KEY"]['lang'] == 'zh-cn') {
echo "font:'Courier New',Arial,sans-serif;font-size:14px;";
} else {
echo "font:'Courier New',Arial,sans-serif;font-size:14px;";
}
}
}
$config['version'] = "1.0.12"; // MemAdmin version
?>