mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 16:33:00 +00:00
Add title to remove cross on watchlist page
This commit is contained in:
parent
ab179e4e83
commit
f06c37c561
2 changed files with 2 additions and 2 deletions
|
@ -195,7 +195,7 @@
|
|||
"version": "0.1",
|
||||
"author": "Starbeamrainbowlabs",
|
||||
"description": "Adds per-user watchlists. When a page on a user's watchlist is edited, a notification email is sent.",
|
||||
"lastupdate": 1577132588,
|
||||
"lastupdate": 1577141571,
|
||||
"optional": false,
|
||||
"extra_data": []
|
||||
},
|
||||
|
|
|
@ -61,7 +61,7 @@ register_module([
|
|||
if(!empty($watchlist)) {
|
||||
$content .= "<ul class='page-list watchlist'>\n";
|
||||
foreach($watchlist as $pagename) {
|
||||
$content .= "<li><a href='?action=watchlist-edit&page=".rawurlencode($pagename)."&do=remove&returnto=".rawurlencode("?action=watchlist&success=yes")."'>❌</a> <a href='?page=".rawurlencode($pagename)."'>".htmlentities($pagename)."</a></li>";
|
||||
$content .= "<li><a href='?action=watchlist-edit&page=".rawurlencode($pagename)."&do=remove&returnto=".rawurlencode("?action=watchlist&success=yes")."' title='Remove from watchlist'>❌</a> <a href='?page=".rawurlencode($pagename)."'>".htmlentities($pagename)."</a></li>";
|
||||
}
|
||||
$content .= "</ul>";
|
||||
$content .= "<p>You can also <a href='?action=watchlist-edit&do=clear&returnto=".rawurlencode("?action=watchlist")."'>clear your entire list</a> and start again.</p>";
|
||||
|
|
Loading…
Reference in a new issue