Changeset 801 for trunk/Modules/FrontPage
- Timestamp:
- Mar 31, 2014, 9:10:41 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/FrontPage/FrontPage.php
r796 r801 136 136 if(isset($_GET['Action'])) 137 137 { 138 if($_GET['Action'] == 'HideWelcome') $_COOKIE['HideWelcome'] = 1; 139 if($_GET['Action'] == 'UnHideWelcome') $_COOKIE['HideWelcome'] = 0; 138 if($_GET['Action'] == 'HideWelcome') 139 { 140 $_COOKIE['HideWelcome'] = 1; 141 setcookie('HideWelcome', $_COOKIE['HideWelcome'], time() + 3600 * 24 * 365); 142 } 143 if($_GET['Action'] == 'UnHideWelcome') 144 { 145 $_COOKIE['HideWelcome'] = 0; 146 setcookie('HideWelcome', $_COOKIE['HideWelcome'], time() + 3600 * 24 * 365); 147 } 140 148 } 141 setcookie('HideWelcome', $_COOKIE['HideWelcome'], time() + 3600 * 24 * 365);142 149 143 150 if(isset($_COOKIE['HideWelcome']) and ($_COOKIE['HideWelcome'] == 1))
Note:
See TracChangeset
for help on using the changeset viewer.