Changeset 525
- Timestamp:
- 10/20/08 20:40:23 (15 years ago)
- google:author:
- digimag
- Location:
- plugins/arlequin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/arlequin/CHANGELOG
r496 r525 1 2008-10-18 Oleksandr Syenchuk <sacha@xn--phnix-csa.net> 2 3 * v2008.10 - Removed theme parameter from URL 4 5 1 6 2008-08-21 Oleksandr Syenchuk <sacha@xn--phnix-csa.net> 2 7 -
plugins/arlequin/_define.php
r496 r525 20 20 /* Description*/ 'Allows visitors choose a theme', 21 21 /* Author */ 'Oleksandr Syenchuk', 22 /* Version */ '2008. 08-r1',22 /* Version */ '2008.10', 23 23 /* Permissions */ 'contentadmin' 24 24 ); -
plugins/arlequin/_public.php
r496 r525 41 41 42 42 # Redirect if needed 43 if (!empty($_SERVER['HTTP_REFERER']) 44 && strpos($_SERVER['HTTP_REFERER'],$blog->url) === 0 45 && !preg_match('#(&|\?)theme=#',$_SERVER['HTTP_REFERER'])) { 46 http::redirect($_SERVER['HTTP_REFERER']); 43 if (isset($_GET['theme'])) { 44 $p = '/(\?|&)theme(=.*)?$/'; 45 http::redirect(preg_replace($p,'',http::getSelfURI())); 47 46 } 48 47
Note: See TracChangeset
for help on using the changeset viewer.