Clarifying a TODO.
[squirrelmail.git] / templates / default / textarea.tpl
index b4efb5b97d6ca9ffcffb6079d076037e5e1648df..5176af5c610b26b8ca54249da7ccf006602a0550 100644 (file)
@@ -16,7 +16,7 @@
   *                    in double quotes as attribute values (optional;
   *                    may not be present)
   *
-  * @copyright © 1999-2006 The SquirrelMail Project Team
+  * @copyright © 1999-2009 The SquirrelMail Project Team
   * @license http://opensource.org/licenses/gpl-license.php GNU Public License
   * @version $Id$
   * @package squirrelmail
 //
 extract($t);
 
-
-if (isset($aAttribs['id'])) {
-    $label_open = '<label for="' . $aAttribs['id'] . '">';
-    $label_close = '</label>';
-} else {
-    $label_open = '';
-    $label_close = '';
-}
-
-
 echo '<textarea name="' . $name . '" rows="' . $rows . '" cols="' . $cols . '"';
 foreach ($aAttribs as $key => $value) {
     echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"');
 }
-echo '>' . $label_open . $text . $label_close . "</textarea>\n";
+echo '>' . $text . "</textarea>\n";