Option in config.php for using an icon for editkey after combobox.
[fa-stable.git] / includes / ui / ui_lists.inc
index d83a4703bc3bbea540a966230f086413135b8aba..91722536b7931b3aab1c842d41f7df768bb0f215 100644 (file)
@@ -419,8 +419,10 @@ function _format_add_curr($row)
 
 function add_edit_combo($type)
 {
-       global $path_to_root, $popup_editors;
+       global $path_to_root, $popup_editors, $use_icon_for_editkey;
 
+       if (!isset($use_icon_for_editkey) || $use_icon_for_editkey==0)
+               return "";
        // Derive theme path
        $theme_path = $path_to_root . '/themes/' . user_theme();