Location: PHPKode > projects > Stickleback > stickleback-1.10.0/stickleback/plugins/sbgui/guirender/sbgui_TextareaViewlet.render.php
<?php

/**
 *
 * Copyright (c) 2007 Yahoo! Inc.  All rights reserved.
 * The copyrights embodied in the content of this file are licensed under the BSD
 * open source license
 *
**/

$fullname = $viewlet->getName();
$label = $viewlet->getLabel();
$id = $viewlet->getDomId();
?>
<div class="sb-textarea">
    <?php
    if ( ! empty( $label ) ) {
    ?>
    <label for="<?php print $id ?>"><?php print $label ?></label>
    <?php } ?>
    <textarea id="<?php print $id ?>" name="<?php print $fullname ?>" rows="3" cols="40"><?php print $viewlet->getValue() ?></textarea>
</div>
Return current item: Stickleback