-
Notifications
You must be signed in to change notification settings - Fork 0
/
help.php
157 lines (140 loc) · 5.43 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<?php
$lan_file = e_PLUGIN."ytm_gallery/languages/".e_LANGUAGE.".php";
require_once(file_exists($lan_file) ? $lan_file : e_PLUGIN."ytm_gallery/languages/English.php");
// Get the admin page
$urlparts = explode("/", e_SELF);
foreach($urlparts as $part) {$get_part = $part;}
$last_part = $get_part;
// Display the help for Main
if ($last_part == "admin_config.php") {
/*$text .= "<b>" . LAN_YTM_PREFS_28 . "</b>";
$text .= "<br />";
$text .= LAN_YTM_HELP_8;
$text .= "<br /><br />"; */
$text .= "<b>" . LAN_YTM_PREFS_17 . "</b>";
$text .= "<br />";
$text .= LAN_YTM_HELP_9;
$text .= "<br /><br />";
$text .= "<b>" . LAN_YTM_PREFS_44 . "</b>";
$text .= "<br />";
$text .= LAN_YTM_PREFS_45;
$text .= "<br /><br />";
$text .= "<b>" . LAN_YTM_PREFS_46 . "</b>";
$text .= "<br />";
$text .= LAN_YTM_PREFS_48;
$text .= "<br /><br />";
$text .= "<b>" . LAN_YTM_PREFS_18 . "</b>";
$text .= "<br />";
$text .= LAN_YTM_HELP_10;
$text .= "<br /><br />";
$text .= "<b>" . LAN_YTM_PREFS_19 . "</b>";
$text .= "<br />";
$text .= "" . LAN_YTM_HELP_11 . " " . LAN_YTM_PREFS_26 . "";
$text .= "<br /><br />";
$text .= "<b>" . LAN_YTM_PREFS_20 . "</b>";
$text .= "<br />";
$text .= "" . LAN_YTM_HELP_12 . " " . LAN_YTM_PREFS_27 . "";
$text .= "<br /><br />";
$text .= "<b>" . LAN_YTM_PREFS_8 . "</b>";
$text .= "<br />";
$text .= LAN_YTM_HELP_13;
}
// Display the help for Categories
elseif ($last_part == "admin_config_category.php") {
$text .= "<b>" . LAN_YTM_CAT_PREFS_0 . "</b>";
$text .= "<br />";
$text .= LAN_YTM_HELP_28;
$text .= "<br /><br />";
$text .= "<img src='". e_IMAGE_ABS . "admin_images/edit_16.png' border='0' />" . LAN_YTM_HELP_29 . "</a>";
$text .= "<br />";
$text .= "<img src='". e_IMAGE_ABS . "admin_images/delete_16.png' border='0' />" . LAN_YTM_HELP_30 . "</a>";
$text .= "<br />";
}
// Display the help for Movie Database
elseif ($last_part == "admin_config_movie.php") {
$text .= "<b>" . LAN_YTM_MOVIE_PREFS_8 . "</b>";
$text .= "<br />";
$text .= LAN_YTM_HELP_1;
$text .= "<br /><br />";
$text .= "<b>" . LAN_YTM_MOVIE_PREFS_0 . "</b>";
$text .= "<br />";
$text .= "<img src='".e_PLUGIN."ytm_gallery/images/help_active.gif' border='0' />" . LAN_YTM_HELP_2 . "</a>";
$text .= "<br />";
$text .= "<img src='". e_PLUGIN . "ytm_gallery/images/content_16.png' border='0' />" . LAN_YTM_HELP_3 . "</a>";
$text .= "<br />";
$text .= "<img src='". e_IMAGE_ABS . "admin_images/edit_16.png' border='0' />" . LAN_YTM_HELP_4 . "</a>";
$text .= "<br />";
$text .= "<img src='". e_IMAGE_ABS . "admin_images/delete_16.png' border='0' />" . LAN_YTM_HELP_5 . "</a>";
$text .= "<br />";
$text .= "<img src='".e_PLUGIN."ytm_gallery/images/checkbox.gif' border='0' />" . LAN_YTM_HELP_6 . "</a>";
$text .= "<br /><br />" . LAN_YTM_HELP_15 . "";
$text .= "<br /><br />" . LAN_YTM_HELP_7 . "";
$text .= "<br /><br />" . LAN_YTM_HELP_14 . "";
}
// Display the help for Submitted
elseif ($last_part == "admin_config_submit.php") {
$text .= "<b>" . LAN_YTM_SUBM_PREFS_0 . "</b>";
$text .= "<br />";
$text .= "<img src='". e_PLUGIN . "ytm_gallery/images/content_16.png' border='0' />" . LAN_YTM_HELP_3 . "</a>";
$text .= "<br />";
$text .= "<img src='".e_PLUGIN."ytm_gallery/images/approve.gif' border='0' />" . LAN_YTM_HELP_16 . "</a>";
$text .= "<br />";
$text .= "<img src='". e_IMAGE_ABS . "admin_images/delete_16.png' border='0' />" . LAN_YTM_HELP_5 . "</a>";
$text .= "<br />";
$text .= "<img src='".e_PLUGIN."ytm_gallery/images/checkbox.gif' border='0' />" . LAN_YTM_HELP_6 . "</a>";
$text .= "<br /><br />" . LAN_YTM_HELP_15 . "";
$text .= "<br /><br />" . LAN_YTM_HELP_17 . "";
$text .= "<br /><br />" . LAN_YTM_HELP_14 . "";
}
// Display the help for Import Movies
elseif ($last_part == "admin_config_import.php") {
$text .= "<b>" . LAN_YTM_HELP_18 . "</b>";
$text .= "<br />";
$text .= LAN_YTM_HELP_19;
$text .= "<br /><br />";
$text .= LAN_YTM_HELP_20;
$text .= "<br /><br />";
$text .= LAN_YTM_HELP_21;
$text .= "<br /><br />";
$text .= LAN_YTM_HELP_22;
$text .= "<br /><br />";
$text .= "<b>" . LAN_YTM_HELP_23 . "</b>";
$text .= "<br />";
$text .= LAN_YTM_HELP_24;
$text .= "<br /><br />";
$text .= "<b>" . LAN_YTM_HELP_25. "</b>";
$text .= "<br />";
$text .= LAN_YTM_HELP_26;
$text .= "<br /><br />";
$text .= "<img src='". e_PLUGIN . "ytm_gallery/images/content_16.png' border='0' />" . LAN_YTM_HELP_3 . "</a>";
$text .= "<br />";
$text .= "<img src='".e_PLUGIN."ytm_gallery/images/approve.gif' border='0' />" . LAN_YTM_HELP_27 . "</a>";
$text .= "<br />";
$text .= "<img src='". e_IMAGE_ABS . "admin_images/delete_16.png' border='0' />" . LAN_YTM_HELP_5 . "</a>";
$text .= "<br />";
$text .= "<img src='".e_PLUGIN."ytm_gallery/images/checkbox.gif' border='0' />" . LAN_YTM_HELP_6 . "</a>";
}
// Display the help for Readme
elseif ($last_part == "admin_readme.php") {
$text .= "<b>" . LAN_YTM_PLUGIN . "</b>";
$text .= "<br />";
$text .= "" . LAN_YTM_HELP_32 . " " . LAN_YTM_PLUGIN_0 . ".";
$text .= "<br /><br />";
}
// Display the help for Update Check
elseif ($last_part == "admin_check_update.php") {
$text .= "<b>" . LAN_YTM_HELP_40 . "</b>";
$text .= "<br />";
$text .= LAN_YTM_HELP_41;
}
// Display the help for Radstake News
elseif ($last_part == "admin_news.php") {
$text .= "<b>" . LAN_YTM_HELP_42 . "</b>";
$text .= "<br />";
$text .= LAN_YTM_HELP_43;
}
// Display message if something goes wrong
else {$text .= LAN_YTM_HELP_0;
}
$ns -> tablerender(LAN_YTM_HELP, $text);
?>