6 * Template for constructing a hyperlink.
8 * The following variables are available in this template:
9 * + $uri - the target link location
11 * + $target - the location where the link should be opened
12 * (optional; may not be present)
13 * + $onclick - onClick JavaScript handler (optional; may not be present)
14 * + $class - CSS class name (optional; may not be present)
15 * + $id - ID name (optional; may not be present)
17 * @copyright © 1999-2006 The SquirrelMail Project Team
18 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
20 * @package squirrelmail
21 * @subpackage templates
25 // retrieve the template vars
30 ?><a href="<?php echo $uri ?>"<?php if (!empty($target)) echo ' target="' . $target . '"'; ?><?php if (!empty($onclick)) echo ' onclick="' . $onclick . '"'; ?><?php if (!empty($class)) echo ' class="' . $class . '"'; ?><?php if (!empty($id)) echo ' id="' . $id . '"'; ?>><?php echo $text; ?></a>