Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Docs for page function.pnbutton.php

Procedural File: function.pnbutton.php

Source Location: /pnRender/plugins/function.pnbutton.php

Classes:



Page Details:

Zikula Application Framework



Tags:

version:  $Id: function.pnbutton.php 24383 2008-06-12 14:15:02Z markwest $
copyright:  (c) 2004, Zikula Development Team
link:  http://www.zikula.org
license:  GNU/GPL








smarty_function_pnbutton [line 39]

string smarty_function_pnbutton( array $params, &$smarty, object $smarty)

Smarty function to display an image form submission button

BEWARE: Internt Explorer 6.x does NOT work especially well with <button> tags!

available parameters:

  • assign if set, the button will be assigned to this variable
  • type if set, the type of button that will be generated (default: submit)
  • mode if set, the type of HTML element to be used (default: <button>). Values = [button|input]
  • name if set, the name of button that will be generated (default: value of 'type' parameter)
  • value if set, the value of button that will be generated
  • id if set, the ID of button
  • class if set, the class of button
  • src image source name
  • set image set name
  • alt if set, the constant that will be used for the alt attribute
  • title if set, the constant that will be used for the title attribute
  • constants if false then both alt and title will be assumed to be the final strings not constants
  • gt if true assume that gettext translation should be looked up for alt and title




Tags:

return:  the version string
author:  Mark West
since:  17th Nov. 2005


Parameters

array   $params   All attributes passed to this function from the template
object   $smarty   Reference to the Smarty object
   &$smarty  
[ Top ]


Packages:

Files:

Classes: