PHP Classes

File: plugins/html_inputbox/plugin.php

Recommend this page to a friend!
  Classes of P. Krijnberg   Expose template engine   plugins/html_inputbox/plugin.php   Download  
File: plugins/html_inputbox/plugin.php
Role: Auxiliary script
Content type: text/plain
Description: Inputbox plugin
Class: Expose template engine
Template compiler engine extensible with plug-ins
Author: By
Last change: role
Date: 18 years ago
Size: 412 bytes
 

Contents

Class file image Download
<?php
function expose_plugin_html_inputbox( & $expose, $params )
{
   
$params = exposeMergeParameters( $params, array(
       
'name' => '',
       
'value' => '',
       
'attr' => ''
   
) );
   
   
$name = htmlentities( $params['name'] );
   
$value = htmlentities( $params['value'] );
    echo(
"<input type=\"text\" name=\"$name\" value=\"$value\" {$params['attr']}>" );
}
?>