|
@@ -11,6 +11,7 @@
|
|
* + $target - the location where the link should be opened
|
|
* + $target - the location where the link should be opened
|
|
* (optional; may not be present)
|
|
* (optional; may not be present)
|
|
* + $onclick - onClick JavaScript handler (optional; may not be present)
|
|
* + $onclick - onClick JavaScript handler (optional; may not be present)
|
|
|
|
+ * + $class - CSS class name (optional; may not be present)
|
|
*
|
|
*
|
|
* @copyright © 1999-2006 The SquirrelMail Project Team
|
|
* @copyright © 1999-2006 The SquirrelMail Project Team
|
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
|
@@ -25,4 +26,4 @@
|
|
extract($t);
|
|
extract($t);
|
|
|
|
|
|
|
|
|
|
-?><a href="<?php echo $uri ?>"<?php if (!empty($target)) echo ' target="' . $target . '"'; ?><?php if (!empty($onclick)) echo ' onclick="' . $onclick . '"'; ?>><?php echo $text; ?></a>
|
|
|
|
|
|
+?><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 echo $text; ?></a>
|