Skip to content

Commit 6c6ce0b

Browse files
committed
open folder fix
1 parent 134fc84 commit 6c6ce0b

File tree

7 files changed

+14
-11
lines changed

7 files changed

+14
-11
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### v2.2.5
2+
- open folder fix
3+
14
### v2.2.4
25
- Change to http POST
36

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"role": "Developer"
1313
}
1414
],
15-
"version": "2.2.4",
15+
"version": "2.2.5",
1616
"repositories": [
1717
{
1818
"type": "composer",

skins/elastic/plugin.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
}
176176
#bookmarks li label {
177177
background: url(images/folder-horizontal.png) 12px 0 no-repeat;
178-
cursor: pointer;
178+
/* cursor: pointer; */
179179
display: block;
180180
padding-left: 35px;
181181
}

skins/elastic/plugin.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

syncmarks.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/**
22
* Roundcube Bookmarks Plugin
33
*
4-
* @version 2.2.4
4+
* @version 2.2.5
55
* @author Offerel
6-
* @copyright Copyright (c) 2020, Offerel
6+
* @copyright Copyright (c) 2021, Offerel
77
* @license GNU General Public License, version 3
88
*/
99
function h_del(t, o, format) {

syncmarks.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

syncmarks.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
/**
33
* Roundcube Bookmarks Plugin
44
*
5-
* @version 2.2.4
5+
* @version 2.2.5
66
* @author Offerel
7-
* @copyright Copyright (c) 2020, Offerel
7+
* @copyright Copyright (c) 2021, Offerel
88
* @license GNU General Public License, version 3
99
*/
1010
class syncmarks extends rcube_plugin
@@ -464,8 +464,8 @@ function parseHTMLMarks($bookmarks, $bdate, $button, $format='html') {
464464
$bookmarks = preg_replace("/<DD>[^>]*?</i", "<", $bookmarks);
465465
$bookmarks = preg_replace("/<DT><H3 [^>]*? PERSONAL_TOOLBAR_FOLDER=\"true\">(.+?)<\/H3>/is", "</ol><H1>$1</H1>", $bookmarks);
466466
$bookmarks = preg_replace("/<DT><H3 [^>]*? UNFILED_BOOKMARKS_FOLDER=\"true\">(.+?)<\/H3>/is", "<H1>$1</H1>", $bookmarks);
467-
$bookmarks = preg_replace("/<H1>(.+?)<\/H1>/is", "<li>\n<label for=\"$1\">$1</label><input type=\"checkbox\" id=\"$1\">", $bookmarks);
468-
$bookmarks = preg_replace("/<DT><H3\s(.+?)>(.+?)<\/H3>/is", "<li><label for=\"$2\">$2</label><input type=\"checkbox\" id=\"$2\">", $bookmarks);
467+
$bookmarks = preg_replace("/<H1>(.+?)<\/H1>/is", "<li>\n<label for=''>$1</label><input type=\"checkbox\" id=\"$1\">", $bookmarks);
468+
$bookmarks = preg_replace("/<DT><H3\s(.+?)>(.+?)<\/H3>/is", "<li><label for=''>$2</label><input type=\"checkbox\" id=\"$2\">", $bookmarks);
469469
$bookmarks = str_replace("<DT><A HREF=","<li class=\"file\"><A onContextMenu=\"h_del(event, this, '$format');\" target='_blank' HREF=",$bookmarks);
470470
$bookmarks = str_replace("</A>","</A></li>",$bookmarks);
471471
$bookmarks = preg_replace("/<A (.+?)>(.+?)<\/A>/is", "<a title=\"$2\" $1>$2</a>", $bookmarks);

0 commit comments

Comments
 (0)