]> git.wh0rd.org Git - tt-rss.git/commitdiff
remove sign_* from init params
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 21 Mar 2013 17:49:52 +0000 (21:49 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 21 Mar 2013 17:49:52 +0000 (21:49 +0400)
include/functions.php
js/functions.js

index aa5575548f64c431d38b6e38222ce471b0de047d..535d476740ab3fee376da01452b0b13903a25699 100644 (file)
        function make_init_params($link) {
                $params = array();
 
-               $params["sign_progress"] = "images/indicator_white.gif";
-               $params["sign_progress_tiny"] = "images/indicator_tiny.gif";
-               $params["sign_excl"] = "images/sign_excl.svg";
-               $params["sign_info"] = "images/sign_info.svg";
-
                foreach (array("ON_CATCHUP_SHOW_NEXT_FEED", "HIDE_READ_FEEDS",
                        "ENABLE_FEED_CATS", "FEEDS_SORT_BY_UNREAD", "CONFIRM_FEED_CATCHUP",
                        "CDM_AUTO_CATCHUP", "FRESH_ARTICLE_MAX_AGE", "DEFAULT_ARTICLE_LIMIT",
index 4840bcbe11be33818ba5bcdc5dbadb52f5dfa98e..db4fedcd52aa1f10d76bd2f513f29fca371c78f0 100644 (file)
@@ -201,13 +201,13 @@ function notify_real(msg, no_hide, n_type) {
                n.className = "notify";
        } else if (n_type == 2) {
                n.className = "notifyProgress";
-               msg = "<img src='"+getInitParam("sign_progress")+"'> " + msg;
+               msg = "<img src='images/indicator_white.gif'> " + msg;
        } else if (n_type == 3) {
                n.className = "notifyError";
-               msg = "<img src='"+getInitParam("sign_excl")+"'> " + msg;
+               msg = "<img src='images/sign_excl.svg'> " + msg;
        } else if (n_type == 4) {
                n.className = "notifyInfo";
-               msg = "<img src='"+getInitParam("sign_info")+"'> " + msg;
+               msg = "<img src='images/sign_info.svg'> " + msg;
        }
 
 //     msg = "<img src='images/live_com_loading.gif'> " + msg;