diff options
author | Andrew Dolgov <[email protected]> | 2018-12-01 22:39:29 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-01 22:39:29 +0300 |
commit | 1e2d4410d320fcee644add76293f229741a163cb (patch) | |
tree | 11228eaba3165f1ef5503c7ffa23e577d1fc886b /classes/pref/feeds.php | |
parent | 4b492cc93ef2a15a4d5dfe51d38164884464d1a9 (diff) |
move some more shared stuff to CommonDialogs, Filters, and Utils
Diffstat (limited to 'classes/pref/feeds.php')
-rwxr-xr-x | classes/pref/feeds.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php index c061243ee..2184a0b42 100755 --- a/classes/pref/feeds.php +++ b/classes/pref/feeds.php @@ -765,7 +765,7 @@ class Pref_Feeds extends Handler_Protected { print "<div class='dlgButtons'> <div style=\"float : left\"> - <button class=\"btn-danger\" dojoType=\"dijit.form.Button\" onclick='return unsubscribeFeed($feed_id, \"$title\")'>". + <button class=\"btn-danger\" dojoType=\"dijit.form.Button\" onclick='return CommonDialogs.unsubscribeFeed($feed_id, \"$title\")'>". __('Unsubscribe')."</button>"; print "</div>"; @@ -1247,7 +1247,7 @@ class Pref_Feeds extends Handler_Protected { var bare_id = id.substr(id.indexOf(':')+1); if (id.match('FEED:')) { - editFeed(bare_id); + CommonDialogs.editFeed(bare_id); } else if (id.match('CAT:')) { editCat(bare_id, item); } @@ -1441,7 +1441,7 @@ class Pref_Feeds extends Handler_Protected { print "<a class=\"visibleLink\" href=\"#\" ". "title=\"".__("Click to edit feed")."\" ". - "onclick=\"editFeed(".$line["id"].")\">". + "onclick=\"CommonDialogs.editFeed(".$line["id"].")\">". htmlspecialchars($line["title"])."</a>"; print "</td><td class=\"insensitive\" align='right'>"; @@ -1506,7 +1506,7 @@ class Pref_Feeds extends Handler_Protected { print "<a class=\"visibleLink\" href=\"#\" ". "title=\"".__("Click to edit feed")."\" ". - "onclick=\"editFeed(".$line["id"].")\">". + "onclick=\"CommonDialogs.editFeed(".$line["id"].")\">". htmlspecialchars($line["title"])."</a>: "; print "<span class=\"insensitive\">"; |