Browse Source

Minor spacing fix

pdontthink 16 years ago
parent
commit
4a76899c55
1 changed files with 2 additions and 1 deletions
  1. 2 1
      functions/options.php

+ 2 - 1
functions/options.php

@@ -451,7 +451,8 @@ class SquirrelOption {
                 $width = 25;
                 $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);
     }
     }
 
 
     /**
     /**