14 defined(
'XOOPS_ROOT_PATH') or die('Restricted access');
50 $this->setName( $name );
51 $this->setValue( $value );
52 $this->_type = ( !empty(
$type ) ) ?
$type :
'submit';
53 $this->_showDelete = $showDelete;
55 $this->setExtra( $onclick );
57 $this->setExtra(
'' );
77 $this->_value = $value;
97 if ( $this->_showDelete ) {
98 $ret .=
'<input type="submit" class="formbutton" name="delete" id="delete" value="' .
_DELETE .
'" onclick="this.form.elements.op.value=\'delete\'"> ';
100 $ret .=
'<input type="button" value="' .
_CANCEL .
'" onClick="history.go(-1);return true;" /> <input type="reset" class="formbutton" name="reset" id="reset" value="' .
_RESET .
'" /> <input type="' . $this->getType() .
'" class="formbutton" name="' . $this->getName() .
'" id="' . $this->getName() .
'" value="' . $this->getValue() .
'"' . $this->getExtra() .
' />';