-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelp.php
More file actions
332 lines (302 loc) · 13.8 KB
/
help.php
File metadata and controls
332 lines (302 loc) · 13.8 KB
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
<?php
// Include required files
require_once 'includes/config.php';
require_once 'includes/file_utils.php';
require_once 'includes/session_manager.php';
require_once 'includes/breadcrumbs.php';
require_once 'includes/template_functions.php';
require_once 'includes/utils.php';
// Initialize session
$status = initializeSession();
$statusMessage = $status['statusMessage'];
$statusType = $status['statusType'];
// Get current directory for breadcrumb
$baseDir = BASE_DIR;
// Set page title
$pageTitle = 'Help - Zen File Manager';
$breadcrumbLinks = ['help.php' => 'Help'];
// Include header
include 'includes/layout/header.php';
?>
<div class="page-content">
<div class="content-section">
<h2><i class="fas fa-question-circle"></i> Help & Documentation</h2>
<div class="content-card">
<div class="card-header">
<h3>Getting Started</h3>
</div>
<div class="card-body">
<p>Welcome to the Zen File Manager help section. This guide will walk you through the various features and operations available in the file manager.</p>
<div class="help-toc">
<h4>Quick Navigation</h4>
<ul>
<li><a href="#navigation">Basic Navigation</a></li>
<li><a href="#file-operations">File Operations</a></li>
<li><a href="#upload-download">Uploading & Downloading</a></li>
<li><a href="#view-extract">Viewing & Extracting</a></li>
<li><a href="#bulk-operations">Bulk Operations</a></li>
<li><a href="#troubleshooting">Troubleshooting</a></li>
</ul>
</div>
</div>
</div>
<div id="navigation" class="content-card">
<div class="card-header">
<h3>Basic Navigation</h3>
</div>
<div class="card-body">
<div class="help-item">
<div class="help-icon">
<i class="fas fa-folder-open"></i>
</div>
<div class="help-content">
<h4>Opening Folders</h4>
<p>Click on any folder to navigate into it. You can also double-click on folder cards.</p>
<div class="help-tip">
<i class="fas fa-lightbulb"></i>
<p>Tip: Folders are represented with a folder icon and indicate "Directory" in their description.</p>
</div>
</div>
</div>
<div class="help-item">
<div class="help-icon">
<i class="fas fa-home"></i>
</div>
<div class="help-content">
<h4>Returning to Home</h4>
<p>Click on the "Home" link in the breadcrumb navigation at the top to return to the root directory.</p>
</div>
</div>
<div class="help-item">
<div class="help-icon">
<i class="fas fa-level-up-alt"></i>
</div>
<div class="help-content">
<h4>Going Up a Directory</h4>
<p>When browsing subdirectories, use the "Parent Directory" option to move up one level in the directory hierarchy.</p>
</div>
</div>
<div class="help-item">
<div class="help-icon">
<i class="fas fa-search"></i>
</div>
<div class="help-content">
<h4>Searching for Files</h4>
<p>Use the search box to filter files and folders in the current directory. The search happens in real-time as you type.</p>
</div>
</div>
</div>
</div>
<div id="file-operations" class="content-card">
<div class="card-header">
<h3>File Operations</h3>
</div>
<div class="card-body">
<div class="help-item">
<div class="help-icon">
<i class="fas fa-file"></i>
</div>
<div class="help-content">
<h4>Creating New Files</h4>
<p>Click the "New File" button, enter a name for your file in the popup modal, and click "Create".</p>
<div class="help-tip">
<i class="fas fa-lightbulb"></i>
<p>Tip: Include the file extension when creating a new file (e.g., "document.txt").</p>
</div>
</div>
</div>
<div class="help-item">
<div class="help-icon">
<i class="fas fa-folder-plus"></i>
</div>
<div class="help-content">
<h4>Creating New Folders</h4>
<p>Click the "New Folder" button, enter a name for your folder in the popup modal, and click "Create".</p>
</div>
</div>
<div class="help-item">
<div class="help-icon">
<i class="fas fa-edit"></i>
</div>
<div class="help-content">
<h4>Renaming Files and Folders</h4>
<p>Click the pencil icon on any file or folder, enter the new name in the popup modal, and click "Rename".</p>
</div>
</div>
<div class="help-item">
<div class="help-icon">
<i class="fas fa-trash"></i>
</div>
<div class="help-content">
<h4>Deleting Files and Folders</h4>
<p>Click the trash icon on any file or folder. You'll be asked to confirm before deletion.</p>
<div class="help-warning">
<i class="fas fa-exclamation-triangle"></i>
<p>Warning: Deleting folders will remove all contents within them. This action cannot be undone.</p>
</div>
</div>
</div>
</div>
</div>
<div id="upload-download" class="content-card">
<div class="card-header">
<h3>Uploading & Downloading</h3>
</div>
<div class="card-body">
<div class="help-item">
<div class="help-icon">
<i class="fas fa-upload"></i>
</div>
<div class="help-content">
<h4>Uploading Files</h4>
<p>Click the "Choose File" button in the upload section, select a file from your device, and click "Upload".</p>
<div class="help-tip">
<i class="fas fa-lightbulb"></i>
<p>Tip: Make sure you have navigated to the correct directory before uploading.</p>
</div>
</div>
</div>
<div class="help-item">
<div class="help-icon">
<i class="fas fa-download"></i>
</div>
<div class="help-content">
<h4>Downloading Files</h4>
<p>Click the download icon on any file to download it to your device.</p>
</div>
</div>
</div>
</div>
<div id="view-extract" class="content-card">
<div class="card-header">
<h3>Viewing & Extracting</h3>
</div>
<div class="card-body">
<div class="help-item">
<div class="help-icon">
<i class="fas fa-eye"></i>
</div>
<div class="help-content">
<h4>Viewing Files</h4>
<p>Click the eye icon on supported file types to view their contents directly in the browser.</p>
<div class="help-tip">
<i class="fas fa-lightbulb"></i>
<p>Tip: Text files, code files, and some document formats can be viewed in the browser.</p>
</div>
</div>
</div>
<div class="help-item">
<div class="help-icon">
<i class="fas fa-code"></i>
</div>
<div class="help-content">
<h4>Code Viewing</h4>
<p>Click the code icon on code files to view their source with proper formatting.</p>
</div>
</div>
<div class="help-item">
<div class="help-icon">
<i class="fas fa-box-open"></i>
</div>
<div class="help-content">
<h4>Extracting ZIP Files</h4>
<p>Click the extraction icon on ZIP files to extract their contents to the current directory.</p>
<div class="help-tip">
<i class="fas fa-lightbulb"></i>
<p>Tip: A new folder will be created with the same name as the ZIP file.</p>
</div>
</div>
</div>
</div>
</div>
<div id="bulk-operations" class="content-card">
<div class="card-header">
<h3>Bulk Operations</h3>
</div>
<div class="card-body">
<div class="help-item">
<div class="help-icon">
<i class="fas fa-copy"></i>
</div>
<div class="help-content">
<h4>Copying Multiple Files</h4>
<p>Click "File Operations" to enter selection mode, select the files/folders you want to copy, and click "Copy".</p>
</div>
</div>
<div class="help-item">
<div class="help-icon">
<i class="fas fa-cut"></i>
</div>
<div class="help-content">
<h4>Moving Multiple Files</h4>
<p>Click "File Operations" to enter selection mode, select the files/folders you want to move, and click "Cut".</p>
</div>
</div>
<div class="help-item">
<div class="help-icon">
<i class="fas fa-paste"></i>
</div>
<div class="help-content">
<h4>Pasting Files</h4>
<p>After copying or cutting files, navigate to the destination folder and click "Paste Here".</p>
<div class="help-tip">
<i class="fas fa-lightbulb"></i>
<p>Tip: The copy buffer is maintained until you clear it or perform a cut-and-paste operation.</p>
</div>
</div>
</div>
</div>
</div>
<div id="troubleshooting" class="content-card">
<div class="card-header">
<h3>Troubleshooting</h3>
</div>
<div class="card-body">
<div class="help-item">
<div class="help-icon">
<i class="fas fa-exclamation-circle"></i>
</div>
<div class="help-content">
<h4>Upload Errors</h4>
<p>If you cannot upload files, check that:</p>
<ul class="help-list">
<li>The file size is within your server's allowed limits</li>
<li>You have write permissions in the current directory</li>
<li>There's enough disk space available</li>
</ul>
</div>
</div>
<div class="help-item">
<div class="help-icon">
<i class="fas fa-lock"></i>
</div>
<div class="help-content">
<h4>Permission Issues</h4>
<p>If you cannot create, delete, or modify files and folders, it may be due to file system permissions. Contact your server administrator for assistance.</p>
</div>
</div>
<div class="help-item">
<div class="help-icon">
<i class="fas fa-bug"></i>
</div>
<div class="help-content">
<h4>Reporting Bugs</h4>
<p>If you encounter any bugs or unexpected behavior, please report them on our <a href="https://github.com/sculptorofcode/zen-file-manager/issues" target="_blank" class="link">GitHub Issues page</a>.</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="action-button">
<a href="index.php" class="btn btn-primary">
<i class="fas fa-arrow-left"></i> Back to File Manager
</a>
</div>
<?php include 'includes/layout/footer.php'; ?>
</div>
</div>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/main.js"></script>
</body>
</html>