Changeset 3646:1c6a535772c8
- Timestamp:
- 01/08/18 11:11:34 (6 years ago)
- Branch:
- default
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
r3644 r3646 1 Dotclear 2.13 - yyyy-mm-dd1 Dotclear 2.13 - 2018-01-13 2 2 =========================================================== 3 3 * 🐘 PHP 5.5+ is required … … 15 15 * Fix: Error messages markup and styling 16 16 * Fix: Set caret at the end of the inserted thing (img, url, blockquote, …) in Legacy editor if current selection is empty 17 * Fix: Cope with query part only in SimpleMenu URLs 17 18 * 🐛 → Various bugs and typos fixed 18 19 * 🌼 → Some locales and cosmetic adjustments -
plugins/simpleMenu/_public.php
r3600 r3646 101 101 $href = html::escapeHTML($href); 102 102 103 # Cope with request only URL (ie ?query_part) 104 $href_part = ''; 105 if ($href != '' && substr($href,0,1) == '?') { 106 $href_part = substr($href,1); 107 } 108 103 109 $targetBlank = ((isset($m['targetBlank'])) && ($m['targetBlank']))? true:false; 104 110 … … 108 114 ($abs_url == $href) || 109 115 ($_SERVER['URL_REQUEST_PART'] == $href) || 116 (($href_part != '') && ($_SERVER['URL_REQUEST_PART'] == $href_part)) || 110 117 (($_SERVER['URL_REQUEST_PART'] == '') && (($href == $home_url) || ($href == $home_directory)))) { 111 118 $active = true;
Note: See TracChangeset
for help on using the changeset viewer.