[ Index ]
 

Code source de CMS made simple 1.0.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/smarty/plugins/ -> function.html_image.php (sommaire)

Smarty plugin

Poids: 142 lignes (5 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 fonction

  smarty_function_html_image()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

smarty_function_html_image($params, &$smarty)   X-Ref
Smarty {html_image} function plugin

Type:     function<br>
Name:     html_image<br>
Date:     Feb 24, 2003<br>
Purpose:  format HTML tags for the image<br>
Input:<br>
- file = file (and path) of image (required)
- height = image height (optional, default actual height)
- width = image width (optional, default actual width)
- basedir = base directory for absolute paths, default
is environment variable DOCUMENT_ROOT
- path_prefix = prefix for path output (optional, default empty)

Examples: {html_image file="/images/masthead.gif"}
Output:   <img src="/images/masthead.gif" width=400 height=23>
author: Monte Ohrt <monte at ohrt dot com>
author: credits to Duda <duda@big.hu> - wrote first image function
param: array
param: Smarty
return: string



Généré le : Tue Apr 3 18:50:37 2007 par Balluche grâce à PHPXref 0.7