summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rwxr-xr-xclasses/article.php1
-rwxr-xr-xclasses/feeds.php13
-rw-r--r--classes/pref/prefs.php8
-rw-r--r--classes/pref/users.php2
4 files changed, 10 insertions, 14 deletions
diff --git a/classes/article.php b/classes/article.php
index 248dcdb9e..e5c98b2c5 100755
--- a/classes/article.php
+++ b/classes/article.php
@@ -770,7 +770,6 @@ class Article extends Handler_Protected {
$rv['content'] .= " ";
$rv['content'] .= "<a target='_blank' rel='noopener noreferrer' href='" . htmlspecialchars($tmp_line['feed_url']) . "'>";
- $rv['content'] .= "<img title='".__('Feed URL')."' class='tinyFeedIcon' src='images/pub_set.png'></a>";
$rv['content'] .= "</div>";
}
diff --git a/classes/feeds.php b/classes/feeds.php
index a5cd05a46..0edd99abb 100755
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -35,7 +35,7 @@ class Feeds extends Handler_Protected {
$reply .= "<a href=\"#\"
title=\"".__("Show as feed")."\"
onclick=\"App.displayDlg('".__("Show as feed")."','generatedFeed', '$feed_id:$is_cat:$rss_link')\">
- <img src=\"images/pub_set.png\"></a>";
+ <i class='icon-syndicate material-icons'>rss_feed</i></a>";
$reply .= "<span id='feed_title' class='$error_class'>";
@@ -296,13 +296,11 @@ class Feeds extends Handler_Protected {
++$num_unread;
}
- $marked_pic_src = $line["marked"] ? "mark_set.png" : "mark_unset.png";
$class .= $line["marked"] ? " marked" : "";
- $marked_pic = "<img src=\"images/$marked_pic_src\" class=\"marked-pic marked-$id\" onclick='Headlines.toggleMark($id)'>";
+ $marked_pic = "<i class=\"marked-pic marked-$id material-icons\" onclick='Headlines.toggleMark($id)'>star</i>";
- $published_pic_src = $line["published"] ? "pub_set.png" : "pub_unset.png";
$class .= $line["published"] ? " published" : "";
- $published_pic = "<img src=\"images/$published_pic_src\" class=\"pub-pic pub-$id\" onclick='Headlines.togglePub($id)'>";
+ $published_pic = "<i class=\"pub-pic pub-$id material-icons\" onclick='Headlines.togglePub($id)'>rss_feed</i>";
$updated_fmt = make_local_datetime($line["updated"], false, false, false, true);
$date_entered_fmt = T_sprintf("Imported at %s",
@@ -332,7 +330,7 @@ class Feeds extends Handler_Protected {
if (feeds::feedHasIcon($feed_id)) {
$feed_icon_img = "<img class=\"tinyFeedIcon\" src=\"".ICONS_URL."/$feed_id.ico\" alt=\"\">";
} else {
- $feed_icon_img = "<img class=\"tinyFeedIcon\" src=\"images/pub_set.png\" alt=\"\">";
+ $feed_icon_img = "<i class='icon-syndicate material-icons'>rss_feed</i>";
}
$entry_site_url = $line["site_url"];
@@ -468,7 +466,7 @@ class Feeds extends Handler_Protected {
id=\"RROW-$id\" data-content=\"$content_encoded\" data-article-id='$id' data-orig-feed-id='$feed_id' $mouseover_attrs>";
$tmp_content .= "<div class=\"header\">";
- $tmp_content .= "<div class=\"buttons\">";
+ $tmp_content .= "<div class=\"left\">";
$tmp_content .= "<input dojoType=\"dijit.form.CheckBox\"
type=\"checkbox\" onclick=\"Headlines.onRowChecked(this)\"
@@ -576,7 +574,6 @@ class Feeds extends Handler_Protected {
$tmp_content .= "&nbsp;";
$tmp_content .= "<a target='_blank' rel='noopener noreferrer' href='" . htmlspecialchars($tmp_line['feed_url']) . "'>";
- $tmp_content .= "<img title='".__('Feed URL')."'class='tinyFeedIcon' src='images/pub_unset.png'></a>";
$tmp_content .= "</div>";
}
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php
index 5a42884c7..af827af58 100644
--- a/classes/pref/prefs.php
+++ b/classes/pref/prefs.php
@@ -746,9 +746,9 @@ class Pref_Prefs extends Handler_Protected {
dojoType=\"dijit.form.CheckBox\" $checked
type=\"checkbox\"></td>";
- $plugin_icon = $checked ? "plugin.png" : "plugin_disabled.png";
+ $icon_class = $checked ? "plugin-enabled" : "plugin-disabled";
- print "<td><label><img src='images/$plugin_icon' alt=''> $name</label></td>";
+ print "<td><label><i class='material-icons $icon_class'>extension</i> $name</label></td>";
print "<td>" . htmlspecialchars($about[1]);
if (@$about[4]) {
print " &mdash; <a target=\"_blank\" rel=\"noopener noreferrer\" class=\"visibleLink\"
@@ -801,13 +801,13 @@ class Pref_Prefs extends Handler_Protected {
print "<tr class='$rowclass'>";
- $plugin_icon = $checked ? "plugin.png" : "plugin_disabled.png";
+ $icon_class = $checked ? "plugin-enabled" : "plugin-disabled";
print "<td align='center'><input id='FPCHK-$name' name='plugins[]' value='$name' onclick='Tables.onRowChecked(this);'
dojoType=\"dijit.form.CheckBox\" $checked $disabled
type=\"checkbox\"></td>";
- print "<td><label for='FPCHK-$name'><img src='images/$plugin_icon' alt=''> $name</label></td>";
+ print "<td><label for='FPCHK-$name'><i class='material-icons $icon_class'>extension</i> $name</label></td>";
print "<td><label for='FPCHK-$name'>" . htmlspecialchars($about[1]) . "</label>";
if (@$about[4]) {
print " &mdash; <a target=\"_blank\" rel=\"noopener noreferrer\" class=\"visibleLink\"
diff --git a/classes/pref/users.php b/classes/pref/users.php
index 9a9feac92..4ad0841bf 100644
--- a/classes/pref/users.php
+++ b/classes/pref/users.php
@@ -422,7 +422,7 @@ class Pref_Users extends Handler_Protected {
print "<td align='center'><input onclick='Tables.onRowChecked(this); event.stopPropagation();'
dojoType=\"dijit.form.CheckBox\" type=\"checkbox\"></td>";
- print "<td title='".__('Click to edit')."'><img src='images/user.png' class='marked-pic' alt=''> " . $line["login"] . "</td>";
+ print "<td title='".__('Click to edit')."'><i class='material-icons'>portrait</i> " . $line["login"] . "</td>";
print "<td>" . $access_level_names[$line["access_level"]] . "</td>";
print "<td>" . $line["num_feeds"] . "</td>";