diff --git a/libs/plugins/function.html_image.php b/libs/plugins/function.html_image.php
index e23981a5..7d9239e9 100644
--- a/libs/plugins/function.html_image.php
+++ b/libs/plugins/function.html_image.php
@@ -15,14 +15,13 @@
* Purpose: format HTML tags for the image
* Input:
* - file = file (and path) of image (required)
- * - border = border width (optional, default 0)
* - height = image height (optional, default actual height)
* - image =image width (optional, default actual width)
* - basedir = base directory for absolute paths, default
* is environment variable DOCUMENT_ROOT
*
* Examples: {html_image file="images/masthead.gif"}
- * Output:
+ * Output:
* @link http://smarty.php.net/manual/en/language.function.html.image.php {html_image}
* (Smarty online manual)
* @author Monte Ohrt
@@ -40,7 +39,6 @@ function smarty_function_html_image($params, &$smarty)
$alt = '';
$file = '';
- $border = 0;
$height = '';
$width = '';
$extra = '';
@@ -51,7 +49,6 @@ function smarty_function_html_image($params, &$smarty)
foreach($params as $_key => $_val) {
switch($_key) {
case 'file':
- case 'border':
case 'height':
case 'width':
case 'dpi':
@@ -134,7 +131,7 @@ function smarty_function_html_image($params, &$smarty)
$height = round($height * $_resize);
}
- return $prefix . '
' . $suffix;
+ return $prefix . '
' . $suffix;
}
/* vim: set expandtab: */