]> git.wh0rd.org - tt-rss.git/blobdiff - modules/pref-labels.php
rework pref-feeds dialog; update other pref panes
[tt-rss.git] / modules / pref-labels.php
index e683ab6154491206b56f9c1a09bd7f4fed9daae5..c794e023ecd7d3ce635e9d4316169dd950e9a7e2 100644 (file)
 
                                if (label_create($link, $caption)) {
                                        if (!$output) {
-                                               print T_sprintf("Created label <b>%s</b>", htmlspecialchars($caption));
+                                               //print T_sprintf("Created label <b>%s</b>", htmlspecialchars($caption));
                                        }
                                }
 
 
                print "<div style='float : right; padding-right : 4px'>
                        <input id=\"label_search\" size=\"20\" type=\"search\"
+                               dojoType=\"dijit.form.TextBox\"
                                onfocus=\"javascript:disableHotkeys();\" 
                                onblur=\"javascript:enableHotkeys();\"
                                onchange=\"javascript:updateLabelList()\" value=\"$label_search\">
-                       <button onclick=\"javascript:updateLabelList()\">".__('Search')."</button>
+                       <button dojoType=\"dijit.form.Button\" onclick=\"javascript:updateLabelList()\">".__('Search')."</button>
                        </div>";
 
-               print"<button onclick=\"return addLabel()\">".
-                       __('Create label')."</button> ";
+               print"<button dojoType=\"dijit.form.Button\" onclick=\"return addLabel()\">".
+                       __('Create label')."</button dojoType=\"dijit.form.Button\"> ";
 
-               print "<button onclick=\"removeSelectedLabels()\">".
-                       __('Remove')."</button> ";
+               print "<button dojoType=\"dijit.form.Button\" onclick=\"removeSelectedLabels()\">".
+                       __('Remove')."</button dojoType=\"dijit.form.Button\"> ";
 
-               print "<button onclick=\"labelColorReset()\">".
-                       __('Clear colors')."</button>";
+               print "<button dojoType=\"dijit.form.Button\" onclick=\"labelColorReset()\">".
+                       __('Clear colors')."</button dojoType=\"dijit.form.Button\">";
 
 
                print "</div>"; #toolbar