forked from unraid/webgui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHelpButton.page
More file actions
28 lines (28 loc) · 777 Bytes
/
HelpButton.page
File metadata and controls
28 lines (28 loc) · 777 Bytes
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
Menu="Buttons"
Title="Help"
Icon="icon-u-help"
Code="e934"
---
<?PHP
/* Copyright 2005-2018, Lime Technology
* Copyright 2012-2018, Bergware International.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*/
?>
<script>
function HelpButton() {
if ($('#nav-item.HelpButton').toggleClass('active').hasClass('active')) {
$('.inline_help').show('slow');
$.cookie('help','help',{path:'/'});
} else {
$('.inline_help').hide('slow');
$.removeCookie('help',{path:'/'});
}
}
</script>