Browse Source

plugins/mail, mailto: update icons

Andrew Dolgov 1 year ago
parent
commit
bc2d40009b
2 changed files with 4 additions and 6 deletions
  1. 2 3
      plugins/mail/init.php
  2. 2 3
      plugins/mailto/init.php

+ 2 - 3
plugins/mail/init.php

@@ -71,10 +71,9 @@ class Mail extends Plugin {
 	}
 
 	function hook_article_button($line) {
-		return "<img src=\"plugins/mail/mail.png\"
-					class='tagsPic' style=\"cursor : pointer\"
+		return "<i class='material-icons' style=\"cursor : pointer\"
 					onclick=\"Plugins.Mail.send(".$line["id"].")\"
-					alt='Zoom' title='".__('Forward by email')."'>";
+					title='".__('Forward by email')."'>mail</i>";
 	}
 
 	function emailArticle() {

+ 2 - 3
plugins/mailto/init.php

@@ -19,10 +19,9 @@ class MailTo extends Plugin {
 	}
 
 	function hook_article_button($line) {
-		return "<img src=\"plugins/mailto/mail.png\"
-					class='tagsPic' style=\"cursor : pointer\"
+		return "<i class='material-icons' style=\"cursor : pointer\"
 					onclick=\"Plugins.Mailto.send(".$line["id"].")\"
-					alt='Zoom' title='".__('Forward by email')."'>";
+					title='".__('Forward by email')."'>mail_outline</i>";
 	}
 
 	function emailArticle() {