Browse Source

Minor spacing fix

pdontthink 17 năm trước cách đây
mục cha
commit
4a76899c55
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      functions/options.php

+ 2 - 1
functions/options.php

@@ -451,7 +451,8 @@ class SquirrelOption {
                 $width = 25;
         }
 
-        return addInput('new_' . $this->name, $this->value, $width, 0, $this->aExtraAttribs) . htmlspecialchars($this->trailing_text); 
+//TODO: might be better to have a separate template file for all widgets, because then the layout of the widget and the "trailing text" can be customized - they are still hard coded here
+        return addInput('new_' . $this->name, $this->value, $width, 0, $this->aExtraAttribs) . ' ' . htmlspecialchars($this->trailing_text);
     }
 
     /**