Ver Fonte

Minor spacing fix

pdontthink há 16 anos atrás
pai
commit
4a76899c55
1 ficheiros alterados com 2 adições e 1 exclusões
  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);
     }
 
     /**