mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
integrate silk icons by Mark James
This commit is contained in:
@@ -74,7 +74,7 @@ class Feeds extends Handler_Protected {
|
||||
<a href=\"#\"
|
||||
title=\"".__("View as RSS feed")."\"
|
||||
onclick=\"displayDlg('".__("View as RSS")."','generatedFeed', '$feed_id:$is_cat:$rss_link')\">
|
||||
<img class=\"noborder\" style=\"vertical-align : middle\" src=\"images/pub_set.svg\"></a>";
|
||||
<img class=\"noborder\" style=\"vertical-align : middle\" src=\"images/pub_set.png\"></a>";
|
||||
|
||||
$reply .= "</span>";
|
||||
|
||||
@@ -323,24 +323,24 @@ class Feeds extends Handler_Protected {
|
||||
|
||||
if (sql_bool_to_bool($line["marked"])) {
|
||||
$marked_pic = "<img
|
||||
src=\"images/mark_set.svg\"
|
||||
src=\"images/mark_set.png\"
|
||||
class=\"markedPic\" alt=\"Unstar article\"
|
||||
onclick='toggleMark($id)'>";
|
||||
$class .= " marked";
|
||||
} else {
|
||||
$marked_pic = "<img
|
||||
src=\"images/mark_unset.svg\"
|
||||
src=\"images/mark_unset.png\"
|
||||
class=\"markedPic\" alt=\"Star article\"
|
||||
onclick='toggleMark($id)'>";
|
||||
}
|
||||
|
||||
if (sql_bool_to_bool($line["published"])) {
|
||||
$published_pic = "<img src=\"images/pub_set.svg\"
|
||||
$published_pic = "<img src=\"images/pub_set.png\"
|
||||
class=\"pubPic\"
|
||||
alt=\"Unpublish article\" onclick='togglePub($id)'>";
|
||||
$class .= " published";
|
||||
} else {
|
||||
$published_pic = "<img src=\"images/pub_unset.svg\"
|
||||
$published_pic = "<img src=\"images/pub_unset.png\"
|
||||
class=\"pubPic\"
|
||||
alt=\"Publish article\" onclick='togglePub($id)'>";
|
||||
}
|
||||
@@ -395,7 +395,7 @@ class Feeds extends Handler_Protected {
|
||||
if ($has_feed_icon) {
|
||||
$feed_icon_img = "<img class=\"tinyFeedIcon\" src=\"".ICONS_URL."/$feed_id.ico\" alt=\"\">";
|
||||
} else {
|
||||
$feed_icon_img = "<img class=\"tinyFeedIcon\" src=\"images/pub_set.svg\" alt=\"\">";
|
||||
$feed_icon_img = "<img class=\"tinyFeedIcon\" src=\"images/pub_set.png\" alt=\"\">";
|
||||
}
|
||||
|
||||
$entry_site_url = $line["site_url"];
|
||||
@@ -638,7 +638,7 @@ class Feeds extends Handler_Protected {
|
||||
$reply['content'] .= " ";
|
||||
|
||||
$reply['content'] .= "<a target='_blank' href='" . htmlspecialchars($tmp_line['feed_url']) . "'>";
|
||||
$reply['content'] .= "<img title='".__('Feed URL')."'class='tinyFeedIcon' src='images/pub_unset.svg'></a>";
|
||||
$reply['content'] .= "<img title='".__('Feed URL')."'class='tinyFeedIcon' src='images/pub_unset.png'></a>";
|
||||
|
||||
$reply['content'] .= "</div>";
|
||||
}
|
||||
|
||||
@@ -765,7 +765,9 @@ class Pref_Prefs extends Handler_Protected {
|
||||
dojoType=\"dijit.form.CheckBox\" $checked
|
||||
type=\"checkbox\"></td>";
|
||||
|
||||
print "<td>$name</td>";
|
||||
$plugin_icon = $checked ? "plugin.png" : "plugin_disabled.png";
|
||||
|
||||
print "<td><img src='images/$plugin_icon' alt=''> $name</td>";
|
||||
print "<td>" . htmlspecialchars($about[1]);
|
||||
if (@$about[4]) {
|
||||
print " — <a target=\"_blank\" class=\"visibleLink\"
|
||||
@@ -818,11 +820,13 @@ class Pref_Prefs extends Handler_Protected {
|
||||
|
||||
print "<tr class='$rowclass'>";
|
||||
|
||||
$plugin_icon = $checked ? "plugin.png" : "plugin_disabled.png";
|
||||
|
||||
print "<td align='center'><input id='FPCHK-$name' name='plugins[]' value='$name' onclick='toggleSelectRow2(this);'
|
||||
dojoType=\"dijit.form.CheckBox\" $checked $disabled
|
||||
type=\"checkbox\"></td>";
|
||||
|
||||
print "<td><label for='FPCHK-$name'>$name</label></td>";
|
||||
print "<td><label for='FPCHK-$name'><img src='images/$plugin_icon' alt=''> $name</label></td>";
|
||||
print "<td><label for='FPCHK-$name'>" . htmlspecialchars($about[1]) . "</label>";
|
||||
if (@$about[4]) {
|
||||
print " — <a target=\"_blank\" class=\"visibleLink\"
|
||||
|
||||
@@ -418,7 +418,7 @@ class Pref_Users extends Handler_Protected {
|
||||
|
||||
$onclick = "onclick='editUser($uid, event)' title='".__('Click to edit')."'";
|
||||
|
||||
print "<td $onclick>" . $line["login"] . "</td>";
|
||||
print "<td $onclick><img src='images/user.png' class='markedPic' alt=''> " . $line["login"] . "</td>";
|
||||
|
||||
if (!$line["email"]) $line["email"] = " ";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user