cms_yesno

   Purpose

This is a simple plugin used in form generation to create a set of options for a <select> representing a yes/no choice.

This plugin will generate translated yes/no options, with the proper selected value..

   Available parameters

  • selected - (optional integer) - either 0 (no) or 1 (yes)

   Example

<select name="{$actionid}opt">{cms_yesno selected=$opt}</select>